edit-api-auto_biz
This commit is contained in:
@@ -153,11 +153,8 @@ class Home extends Wxapp
|
||||
!$type && $type = 1;
|
||||
$brand_ids = array();
|
||||
if ($this->biz_id) {//查找门店授权品牌
|
||||
$re_b = $this->mdBiz->get(array('id' => $this->biz_id, 'status' => 1));
|
||||
if ($re_b['jsondata']) {
|
||||
$jsondata = json_decode($re_b['jsondata'], true);
|
||||
$jsondata['auto_brands'] && $brand_ids = $jsondata['auto_brands'];
|
||||
}
|
||||
$b_biz_rows = $this->auto_brand_biz_model->select(['biz_id'=>$this->biz_id],'','','','brand_id');
|
||||
$brand_ids = array_column($b_biz_rows,'brand_id');
|
||||
}
|
||||
$lists = array();
|
||||
$total = 0;
|
||||
|
||||
Reference in New Issue
Block a user