Explorar el Código

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

release_toaliyun_real
Stormeye.Wu hace 7 años
padre
commit
f3bfcd0a8c
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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 Ver fichero

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


Cargando…
Cancelar
Guardar