修复自有车辆上传bug
This commit is contained in:
parent
98965c99cf
commit
638cad7e97
@ -83,7 +83,11 @@ class VehicleController extends BaseApiController
|
|||||||
'company_name' => $params['company_name'],
|
'company_name' => $params['company_name'],
|
||||||
'company_user' => $params['company_user'],
|
'company_user' => $params['company_user'],
|
||||||
'company_phone' => $params['company_phone'],
|
'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){
|
if($vehicle->id && $vehicleRent->id){
|
||||||
Db::commit();
|
Db::commit();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user