|
|
|
@@ -391,6 +391,10 @@ public class WxRefundOrderServiceImpl implements WxRefundOrderService { |
|
|
|
logger.error("证书路径为空"); |
|
|
|
throw new MallinkException(ErrorCode.CERT_PATH_NOT_FOUND.getCode(), "证书路径为空,请联系商城管理员"); |
|
|
|
} |
|
|
|
if (Utility.isFileExist(payAccount.getCertPath())) { |
|
|
|
logger.error("证书文件不存在"); |
|
|
|
throw new MallinkException(ErrorCode.CERT_PATH_NOT_FOUND.getCode(), "证书文件不存在,请联系商城管理员"); |
|
|
|
} |
|
|
|
// check 是否有退款订单 |
|
|
|
List<WxRefundOrder> refundList = wxRefundOrderMapper.findList(record); |
|
|
|
if (refundList.size() > 0) { |
|
|
|
@@ -831,7 +835,7 @@ public class WxRefundOrderServiceImpl implements WxRefundOrderService { |
|
|
|
return XmlUtil.getRequestXml(resultMap); |
|
|
|
} |
|
|
|
} catch (RuntimeException e) { |
|
|
|
logger.warn("notify order, alipay checksign error, paramMap: "+paramMap.toString()+ ", payWay:" + payWay.toString() + ", e:" + e.getMessage()); |
|
|
|
logger.warn("notify order, wepay checksign error, paramMap: "+paramMap.toString()+ ", payWay:" + payWay.toString() + ", e:" + e.getMessage()); |
|
|
|
throw new MallinkException(ErrorCode.REFUND_ORDER_ERROR); |
|
|
|
} |
|
|
|
} |
|
|
|
|