作者 sgj
1 个管道 的构建 通过 耗费 0 秒

添加最新版本的easywechat

@@ -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