he2802 2 лет назад
Родитель
Сommit
a49c6a2f80

+ 0 - 3
zhongzheng-system/src/main/java/com/zhongzheng/modules/system/service/impl/SysConfigServiceImpl.java

@@ -78,11 +78,8 @@ public class SysConfigServiceImpl extends ServiceImpl<SysConfigMapper, SysConfig
      */
     @Override
     public String selectConfigByKey(String configKey) {
-        log.error("configKey:"+configKey);
-        log.error("tenantId:"+ ServletUtils.getRequest().getHeader("TenantId"));
         String configValue = Convert.toStr(redisCache.getCacheObject(getCacheKey(configKey)));
         if (Validator.isNotEmpty(configValue)) {
-            log.error("configValue:"+configValue);
             return configValue;
         }
         SysConfig retConfig = baseMapper.selectOne(new LambdaQueryWrapper<SysConfig>()

+ 0 - 4
zhongzheng-system/src/main/java/com/zhongzheng/modules/wx/service/impl/WxPayServiceImpl.java

@@ -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();