|
@@ -47,11 +47,11 @@ public class PaymentController {
|
|
|
Map<String, String> result = new HashMap<>();
|
|
Map<String, String> result = new HashMap<>();
|
|
|
try {
|
|
try {
|
|
|
wxPayService.wxNotify(request);
|
|
wxPayService.wxNotify(request);
|
|
|
- result.put("return_code", "SUCCESS");
|
|
|
|
|
- result.put("return_msg", "OK");
|
|
|
|
|
|
|
+ result.put("code", "SUCCESS");
|
|
|
|
|
+ result.put("message", "OK");
|
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
|
- result.put("return_code", "FAIL");
|
|
|
|
|
- result.put("return_msg", e.getMessage());
|
|
|
|
|
|
|
+ result.put("code", "FAIL");
|
|
|
|
|
+ result.put("message", e.getMessage());
|
|
|
}
|
|
}
|
|
|
String resp = XmlUtil.mapToXmlStr(result);
|
|
String resp = XmlUtil.mapToXmlStr(result);
|
|
|
logger.info("wxPay notify result>>>:{}", resp);
|
|
logger.info("wxPay notify result>>>:{}", resp);
|