|
@@ -364,9 +364,7 @@ public class WxPayServiceImpl implements IWxPayService {
|
|
|
Map<String, String> notifyMap = WXPayUtil.xmlToMap(notifyData); // 转换成map
|
|
|
String TenantId = notifyMap.get("attach");
|
|
|
ServletUtils.getRequestAttributes().getResponse().setHeader("TenantId", TenantId);
|
|
|
- log.error("TenantIdC",TenantId);
|
|
|
initData();
|
|
|
-
|
|
|
WxSmallConfig config = new WxSmallConfig(appid, mchid, key);
|
|
|
WXPay wxpay = new WXPay(config);
|
|
|
if (wxpay.isPayResultNotifySignatureValid(notifyMap)) {
|
|
@@ -374,8 +372,6 @@ public class WxPayServiceImpl implements IWxPayService {
|
|
|
if ("SUCCESS".equals(result_code)) {
|
|
|
String out_trade_no = notifyMap.get("out_trade_no");
|
|
|
String transaction_id = notifyMap.get("transaction_id");
|
|
|
-
|
|
|
-
|
|
|
OrderPay orderPay = iOrderPayService.getOne(new LambdaQueryWrapper<OrderPay>().eq(OrderPay::getPaySn, out_trade_no));
|
|
|
if (Validator.isNotEmpty(orderPay)) {
|
|
|
String orderSn = orderPay.getOrderSn();
|