diff --git a/hai-cweb/src/main/java/com/cweb/controller/NotifyController.java b/hai-cweb/src/main/java/com/cweb/controller/NotifyController.java index a4d03e50..25f10dec 100644 --- a/hai-cweb/src/main/java/com/cweb/controller/NotifyController.java +++ b/hai-cweb/src/main/java/com/cweb/controller/NotifyController.java @@ -61,16 +61,15 @@ public class NotifyController { JSONObject sendMessage = JSONObject.parseObject(paramsStr).getJSONObject("sendMessage"); JSONObject body = ChongQingCNPCService.decryptBody(sendMessage.getString("body")); - couponCodeOtherService.cqCnpcUseNotify(body); - HighGasOrderPush highGasOrderPush = new HighGasOrderPush(); highGasOrderPush.setType(OrderPushType.type10.getType()); - highGasOrderPush.setOrderNo(body.getString("tradeIsendMessage = {JSONObject@14276} size = 2d")); + highGasOrderPush.setOrderNo(body.getString("tradeId")); highGasOrderPush.setCreateTime(new Date()); highGasOrderPush.setRequestContent("核销回调"); highGasOrderPush.setReturnContent(paramsStr); highGasOrderPushMapper.insert(highGasOrderPush); + couponCodeOtherService.cqCnpcUseNotify(body); Map param = new HashMap<>(); param.put("status", 1); param.put("msg", "成功");