修复自有车辆上传bug

This commit is contained in:
unknown 2023-09-08 17:52:22 +08:00
parent 98965c99cf
commit 638cad7e97

View File

@ -83,7 +83,11 @@ class VehicleController extends BaseApiController
'company_name' => $params['company_name'],
'company_user' => $params['company_user'],
'company_phone' => $params['company_phone'],
'create_time' => time()
'create_time' => time(),
'status' => 0,
'use_user_id' => 0,
'use_user_name' => '',
'use_user_phone' => ''
]);
if($vehicle->id && $vehicleRent->id){
Db::commit();