正在显示
1 个修改的文件
包含
2 行增加
和
0 行删除
@@ -97,10 +97,12 @@ class AreaController extends RestBaseController | @@ -97,10 +97,12 @@ class AreaController extends RestBaseController | ||
97 | public function test(){ | 97 | public function test(){ |
98 | $appId=config('wechat_config.app_id'); | 98 | $appId=config('wechat_config.app_id'); |
99 | $secret=config('wechat_config.secret'); | 99 | $secret=config('wechat_config.secret'); |
100 | + | ||
100 | $config = [ | 101 | $config = [ |
101 | 'app_id' => $appId, | 102 | 'app_id' => $appId, |
102 | 'secret' => $secret, | 103 | 'secret' => $secret, |
103 | ]; | 104 | ]; |
105 | + dump($config); | ||
104 | $wechat=new Application($config); | 106 | $wechat=new Application($config); |
105 | $notice=$wechat->mini_program->notice; | 107 | $notice=$wechat->mini_program->notice; |
106 | 108 |
-
请 注册 或 登录 后发表评论