修改微信v3支付参数描述

This commit is contained in:
邹景立 2021-04-07 09:43:49 +08:00
parent 049de7d325
commit 7197e5296e

View File

@ -1,17 +1,26 @@
<?php <?php
return [ $certPublic = <<<CERT
'appid' => '绑定的APPID',
'mch_id' => '您的商户编号',
'mch_v3_key' => '您的V3接口密码',
'cert_public' => <<<EOF
-----BEGIN CERTIFICATE----- -----BEGIN CERTIFICATE-----
您的证书内容 你的微信商户证书公钥内容
-----END CERTIFICATE----- -----END CERTIFICATE-----
EOF, CERT;
'cert_private' => <<<EOF
$certPrivate = <<<CERT
-----BEGIN PRIVATE KEY----- -----BEGIN PRIVATE KEY-----
您的证书内容 你的微信商户证书私钥内容
-----END PRIVATE KEY----- -----END PRIVATE KEY-----
EOF, CERT;
return [
// 商户绑定的公众号APPID
'appid' => '',
// 微信商户编号ID
'mch_id' => '',
// 微信商户V3接口密钥
'mch_v3_key' => '',
// 微信商户证书公钥,支持证书内容或文件路径
'cert_public' => $certPublic,
// 微信商户证书私钥,支持证书内容或文件路径
'cert_private' => $certPrivate,
]; ];