This commit is contained in:
2026-01-05 18:24:29 +08:00
parent f806646bd4
commit eaf7150266
+3
View File
@@ -89,6 +89,9 @@ class UsedCarService
if(empty($data['images'])){
throw new BusinessException('产品图片不能为空');
}
if(empty($data['price'])){
$data['price'] = 0;
}
$data['user_id'] = $request->user['id'];
return $data;
}