edit-api-licheb-biz_status

This commit is contained in:
lccsw
2021-09-27 08:51:40 +08:00
parent d29c0e26bb
commit 24ae12c125
+1 -1
View File
@@ -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);
}