update
This commit is contained in:
parent
e1481db83d
commit
7b3ab8a065
@ -108,7 +108,7 @@ class IndexController extends BaseApiController
|
||||
//更新本地合同状态
|
||||
$updateLocalRes = Contract::where('id',$contract['id'])->update(['signing_timer'=>1]);
|
||||
//更新远程
|
||||
$updateSverRes =curl_post(env('project.website_domain').'/api/index/notifyVehicleContractUpdate',[],[
|
||||
$updateSverRes =curl_post(env('project.notify_domain').'/api/index/notifyVehicleContractUpdate',[],[
|
||||
'contract_logistic_id' => $contract['id'],
|
||||
'signing_timer' => 1,
|
||||
]);
|
||||
@ -134,12 +134,16 @@ class IndexController extends BaseApiController
|
||||
'company_user' => $contract['company_b_user'],
|
||||
'company_phone' => $contract['company_b_phone'],
|
||||
'create_time' => time(),
|
||||
'status' => 0
|
||||
'status' => 0,
|
||||
'use_user_id' => 0,
|
||||
'use_user_name' => '',
|
||||
'use_user_phone' => ''
|
||||
];
|
||||
}
|
||||
$vehicleRent = new VehicleRent();
|
||||
$vehicleRent -> saveAll($data);
|
||||
curl_post(env('project.website_domain').'/api/index/notifyVehicleContractUpdate',[],[
|
||||
//更新远程
|
||||
curl_post(env('project.notify_domain').'/api/index/notifyVehicleContractUpdate',[],[
|
||||
'contract_logistic_id' => $contract['id'],
|
||||
'signing_timer' => 2,
|
||||
'status' => 3
|
||||
|
Loading…
x
Reference in New Issue
Block a user