Browse Source

update bug

release_toaliyun_real
xhxu 4 years ago
parent
commit
b03dc20e2e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      mallinkService/src/main/java/com/iformall/service/impl/WxOrderServiceImpl.java

+ 1
- 1
mallinkService/src/main/java/com/iformall/service/impl/WxOrderServiceImpl.java View File

@@ -541,7 +541,7 @@ public class WxOrderServiceImpl implements WxOrderService {
redisLock.unlock(couponIdStr, timeStr);
throw new MallinkException(ErrorCode.DB_FAIL);
}
if (count >= coupon.getUseLimitQuantity()) {
if (count > coupon.getUseLimitQuantity()) {
//解锁
redisLock.unlock(couponIdStr, timeStr);
logger.error("此券购买数量已超限, couponId: " + couponIdStr + ", count: " + count);


Loading…
Cancel
Save