zhaojs
2023-06-29 ef469c51ef6fec8986164471afb8f44a7d39dbeb
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');