From 284a4b9bda8f7c09f550c15e71ced282e5531a08 Mon Sep 17 00:00:00 2001
From: lidongdong <1459917685@qq.com>
Date: 星期四, 08 十二月 2022 13:33:57 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/huacheng_test' into huacheng_test

---
 springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/RentingHourseRegisterServiceImpl.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/RentingHourseRegisterServiceImpl.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/RentingHourseRegisterServiceImpl.java
index d26abf0..37d3d22 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/RentingHourseRegisterServiceImpl.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/RentingHourseRegisterServiceImpl.java
@@ -94,7 +94,7 @@
         houseRegister.setCreateAt(nowDate);
         houseRegister.setUpdateAt(nowDate);
         try {
-            WxMaQrcodeService qrCodeService = wxMaConfiguration.getMaService().getQrcodeService();
+            WxMaQrcodeService qrCodeService = wxMaConfiguration.getMaService(registerDTO.getAreaCode()).getQrcodeService();
             byte[] bytes = qrCodeService.createWxaCodeUnlimitBytes("id=" + houseRegister.getId() + "&type=6",
                     minAppJumpPage, 30, true, null, false);
             String authCode = String.format("data:image/png;base64,%s", Base64.encode(bytes));
@@ -444,7 +444,7 @@
         if (!list.isEmpty()) {
             list.stream().forEach(houseRegister -> {
                 try {
-                    WxMaQrcodeService qrCodeService = wxMaConfiguration.getMaService().getQrcodeService();
+                    WxMaQrcodeService qrCodeService = wxMaConfiguration.getMaService(areaCode).getQrcodeService();
                     byte[] bytes = qrCodeService.createWxaCodeUnlimitBytes("id=" + houseRegister.getId() + "&type=6",
                             minAppJumpPage, 30, true, null, false);
                     String authCode = String.format("data:image/png;base64,%s", Base64.encode(bytes));

--
Gitblit v1.7.1