Sfoglia il codice sorgente

[退款回调][修复]:mchId比较问题修复

release_toaliyun_real
Stormeye.Wu 7 anni fa
parent
commit
f3bfcd0a8c
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. +2
    -2
      mallinkService/src/main/java/com/simple/service/impl/WxRefundOrderServiceImpl.java

+ 2
- 2
mallinkService/src/main/java/com/simple/service/impl/WxRefundOrderServiceImpl.java Vedi File

@@ -664,7 +664,7 @@ public class WxRefundOrderServiceImpl implements WxRefundOrderService {
logger.error("未找到mch_id信息:"+mchId);
throw new MallinkException(ErrorCode.MCH_INFO_NOT_FOUND);
}
if (mchId != payAccount.getMchId()) {
if (!mchId.equalsIgnoreCase(payAccount.getMchId())) {
logger.error("mch_id不对应:"+mchId + ",account:" + payAccount.getMchId());
throw new MallinkException(ErrorCode.MCH_INFO_NOT_EQUAL);
}
@@ -755,7 +755,7 @@ public class WxRefundOrderServiceImpl implements WxRefundOrderService {
logger.error("未找到mch_id信息:"+mchId);
throw new MallinkException(ErrorCode.MCH_INFO_NOT_FOUND);
}
if (mchId != payAccount.getMchId()) {
if (!mchId.equalsIgnoreCase(payAccount.getMchId())) {
logger.error("mch_id不对应:"+mchId + ",account:" + payAccount.getMchId());
throw new MallinkException(ErrorCode.MCH_INFO_NOT_EQUAL);
}


Caricamento…
Annulla
Salva