Commit 2527ab51 by 查志伟

去掉多余告警日志

parent b113ca49
......@@ -144,10 +144,7 @@ public class PayServiceImpl {
@Value("${query.pay.order:true}")
private Boolean queryPayOrder;
@Value("${use.pay.feign:true}")
private Boolean usePayFeignClient;
@Value("${pay.response.error:true}")
private Boolean printUnifiedPayResponseError;
private static final Integer MULITI_RESPONSE = 200;
......@@ -336,10 +333,6 @@ public class PayServiceImpl {
if (null != response) {
errorMessage = StringUtils.isNotEmpty(response.getMessage()) ? response.getMessage() : response.getData().getResultMsg();
}
//打印业务异常
if (response != null && printUnifiedPayResponseError) {
AppLogUtil.errorLog("获取预支付信息失败", JSONObject.toJSONString(requestDto), JSONObject.toJSONString(response), null);
}
//预支付失败需要把原因进行记录
orderPayResponse.setMsg(errorMessage);
return null;
......@@ -607,10 +600,6 @@ public class PayServiceImpl {
if (null != response) {
errorMessage = StringUtils.isNotEmpty(response.getMessage()) ? response.getMessage() : response.getData().getResultMsg();
}
//打印业务异常
if (response != null && printUnifiedPayResponseError) {
AppLogUtil.errorLog("获取预支付信息失败", JSONObject.toJSONString(requestDto), JSONObject.toJSONString(response), null);
}
//预支付失败需要把原因进行记录
orderPayResponse.setMsg(errorMessage);
return orderPayResponse;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment