From ef469c51ef6fec8986164471afb8f44a7d39dbeb Mon Sep 17 00:00:00 2001 From: zhaojs <349234519@qq.com> Date: 星期四, 29 六月 2023 14:29:50 +0800 Subject: [PATCH] Merge tag '618修复' into develop --- application/index/controller/User.php | 19 ++++++++++++++++++- 1 files changed, 18 insertions(+), 1 deletions(-) diff --git a/application/index/controller/User.php b/application/index/controller/User.php index a41da55..73a4d5f 100644 --- a/application/index/controller/User.php +++ b/application/index/controller/User.php @@ -20,13 +20,20 @@ class User extends Frontend { protected $layout = ''; - protected $noNeedLogin = ['login', 'register', 'getInvitationInfo','phoneIsRegister']; + protected $noNeedLogin = ['login', 'registersms','register','register1', 'getInvitationInfo','phoneIsRegister']; protected $noNeedRight = ['*']; public function _initialize() { parent::_initialize(); } + + public function register1() + { + + $this->assign('appName',config('site.name')); + return $this->view->fetch(); + } /** * 娉ㄥ唽浼氬憳 */ @@ -37,6 +44,16 @@ return $this->view->fetch(); } + /** + * 娉ㄥ唽浼氬憳 + */ + public function registersms() + { + + $this->assign('appName',config('site.name')); + return $this->view->fetch(); + } + public function getInvitationInfo() { $invite_code = request()->param('code','','trim'); -- Gitblit v1.9.3