正在显示
1 个修改的文件
包含
4 行增加
和
0 行删除
@@ -59,6 +59,10 @@ class HomeBaseController extends BaseController | @@ -59,6 +59,10 @@ class HomeBaseController extends BaseController | ||
59 | } | 59 | } |
60 | } | 60 | } |
61 | } | 61 | } |
62 | + }else { | ||
63 | + if(Db::name('user')->where(['id'=>session('user.id')])->value('mobile') == null) { | ||
64 | + $this->redirect(url('index/Index/login')); | ||
65 | + } | ||
62 | } | 66 | } |
63 | }else { | 67 | }else { |
64 | $this->error('请从微信浏览器打开'); | 68 | $this->error('请从微信浏览器打开'); |
-
请 注册 或 登录 后发表评论