作者 王智

修改

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