作者 刘朕
1 个管道 的构建 通过 耗费 0 秒

合并分支 '1iuzhen' 到 'master'

渠道关闭判断修改



查看合并请求 !85
@@ -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']);