提交代码

dev-discount
胡锐 2 years ago
parent 71ce3e468c
commit 52ec76f5a7
  1. 4
      hai-order/src/main/java/com/web/controller/OrderPayNotifyController.java

@ -78,6 +78,10 @@ public class OrderPayNotifyController {
}
log.info("处理业务完成");
// 通知微信.异步确认成功.必写.不然会一直通知后台.八次之后就认为交易失败了
resXml = "<xml>" + "<return_code><![CDATA[SUCCESS]]></return_code>"
+ "<return_msg><![CDATA[OK]]></return_msg>" + "</xml> ";
BufferedOutputStream out = new BufferedOutputStream(response.getOutputStream());
out.write(resXml.getBytes());
out.flush();

Loading…
Cancel
Save