正在显示
1 个修改的文件
包含
1 行增加
和
7 行删除
@@ -8,17 +8,11 @@ use think\Db; | @@ -8,17 +8,11 @@ use think\Db; | ||
8 | 8 | ||
9 | class WeixinController extends WeChatBaseController{ | 9 | class WeixinController extends WeChatBaseController{ |
10 | 10 | ||
11 | - /* protected $options; | ||
12 | public function _initialize() | 11 | public function _initialize() |
13 | { | 12 | { |
14 | parent::_initialize(); | 13 | parent::_initialize(); |
15 | $this->checkWeChatUserLogin(); | 14 | $this->checkWeChatUserLogin(); |
16 | - $this->options = [ | ||
17 | - 'app_id' => config('wechat_config.app_id'), | ||
18 | - 'secret' => config('wechat_config.secret'), | ||
19 | - | ||
20 | - ]; | ||
21 | - }*/ | 15 | + } |
22 | 16 | ||
23 | //显示首页 | 17 | //显示首页 |
24 | public function index(){ | 18 | public function index(){ |
-
请 注册 或 登录 后发表评论