记得上下班打卡 | git大法好,push需谨慎

Commit 99ccb037 authored by zhangguobing's avatar zhangguobing

~api:券商品业务-关联人实名限购处理;

parent ae8f43aa
......@@ -136,7 +136,7 @@ public class GoblinOrderServiceImpl implements IGoblinOrderService {
String couponSkuIdNoBuyLimitKey = String.format(GoblinRedisConst.REDIS_GOBLIN_BUY_COUNT_IDNO, skuParam.getIdType(), skuParam.getIdNo(), skuId, skuParam.getNumber());
couponSkuIdNoBuyLimitMap.put(couponSkuIdNoBuyLimitKey, skuParam.getNumber());
if (redisUtils.redisUtil.incr(couponSkuIdNoBuyLimitKey, skuParam.getNumber()) > idNoLimitCount) {
throw new LiquidnetServiceException("-1", String.format("超出限购数量,一份证件限购%d张", idNoLimitCount));
throw new LiquidnetServiceException("-1", String.format("超过限购数据,一个证件信息限购%d张", idNoLimitCount));
}
}
}
......
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