新车修复
This commit is contained in:
@@ -358,7 +358,7 @@ class VehicleNewService extends BaseService
|
||||
$albumsourceFields
|
||||
);
|
||||
}
|
||||
VehicleNewAlbumModel::whereNotIn('id', $traitsId)->where('vehicle_id',$id)->delete();
|
||||
VehicleNewAlbumModel::whereNotIn('id', $albumsId)->where('vehicle_id',$id)->delete();
|
||||
|
||||
$contentsId = [];
|
||||
foreach ($contents as $content) {
|
||||
@@ -379,7 +379,7 @@ class VehicleNewService extends BaseService
|
||||
}
|
||||
} else {
|
||||
unset($content['id']);
|
||||
$content_res = $VehicleNewAskedService->create($content);
|
||||
$content_res = $VehicleNewContentService->create($content);
|
||||
if (!$content_res) {
|
||||
throw new BusinessException('提交失败:车辆介绍');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user