From 5d05aaa58917ed56acd23ed2394d5c96905e0208 Mon Sep 17 00:00:00 2001 From: zhaojs <349234519@qq.com> Date: 星期二, 27 六月 2023 10:07:05 +0800 Subject: [PATCH] Merge branch 'hotfix/618修复' --- 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