作者 王晓刚
1 个管道 的构建 通过 耗费 1 秒

权限调试

@@ -19,16 +19,7 @@ class Pay extends WechatBase @@ -19,16 +19,7 @@ class Pay extends WechatBase
19 function _initialize() 19 function _initialize()
20 { 20 {
21 parent::_initialize(); 21 parent::_initialize();
22 - $this->options = [  
23 - 'app_id' => 'wx8aa97c3f0b29accb',  
24 - 'secret' => '79d251389b78f3603e796a6f9b992cc2',  
25 - 'payment' => [  
26 - 'merchant_id' => '1559598041',  
27 - 'key' => 'JEV45KQewTHopscD9uQj0IBigQTtS2IF',  
28 - 'cert_path' => '../wechat/cert/apiclient_cert.pem', // XXX: 绝对路径!!!!  
29 - 'key_path' => '../wechat/cert/apiclient_key.pem', // XXX: 绝对路径!!!!  
30 - ]  
31 - ]; 22 + $this->options = config('wechat');
32 } 23 }
33 24
34 /** 25 /**