Browse Source

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

hxl13994548489 1 năm trước cách đây
mục cha
commit
7559a18c0d

+ 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);