From a6c2b46b5dd910c6a10fe1bbb4bd102177ee95e2 Mon Sep 17 00:00:00 2001 From: zhaojs <349234519@qq.com> Date: 星期一, 03 七月 2023 09:44:48 +0800 Subject: [PATCH] no message --- application/index/controller/User.php | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/application/index/controller/User.php b/application/index/controller/User.php index 3a710f1..73a4d5f 100644 --- a/application/index/controller/User.php +++ b/application/index/controller/User.php @@ -20,7 +20,7 @@ class User extends Frontend { protected $layout = ''; - protected $noNeedLogin = ['login', 'register','register1', 'getInvitationInfo','phoneIsRegister']; + protected $noNeedLogin = ['login', 'registersms','register','register1', 'getInvitationInfo','phoneIsRegister']; protected $noNeedRight = ['*']; public function _initialize() @@ -44,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