From 160a37f32443486a988f71d256261fde69590311 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9F=A9=E9=B9=8F=E8=BE=89?= <18322780655@163.com> Date: Wed, 29 May 2024 16:00:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=AE=A2=E5=8D=95=E4=BB=98?= =?UTF-8?q?=E6=AC=BE=E6=95=B0=E6=8D=AE=E7=BB=9F=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../chaozhanggui/system/cashierservice/service/PayService.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/service/PayService.java b/src/main/java/com/chaozhanggui/system/cashierservice/service/PayService.java index 6e9883c..ec61c9d 100644 --- a/src/main/java/com/chaozhanggui/system/cashierservice/service/PayService.java +++ b/src/main/java/com/chaozhanggui/system/cashierservice/service/PayService.java @@ -270,6 +270,7 @@ public class PayService { jsonObject1.put("type", ""); jsonObject1.put("data", new JSONArray()); jsonObject1.put("amount", 0); + AppWebSocketServer.AppSendInfo(jsonObject1,key, false); tbCashierCartMapper.updateStatusByOrderId(orderId.toString(),"final"); ObjectMapper mapper = new ObjectMapper(); @@ -373,7 +374,7 @@ public class PayService { JSONObject jsonObject = new JSONObject(); jsonObject.put("token", token); - jsonObject.put("type", "create"); + jsonObject.put("type", "wxcreate"); jsonObject.put("orderId", orderId); producer.putOrderCollect(jsonObject.toJSONString());