|
|
@@ -51,7 +51,14 @@ public class QrCodeController {
|
|
|
InsOrders insOrders = insOrdersService.getById(insOrderQrCode.getOrderno());
|
|
|
|
|
|
QrCodeVo qrCodeVo = new QrCodeVo();
|
|
|
- String qrCodeUrl = qrCodeGenAddress + "?areaCompanyId=" + areaCompanyId;
|
|
|
+ String qrCodeUrl = "";
|
|
|
+ //是否是太平洋保险
|
|
|
+ if("TPIC1000000".equals(insAreaCompany.getCompanyId())){
|
|
|
+ qrCodeUrl = insAreaCompany.getPaymentLink();
|
|
|
+ }else{
|
|
|
+ qrCodeUrl = qrCodeGenAddress + "?areaCompanyId=" + areaCompanyId;
|
|
|
+ }
|
|
|
+
|
|
|
qrCodeVo.setQrCodeUrl(qrCodeUrl);
|
|
|
qrCodeVo.setInscompany(insAreaCompany.getInscompany());//保险公司
|
|
|
qrCodeVo.setSumpremium(insAreaCompany.getSumpremium());//总保费
|