作者 潘浩文
1 个管道 的构建 通过 耗费 0 秒

用户注册渲染

@@ -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 /**