正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -51,7 +51,7 @@ class RegisterController extends HomeBaseController | @@ -51,7 +51,7 @@ class RegisterController extends HomeBaseController | ||
51 | $token = $this->request->param('token'); | 51 | $token = $this->request->param('token'); |
52 | if(!empty($token)) { | 52 | if(!empty($token)) { |
53 | $channel = Db::name('Channel')->where(['token'=>$token,'delete_time'=>0])->find(); | 53 | $channel = Db::name('Channel')->where(['token'=>$token,'delete_time'=>0])->find(); |
54 | - if(!$channel) { | 54 | + if(!$channel || $channel['is_stop'] == 1) { |
55 | return $this->fetch(":close"); | 55 | return $this->fetch(":close"); |
56 | } | 56 | } |
57 | Session::set('channel',$channel['id']); | 57 | Session::set('channel',$channel['id']); |
-
请 注册 或 登录 后发表评论