Authored by wujiexiang

优惠券库存不足:异常码

@@ -68,7 +68,7 @@ public class SingleCentCouponServiceImpl implements SingleCentCouponService { @@ -68,7 +68,7 @@ public class SingleCentCouponServiceImpl implements SingleCentCouponService {
68 68
69 if (!succ) { 69 if (!succ) {
70 logger.warn("coupon has arrive max num,no coupon can acquire:{},{}", uid, coupon.getCouponToken()); 70 logger.warn("coupon has arrive max num,no coupon can acquire:{},{}", uid, coupon.getCouponToken());
71 - throw new ServiceException(ServiceError.PROMOTION_COUPON_HAS_NO_VAILD); 71 + throw new ServiceException(ServiceError.PROMOTION_COUPON_HAS_ARRIVE_MAX_NUM);
72 } 72 }
73 } 73 }
74 74