edit-sylive-login
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user