This commit is contained in:
2026-01-13 17:55:34 +08:00
parent 94c551591f
commit 411cd91f10
+5 -1
View File
@@ -94,7 +94,11 @@ class UsedCarService
if(empty($data['price'])){
$data['price'] = 0;
}
$data['attachment'] = json_encode($data['attachment']);
if(!empty($data['attachment'])){
$data['attachment'] = json_encode($data['attachment']);
}else{
$data['attachment'] = '';
}
$data['user_id'] = $request->user['id'];
return $data;
}