Merge remote-tracking branch 'remotes/origin/hotfix_防止恶意刷单' into test6.9.5
Showing
1 changed file
with
2 additions
and
2 deletions
@@ -30,10 +30,10 @@ public class ShoppingRiskWatchDog { | @@ -30,10 +30,10 @@ public class ShoppingRiskWatchDog { | ||
30 | statusList.add(OrderStatus.WAITING_PAY.getCode()); | 30 | statusList.add(OrderStatus.WAITING_PAY.getCode()); |
31 | 31 | ||
32 | int cnt = buyerOrderMapper.selectCntByUidStatus(uid, statusList); | 32 | int cnt = buyerOrderMapper.selectCntByUidStatus(uid, statusList); |
33 | - if (cnt > waitingPayCnt){ | 33 | + if (cnt >= waitingPayCnt){ |
34 | logger.warn("in ShoppingRiskWatchDog.checkWaitingPayCnt try monopolizing skup another time,uid {} waiting pay cnt {}", | 34 | logger.warn("in ShoppingRiskWatchDog.checkWaitingPayCnt try monopolizing skup another time,uid {} waiting pay cnt {}", |
35 | uid, cnt); | 35 | uid, cnt); |
36 | - throw new UfoServiceException(400, "请完成待支付订单后再下单"); | 36 | + throw new UfoServiceException(512, "请完成待支付订单后再下单"); |
37 | } | 37 | } |
38 | } | 38 | } |
39 | } | 39 | } |
-
Please register or login to post a comment