Commit c537cce2 by huiyang.chen

fix log

parent f693f423
...@@ -37,7 +37,9 @@ public class CouponHandle { ...@@ -37,7 +37,9 @@ public class CouponHandle {
for (MCCafeCouponRequest mcCafeCouponRequest: list) { for (MCCafeCouponRequest mcCafeCouponRequest: list) {
//重试3次 //重试3次
for (int i = 2; i >= 0; i--) { for (int i = 2; i >= 0; i--) {
log.info("核销券码入参:{}",JSONObject.toJSONString(mcCafeCouponRequest));
CouponRedeemResponse redeem = couponOfflineMCCafeClient.redeem(mcCafeCouponRequest); CouponRedeemResponse redeem = couponOfflineMCCafeClient.redeem(mcCafeCouponRequest);
log.info("核销券码出参:{}",JSONObject.toJSONString(redeem));
if (RESPONSE_SUCCESS.equals(redeem.getStatusCode())) { if (RESPONSE_SUCCESS.equals(redeem.getStatusCode())) {
break; break;
} }
......
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