diff --git a/app/adminapi/controller/contract/VehicleContractController.php b/app/adminapi/controller/contract/VehicleContractController.php index 30a516e5..a8c8a1bf 100644 --- a/app/adminapi/controller/contract/VehicleContractController.php +++ b/app/adminapi/controller/contract/VehicleContractController.php @@ -87,19 +87,19 @@ if($contract['type'] == 0){ $smsTitle = '《租赁合同》'; if(empty($contract['contract_logistic_id'])){ - $notify_url = env('project.website_domain').'/api/notify/systemCarRent'; + $notify_url = env('project.web_domain').'/api/notify/systemCarRent'; }else{ - $notify_url = env('project.website_domain').'/api/notify/townCarRent'; + $notify_url = env('project.web_domain').'/api/notify/townCarRent'; } }elseif($contract['type'] == 1){ $smsTitle = '《自有车辆上传合同》'; - $notify_url = env('project.website_domain').'/api/notify/selfCarRent'; + $notify_url = env('project.web_domain').'/api/notify/selfCarRent'; }elseif($contract['type'] == 2){ $smsTitle = '《解约合同》'; - $notify_url = env('project.website_domain').'/api/notify/cancelRent'; + $notify_url = env('project.web_domain').'/api/notify/cancelRent'; }elseif($contract['type'] == 3){ $smsTitle = '《购买合同》'; - $notify_url = env('project.website_domain').'/api/notify/buyCar'; + $notify_url = env('project.web_domain').'/api/notify/buyCar'; } $signRes = app(JunziqianController::class)->VehicleRentSigning($signData, $params['id'],$notify_url); if ($signRes->success) { diff --git a/app/common/controller/JunziqianController.php b/app/common/controller/JunziqianController.php index 63a68a45..aec6d9fc 100644 --- a/app/common/controller/JunziqianController.php +++ b/app/common/controller/JunziqianController.php @@ -262,7 +262,8 @@ class JunziqianController extends BaseLikeAdminController //发起PING请求 // halt($request); $response = $requestUtils->doPost("/v2/sign/applySign", $request); - Log::write('三轮车签约:'.json_encode($response).'地址:'.$notify,'notice'); + $response['notify_url'] = $notify; + Log::write('三轮车签约:'.json_encode($response),'notice'); return $response; }