正在显示
1 个修改的文件
包含
4 行增加
和
3 行删除
@@ -19,9 +19,10 @@ class PayController extends HomeBaseController | @@ -19,9 +19,10 @@ class PayController extends HomeBaseController | ||
19 | { | 19 | { |
20 | parent::_initialize(); | 20 | parent::_initialize(); |
21 | $this->options = [ | 21 | $this->options = [ |
22 | - 'app_id' => config('wechat_config.app_id'), | ||
23 | - 'secret' => config('wechat_config.secret'), | ||
24 | - 'payment' => config('wechat_config.payment'), | 22 | + 'app_id' => config('app_id'), |
23 | + 'secret' => config('app_secret'), | ||
24 | + 'wx_mch_id' => config('wx_mch_id'), | ||
25 | + 'wx_pay_key' => config('wx_pay_key'), | ||
25 | ]; | 26 | ]; |
26 | } | 27 | } |
27 | 28 |
-
请 注册 或 登录 后发表评论