Commit b3ae6c0f by 王世昌

Merge branch 'feature/20210616-记录三方调用结果-wsc'

parents 9a03bfd9 76964cbc
...@@ -134,7 +134,9 @@ public class PlatformCouponRelationServiceImpl implements CouponRelationService ...@@ -134,7 +134,9 @@ public class PlatformCouponRelationServiceImpl implements CouponRelationService
lastException = ex; lastException = ex;
ErrorLog.printErrorLog("verification_error", "/api", couponCodeVerificationDto, ex); ErrorLog.printErrorLog("verification_error", "/api", couponCodeVerificationDto, ex);
} }
if (!ok || Objects.equals(baffleOpen,true)){ if (lastException != null){
sendMessage(orderBean, LogThreadLocal.getTrackingNo(), couponCodeVerificationDto, lastException);
}else if (!ok || Objects.equals(baffleOpen,true)){
sendMessage(orderBean, LogThreadLocal.getTrackingNo(), couponCodeVerificationDto, ok ? "模拟券核销失败" : couponCodeResponseDto); sendMessage(orderBean, LogThreadLocal.getTrackingNo(), couponCodeVerificationDto, ok ? "模拟券核销失败" : couponCodeResponseDto);
} }
if (!ok){ if (!ok){
......
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