|
|
|
@@ -613,6 +613,9 @@ public class WxOrderServiceImpl implements WxOrderService { |
|
|
|
throw new MallinkException(ErrorCode.COUPON_IS_NOT_FREE); |
|
|
|
} |
|
|
|
|
|
|
|
// 减库存操作 |
|
|
|
stockReduce(user, coupon, couponIdStr); |
|
|
|
|
|
|
|
int payment = coupon.getSalePrice(); |
|
|
|
|
|
|
|
Date curr = new Date(); |
|
|
|
@@ -692,6 +695,9 @@ public class WxOrderServiceImpl implements WxOrderService { |
|
|
|
throw new MallinkException(ErrorCode.COUPON_IS_NOT_FREE); |
|
|
|
} |
|
|
|
|
|
|
|
// 减库存操作 |
|
|
|
stockReduce(user, coupon, couponIdStr); |
|
|
|
|
|
|
|
int payment = coupon.getSalePrice(); |
|
|
|
|
|
|
|
Date curr = new Date(); |
|
|
|
|