Authored by chenchao

Merge remote-tracking branch 'remotes/origin/hotfix_防止恶意刷单' into test6.9.5

@@ -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 }