...
|
...
|
@@ -51,7 +51,7 @@ class RegisterController extends HomeBaseController |
|
|
$token = $this->request->param('token');
|
|
|
if(!empty($token)) {
|
|
|
$channel = Db::name('Channel')->where(['token'=>$token,'delete_time'=>0])->find();
|
|
|
if(!$channel) {
|
|
|
if(!$channel || $channel['is_stop'] == 1) {
|
|
|
return $this->fetch(":close");
|
|
|
}
|
|
|
Session::set('channel',$channel['id']);
|
...
|
...
|
|