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

4

@@ -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(){