正在显示
1 个修改的文件
包含
1 行增加
和
10 行删除
@@ -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 | /** |
-
请 注册 或 登录 后发表评论