From 52ec76f5a7be5967a4461f2c6b826daf181466b6 Mon Sep 17 00:00:00 2001 From: hurui <177768073@qq.com> Date: Tue, 1 Nov 2022 16:06:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/web/controller/OrderPayNotifyController.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hai-order/src/main/java/com/web/controller/OrderPayNotifyController.java b/hai-order/src/main/java/com/web/controller/OrderPayNotifyController.java index bbd7abae..4186d970 100644 --- a/hai-order/src/main/java/com/web/controller/OrderPayNotifyController.java +++ b/hai-order/src/main/java/com/web/controller/OrderPayNotifyController.java @@ -78,6 +78,10 @@ public class OrderPayNotifyController { } log.info("处理业务完成"); + // 通知微信.异步确认成功.必写.不然会一直通知后台.八次之后就认为交易失败了 + resXml = "" + "" + + "" + " "; + BufferedOutputStream out = new BufferedOutputStream(response.getOutputStream()); out.write(resXml.getBytes()); out.flush();