修改门店品牌修改后保存
This commit is contained in:
@@ -235,6 +235,8 @@ class Store extends HD_Controller
|
||||
return $this->show_json(SYS_CODE_FAIL, '添加失败');
|
||||
}
|
||||
if (is_array($car_brand_ids)) {
|
||||
$brandIds = implode(',',$car_brand_ids);
|
||||
$brandIds && $this->biz_car_brand_model->delete(['biz_id' => $id,'brand_id NOT IN('.$brandIds.')'=>null]);
|
||||
$carBrandData = [];
|
||||
foreach ($car_brand_ids as $item) {
|
||||
$carBrandData[] = [
|
||||
|
||||
Reference in New Issue
Block a user