Browse Source

微信通知fix

duyj 3 years ago
parent
commit
fd3f836145

+ 2 - 2
suishenbang-wxportal/suishenbang-wxportal-api/src/main/java/com/dgtly/wxportal/controller/WxController.java

@@ -207,7 +207,7 @@ public class WxController extends ApiBaseController {
         String chain = obj.getString("chain");
         String order = obj.getString("order");
         String temple = configService.selectConfigByKey("wx.notification.order.complete");
-        String message = String.format(temple, order);
+        String message = String.format(temple, order, chain);
 
         Set<String> customerCodes = new HashSet<>();
         customerCodes.add(chain);
@@ -233,7 +233,7 @@ public class WxController extends ApiBaseController {
         String chain = obj.getString("chain");
         String order = obj.getString("order");
         String temple = configService.selectConfigByKey("wx.notification.tms.leave.factory");
-        String message = String.format(temple, order);
+        String message = String.format(temple, order, chain);
 
         Set<String> customerCodes = new HashSet<>();
         customerCodes.add(chain);