|
@@ -163,6 +163,7 @@ public class WxOrderServiceImpl extends ServiceImpl<WxOrderMapper, WxOrder> impl
|
|
|
WXPay pay = new WXPay(config);
|
|
|
String xmlStr = pay.requestWithCert(url, sortMap, config.getHttpConnectTimeoutMs(), config.getHttpReadTimeoutMs());
|
|
|
Map<String, String> resMap = XmlUtil.xmlToMap(xmlStr);
|
|
|
+ System.out.println(resMap);
|
|
|
if (!"SUCCESS".equals(resMap.get("return_code")) || !"SUCCESS".equals(resMap.get("result_code"))) {
|
|
|
throw new CustomException("微信分账出错");
|
|
|
}
|