作者 王智

修改

... ... @@ -421,13 +421,13 @@ class Common extends Api
$TuiMoney = $OrderSn['UpMoney'] + $OrderSn['Money'];
//配置
$config = [
'payment' => [
// 'payment' => [
'app_id' => 'wx6a9080f20326f817',
'merchant_id' => '1603658973',
'key' => '8695A8185xyzKcdEVfreewayShenzhen',
'cert_path' => '/home/wwwroot/fast/book/addons/epay/certs/apiclient_cert.pem', // XXX: 绝对路径!!!!
'key_path' => '/home/wwwroot/fast/book/addons/epay/certs/apiclient_key.pem', // XXX: 绝对路径!!!!
],
// ],
];
$app = Factory::officialAccount($config);
try {
... ...