Commit 8fc9051e authored by shangtx's avatar shangtx

feat: 去掉支付回调try/catch

parent a2a46aaa
...@@ -46,7 +46,6 @@ public class WechatNotifyController { ...@@ -46,7 +46,6 @@ public class WechatNotifyController {
public void notify(HttpServletRequest request, HttpServletResponse response) throws Exception { public void notify(HttpServletRequest request, HttpServletResponse response) throws Exception {
//WechatPayMyConfigMini config = new WechatPayMyConfigMini(); //WechatPayMyConfigMini config = new WechatPayMyConfigMini();
PrintWriter out = null; PrintWriter out = null;
try {
log.info("微信支付成功回调通知开始!"); log.info("微信支付成功回调通知开始!");
StringBuffer sb = new StringBuffer(); StringBuffer sb = new StringBuffer();
InputStream is = request.getInputStream(); InputStream is = request.getInputStream();
...@@ -91,15 +90,9 @@ public class WechatNotifyController { ...@@ -91,15 +90,9 @@ public class WechatNotifyController {
} else { } else {
log.warn("微信支付成功回调通知内容为空,请检查!"); log.warn("微信支付成功回调通知内容为空,请检查!");
} }
} catch (Exception e) {
log.error("notify() Exception exception:", e);
e.printStackTrace();
}
} }
/** /**
* 微信通知签名校验 * 微信通知签名校验
* *
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment