|
|
@@ -129,9 +129,6 @@ public class LiveServiceImpl implements ILiveService
|
|
|
@Autowired
|
|
|
LiveTagConfigMapper liveTagConfigMapper;
|
|
|
|
|
|
- @Autowired
|
|
|
- ILiveWatchUserService liveWatchUserService;
|
|
|
-
|
|
|
private static String TOKEN_VALID_CODE = "40001";
|
|
|
|
|
|
private static volatile Integer version = 0;
|
|
|
@@ -981,7 +978,8 @@ public class LiveServiceImpl implements ILiveService
|
|
|
});
|
|
|
String cacheKey = String.format(LiveKeysConstant.LIVE_DATA_CACHE, live.getLiveId());
|
|
|
redisCache.deleteObject(cacheKey);
|
|
|
- liveWatchUserService.clearLiveFlagCache(live.getLiveId());
|
|
|
+ String cacheKey2 = String.format(LiveKeysConstant.LIVE_FLAG_CACHE, live.getLiveId());
|
|
|
+ redisCache.deleteObject(cacheKey2);
|
|
|
|
|
|
// 将开启的直播间信息写入Redis缓存,用于打标签定时任务
|
|
|
try {
|