application/index/controller/User.php
@@ -20,13 +20,20 @@ class User extends Frontend { protected $layout = ''; protected $noNeedLogin = ['login', 'register', 'getInvitationInfo','phoneIsRegister']; protected $noNeedLogin = ['login', 'register','register1', 'getInvitationInfo','phoneIsRegister']; protected $noNeedRight = ['*']; public function _initialize() { parent::_initialize(); } public function register1() { $this->assign('appName',config('site.name')); return $this->view->fetch(); } /** * 注册会员 */