|
@@ -183,6 +183,8 @@ public class DrawlineUserQueueServiceImpl implements IDrawlineUserQueueService { |
|
@@ -183,6 +183,8 @@ public class DrawlineUserQueueServiceImpl implements IDrawlineUserQueueService { |
183
|
logger.warn("addDrawlineUserQueue: fail to addDrawlineUserQueue. uid is {}, activityId is {}, userType is {}", uid, activityId, userType);
|
183
|
logger.warn("addDrawlineUserQueue: fail to addDrawlineUserQueue. uid is {}, activityId is {}, userType is {}", uid, activityId, userType);
|
184
|
throw new ServiceException(900001007, "参加活动排队失败");
|
184
|
throw new ServiceException(900001007, "参加活动排队失败");
|
185
|
}
|
185
|
}
|
|
|
186
|
+ String redisKeySuffix = uid + ":" + userType + ":" + activityId;
|
|
|
187
|
+ redisValueCache.delete(CacheKeyEnum.DRAWLINE_USERACTIVITY, redisKeySuffix);
|
186
|
//如果首次参加排队活动成功,则进行消息推送
|
188
|
//如果首次参加排队活动成功,则进行消息推送
|
187
|
//先判断是否是首次,根据活动ID查询是否只有一条数据
|
189
|
//先判断是否是首次,根据活动ID查询是否只有一条数据
|
188
|
Integer queueCount = drawlineUserQueueDAO.selectHelpUserCount(activityId, uid, null);
|
190
|
Integer queueCount = drawlineUserQueueDAO.selectHelpUserCount(activityId, uid, null);
|