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

添加最新版本的easywechat

@@ -15,6 +15,7 @@ use api\index\model\JoinModel; @@ -15,6 +15,7 @@ use api\index\model\JoinModel;
15 use api\index\model\VolunteerModel; 15 use api\index\model\VolunteerModel;
16 use api\index\model\UserModel; 16 use api\index\model\UserModel;
17 use cmf\controller\RestBaseController; 17 use cmf\controller\RestBaseController;
  18 +use EasyWeChat\Foundation\Application;
18 use think\Validate; 19 use think\Validate;
19 20
20 /** 21 /**
@@ -782,6 +783,7 @@ class MemberCenterController extends RestBaseController @@ -782,6 +783,7 @@ class MemberCenterController extends RestBaseController
782 'app_id' => $appId, 783 'app_id' => $appId,
783 'secret' => $secret, 784 'secret' => $secret,
784 ]; 785 ];
  786 +
785 $wechat=new Application($config); 787 $wechat=new Application($config);
786 $notice=$wechat->mini_program->notice; 788 $notice=$wechat->mini_program->notice;
787 try{ 789 try{