update
This commit is contained in:
parent
fef1d94ca9
commit
c61a1eed38
@ -123,7 +123,7 @@ class IndexController extends BaseApiController
|
||||
//更新本地合同状态
|
||||
Contract::where('id',$params['id'])->update(['signing_timer'=>2,'status'=>3]);
|
||||
//更新远程
|
||||
Vehicle::where('id','in',array_column($vehicle,'id'))->update(['status'=>3]);
|
||||
Vehicle::where('id','in',array_column($vehicle,'id'))->update(['status'=>2]);
|
||||
$data = [];
|
||||
foreach($vehicle as $v){
|
||||
$data[] = [
|
||||
|
@ -35,4 +35,4 @@ Route::rule('updateVehicleRent','Vehicle/updateVehicleRent','post');
|
||||
Route::rule('signContract','Contract/signContract','post');
|
||||
Route::rule('updateContract','Contract/updateContract','post');
|
||||
|
||||
Route::rule('hetong/url','Hetong/url','get');
|
||||
Route::rule('Hetong/url','Hetong/url','get');
|
Loading…
x
Reference in New Issue
Block a user