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