Commit 542bc591 by chongli

微信退款回调,增加调试信息

parent 7a0753e1
......@@ -121,6 +121,9 @@ public class NotifyController {
@RequestMapping(value = "/weiXinRefoundNotifyUrl", produces = "application/json;charset=UTF-8")
@ResponseBody
public String weiXinRefoundNotifyUrl(HttpServletRequest request,HttpServletResponse response) throws Exception{
System.out.println("aaaaaaaaaaaaaaaaaaaaaa1");
System.out.println("aaaaaaaaaaaaaaaaaaaaaa2");
System.out.println("aaaaaaaaaaaaaaaaaaaaaa3");
BufferedReader reader = null;
reader = request.getReader();
String line = "";
......@@ -133,6 +136,9 @@ public class NotifyController {
xmlString = inputString.toString();
request.getReader().close();
System.out.println("----接收到的数据如下:---" + xmlString);
System.out.println("aaaaaaaaaaaaaaaaaaaaaa4");
System.out.println("aaaaaaaaaaaaaaaaaaaaaa5");
System.out.println("aaaaaaaaaaaaaaaaaaaaaa6");
this.notifyService.notifyForVoucherMiniApp(xmlString);
response.getWriter().write("<xml><return_code><![CDATA[SUCCESS]]></return_code></xml>");
return null;
......
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 sign in to comment