|
@@ -229,13 +229,13 @@ public class UserTicketOrderController extends BaseApiController {
|
|
|
return AjaxResult.error("盲票已停售!");
|
|
|
}
|
|
|
//免费的盲票每个用户只能领取一次
|
|
|
- if (orderSettleVO.getPayAmt() == 0 && orderSettleVO.getDiscountAmt() == 0){
|
|
|
+ /*if (orderSettleVO.getPayAmt() == 0 && orderSettleVO.getDiscountAmt() == 0){
|
|
|
int orderCount = userTicketOrderService.count(
|
|
|
new LambdaQueryWrapper<UserTicketOrder>().eq(UserTicketOrder::getUserId, userId).eq(UserTicketOrder::getBoxId, orderSettleVO.getBoxId()));
|
|
|
if (orderCount > 0) {
|
|
|
return AjaxResult.error("您已领取过盲票!");
|
|
|
}
|
|
|
- }
|
|
|
+ }*/
|
|
|
//限制前端重复提交请求
|
|
|
String repeatSubmitRecord = redisCache.getCacheObject(repeatSubmitKey);
|
|
|
if (StringUtils.isNotBlank(repeatSubmitRecord)) {
|