| | |
| | | @Autowired |
| | | private IApiMallMemberWalletService memberWalletService; |
| | | |
| | | @Autowired |
| | | private WxPayService wxPayService; |
| | | |
| | | @Autowired |
| | | private IXcxCodePayService xcxCodePayService; |
| | | // @Autowired |
| | | // private WxPayService wxPayService; |
| | | // |
| | | // @Autowired |
| | | // private IXcxCodePayService xcxCodePayService; |
| | | |
| | | @Autowired |
| | | private IXcxPayService iXcxPayService; |
| | |
| | | } |
| | | |
| | | |
| | | @PostMapping(value = "/xcxCodePayCallBack") |
| | | public String xcxCodePayCallBack(@RequestBody String xmlData) throws WxPayException { |
| | | log.info("=======微信支付码付款回调:{}========", xmlData); |
| | | WxPayOrderNotifyResult notifyResult = this.wxPayService.parseOrderNotifyResult(xmlData); |
| | | xcxCodePayService.payCallback(notifyResult.toMap()); |
| | | return WxPayNotifyResponse.success("成功"); |
| | | } |
| | | // @PostMapping(value = "/xcxCodePayCallBack") |
| | | // public String xcxCodePayCallBack(@RequestBody String xmlData) throws WxPayException { |
| | | // log.info("=======微信支付码付款回调:{}========", xmlData); |
| | | // WxPayOrderNotifyResult notifyResult = wxPayService.parseOrderNotifyResult(xmlData); |
| | | // xcxCodePayService.payCallback(notifyResult.toMap()); |
| | | // return WxPayNotifyResponse.success("成功"); |
| | | // } |
| | | |
| | | |
| | | } |