edit-api-licheb-biz_status
This commit is contained in:
@@ -97,7 +97,7 @@ class User extends Wxapp{
|
||||
//获取所属店铺字段
|
||||
$biz = $this->biz_model->get(['id'=>$biz_id,'status'=>1],'biz_name');
|
||||
//判断门店是否存在
|
||||
if(!$biz){
|
||||
if(!$biz && $this->session['group_id']<4){
|
||||
$this->logout();
|
||||
throw new Exception('门店不存在', API_CODE_FAIL);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user