|
@@ -197,12 +197,11 @@ public class BoHaiOrderApiServiceImpl implements BoHaiOrderApiService {
|
|
|
// 支付请求
|
|
// 支付请求
|
|
|
PaymentRequest paymentRequest = new PaymentRequest(parameters, insAreaCompany.getId(), insAreaCompany.getInsOrderNo());
|
|
PaymentRequest paymentRequest = new PaymentRequest(parameters, insAreaCompany.getId(), insAreaCompany.getInsOrderNo());
|
|
|
PaymentResponse paymentResponse = boHaiRequestApiComponent.payment(paymentRequest, parameters.getSysSourceCode());
|
|
PaymentResponse paymentResponse = boHaiRequestApiComponent.payment(paymentRequest, parameters.getSysSourceCode());
|
|
|
- String payUrl = paymentResponse.getData().getQrCodeUrl();
|
|
|
|
|
|
|
+ String payUrl = paymentResponse.getData().getPayUrl();
|
|
|
insAreaCompany.setPaymentLink(payUrl);
|
|
insAreaCompany.setPaymentLink(payUrl);
|
|
|
insAreaCompanyService.updateCompanyAndOrders(insAreaCompany);
|
|
insAreaCompanyService.updateCompanyAndOrders(insAreaCompany);
|
|
|
return HttpResult.ok("核保通过");
|
|
return HttpResult.ok("核保通过");
|
|
|
} else if (i == 2) {
|
|
} else if (i == 2) {
|
|
|
-
|
|
|
|
|
insAreaCompany.setOrderstatus(InsOrderStatusEnum.WAIT_AUDIT.getCode());
|
|
insAreaCompany.setOrderstatus(InsOrderStatusEnum.WAIT_AUDIT.getCode());
|
|
|
} else {
|
|
} else {
|
|
|
insAreaCompany.setOrderstatus(InsOrderStatusEnum.TO_BACK.getCode());
|
|
insAreaCompany.setOrderstatus(InsOrderStatusEnum.TO_BACK.getCode());
|
|
@@ -358,7 +357,7 @@ public class BoHaiOrderApiServiceImpl implements BoHaiOrderApiService {
|
|
|
ptlAgreementAttribution);
|
|
ptlAgreementAttribution);
|
|
|
PaymentRequest paymentRequest = new PaymentRequest(parameters, insAreaCompany.getId(), insAreaCompany.getInsOrderNo());
|
|
PaymentRequest paymentRequest = new PaymentRequest(parameters, insAreaCompany.getId(), insAreaCompany.getInsOrderNo());
|
|
|
PaymentResponse paymentResponse = boHaiRequestApiComponent.payment(paymentRequest, parameters.getSysSourceCode());
|
|
PaymentResponse paymentResponse = boHaiRequestApiComponent.payment(paymentRequest, parameters.getSysSourceCode());
|
|
|
- return paymentResponse.getData().getQrCodeUrl();
|
|
|
|
|
|
|
+ return paymentResponse.getData().getPayUrl();
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|