|
@@ -569,11 +569,11 @@ public class UserTicketController extends BaseApiController {
|
|
|
}
|
|
|
|
|
|
// 线上盲票不支持手动兑奖
|
|
|
- TicketBox ticketBox = ticketBoxService.getById(ticket.getBoxId());
|
|
|
- if (TicketTypeEnum.ONLINE.equals(ticketBox.getType())) {
|
|
|
- LogUtil.error(logger, "线上盲票不支持手动兑奖。ticketId:{0}", ticket.getTicketId());
|
|
|
- return AjaxResult.error(ErrorCodeEnum.ERROR_CODE_1000);
|
|
|
- }
|
|
|
+// TicketBox ticketBox = ticketBoxService.getById(ticket.getBoxId());
|
|
|
+// if (TicketTypeEnum.ONLINE.equals(ticketBox.getType())) {
|
|
|
+// LogUtil.error(logger, "线上盲票不支持手动兑奖。ticketId:{0}", ticket.getTicketId());
|
|
|
+// return AjaxResult.error(ErrorCodeEnum.ERROR_CODE_1000);
|
|
|
+// }
|
|
|
|
|
|
// 兑奖
|
|
|
String lockKey = RedisLockKey.build(RedisLockKey.USER_TICKET_CASH_LOCK, param.getPrizeId());
|