修改订单付款数据统计

This commit is contained in:
韩鹏辉
2024-05-29 16:00:56 +08:00
parent b8077835c0
commit 160a37f324

View File

@@ -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());