diff --git a/home/controllers/h5/market/sylive/Common.php b/home/controllers/h5/market/sylive/Common.php index c1d8d45b..2c1d7982 100644 --- a/home/controllers/h5/market/sylive/Common.php +++ b/home/controllers/h5/market/sylive/Common.php @@ -139,6 +139,9 @@ class Admin extends Common{ $this->uid = $row_wechat['userId']; $this->session = $_SESSION[self::SESSION_KEY] = ['uid' => $this->uid,'org_id'=>$row_wechat['organizationId']]; } + if(!$this->session['org_id']){ + header('Location:/h5/market/sylive/login');exit; + } return $this->$method(); } catch(Hd_exception $e){//处理异常 $msg = $e->getMessage();