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

Commit 977fa758 authored by zz's avatar zz

Merge remote-tracking branch 'origin/20240123_COUPON_SPU' into 阶梯退票_羊毛券_合并分支

parents c57d2805 d65f172c
......@@ -169,7 +169,8 @@ public class GoblinOrderServiceImpl implements IGoblinOrderService {
String res1 = orderUtils.judgeOrderLimit(uid, skuParam.getSkuId(), skuParam.getNumber(), limitCount);
rollbackStock = true;
if (!res1.equals("")) {
throw new Exception("已超出限购数量");
// throw new Exception("已超出限购数量");
throw new Exception("超出账号限购数量");// 按杨要求调整
}
//权限限购
Boolean res2 = orderUtils.judgeOrderRose(isMember, skuParam.getSkuId(), StringUtils.defaultString(((String) CurrentUtil.getTokenClaims().get("mobile")), ""), Integer.parseInt(skuVo.getBuyFactor()));
......
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