Merge pull request 'update' (#107) from zhangwei into dev

Reviewed-on: #107
This commit is contained in:
weiz 2023-10-18 10:38:49 +08:00
commit 7f5a326a85

View File

@ -158,7 +158,11 @@ class VehicleContractController extends BaseAdminController
$notify_url = '';
if($contract['type'] == 0){
$smsTitle = '《租赁合同》';
$notify_url = env('project.website_domain').'/api/index/townCarRent';
if(empty($contract['contract_logistic_id'])){
$notify_url = env('project.website_domain').'/api/index/systemCarRent';
}else{
$notify_url = env('project.website_domain').'/api/index/townCarRent';
}
}elseif($contract['type'] == 1){
$smsTitle = '《自有车辆上传合同》';
$notify_url = env('project.website_domain').'/api/index/selfCarRent';