正在显示
1 个修改的文件
包含
2 行增加
和
1 行删除
@@ -20,7 +20,9 @@ class RegisterController extends WeChatBaseController | @@ -20,7 +20,9 @@ class RegisterController extends WeChatBaseController | ||
20 | 20 | ||
21 | public function _initialize() | 21 | public function _initialize() |
22 | { | 22 | { |
23 | + parent::_initialize(); | ||
23 | $this->checkWeChatUserLogin(); | 24 | $this->checkWeChatUserLogin(); |
25 | + $this->is_login(); | ||
24 | } | 26 | } |
25 | 27 | ||
26 | /** | 28 | /** |
@@ -45,7 +47,6 @@ class RegisterController extends WeChatBaseController | @@ -45,7 +47,6 @@ class RegisterController extends WeChatBaseController | ||
45 | 47 | ||
46 | 48 | ||
47 | public function register(){ | 49 | public function register(){ |
48 | - $this->is_login(); | ||
49 | return $this->fetch(); | 50 | return $this->fetch(); |
50 | } | 51 | } |
51 | /** | 52 | /** |
-
请 注册 或 登录 后发表评论