瀏覽代碼

Merge remote-tracking branch 'origin/test' into test

hxl13994548489 1 年之前
父節點
當前提交
7559a18c0d
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      src/main/java/com/ydtech/modules/order/service/impl/InsOrderQrCodeServiceImpl.java

+ 4 - 0
src/main/java/com/ydtech/modules/order/service/impl/InsOrderQrCodeServiceImpl.java

@@ -69,6 +69,10 @@ public class InsOrderQrCodeServiceImpl extends ServiceImpl<InsOrderQrCodeMapper,
                     if (Objects.isNull(insAreaCompany.getPaymentLink())) {
                         throw new SystemException("该订单没有缴费链接");
                     }
+                }else{
+                    // 永安目前还没有获取到缴费连接  需要默认给一个url 过下一步判断
+                    String qrCodeUrl = "https://sxzgkj.baoxianzhanggui.com/h5/#/pages/orders/verificationPage" + "?companyId=" + companyId;
+                    insAreaCompany.setPaymentLink(qrCodeUrl);
                 }
                 save(insAreaCompany.getOrderno(), insAreaCompany.getId(), insAreaCompany.getCompanyId(),
                         insAreaCompany.getPaymentLink(), isWx);