作者 何书鹏
1 个管道 的构建 通过 耗费 1 秒

证书

... ... @@ -7,7 +7,7 @@ return [
'mch_id' => '1602617440',
'key' => 'tNScKeAEhpSFU8nHiTR3luWddvAb1Llz',
// 如需使用敏感接口(如退款、发送红包等)需要配置 API 证书路径(登录商户平台下载 API 证书)
'cert_path' => 'path/to/your/cert.pem', // XXX: 绝对路径!!!!
'key_path' => 'path/to/your/key', // XXX: 绝对路径!!!!
'cert_path' => ROOT_PATH.'cert/apiclient_cert.pem', // XXX: 绝对路径!!!!
'key_path' => ROOT_PATH.'cert/apiclient_key.pem', // XXX: 绝对路径!!!!
'notify_url' => '默认的订单回调地址', // 你也可以在下单时单独设置来想覆盖它
];
\ No newline at end of file
... ...
-----BEGIN CERTIFICATE-----
MIID8DCCAtigAwIBAgIUHxtNSAxmX2P1EHlnY+yWcy2dkrEwDQYJKoZIhvcNAQEL
BQAwXjELMAkGA1UEBhMCQ04xEzARBgNVBAoTClRlbnBheS5jb20xHTAbBgNVBAsT
FFRlbnBheS5jb20gQ0EgQ2VudGVyMRswGQYDVQQDExJUZW5wYXkuY29tIFJvb3Qg
Q0EwHhcNMjAxMTEwMDUxOTQ2WhcNMjUxMTA5MDUxOTQ2WjCBgTETMBEGA1UEAwwK
MTYwMjYxNzQ0MDEbMBkGA1UECgwS5b6u5L+h5ZWG5oi357O757ufMS0wKwYDVQQL
DCTkuIrmtbfliJnpvpnkv6Hmga/np5HmioDmnInpmZDlhazlj7gxCzAJBgNVBAYM
AkNOMREwDwYDVQQHDAhTaGVuWmhlbjCCASIwDQYJKoZIhvcNAQEBBQADggEPADCC
AQoCggEBALfD4kfthP2BQHKWiRW9sDYWLRf+TNCsAVa76Bf/TcAcPutieW1eL4el
seHWF2B8tRJYDnW/qB1Tc/9BFUaDYaYnp1NRIhXNKweoRXCEQvLjsoZOnqG28hKZ
xmkF5UNyDgaI17vaVE3vidq+X3KLktcZQCQw9gXWS1j1DCqM5bEpVRD0o9+sv9dg
TnONISE/2To5x/XBR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