国标级联调整注册逻辑
This commit is contained in:
@@ -23,8 +23,6 @@ public interface IRedisCatchStorage {
|
||||
*/
|
||||
Long getCSEQ();
|
||||
|
||||
void updatePlatformCatchInfo(PlatformCatch parentPlatformCatch);
|
||||
|
||||
PlatformCatch queryPlatformCatchInfo(String platformGbId);
|
||||
|
||||
void delPlatformCatchInfo(String platformGbId);
|
||||
|
||||
@@ -73,12 +73,6 @@ public class RedisCatchStorageImpl implements IRedisCatchStorage {
|
||||
redisTemplate.opsForValue().set(key, 1);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void updatePlatformCatchInfo(PlatformCatch parentPlatformCatch) {
|
||||
String key = VideoManagerConstants.PLATFORM_CATCH_PREFIX + userSetting.getServerId() + "_" + parentPlatformCatch.getId();
|
||||
redisTemplate.opsForValue().set(key, parentPlatformCatch);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PlatformCatch queryPlatformCatchInfo(String platformGbId) {
|
||||
return (PlatformCatch)redisTemplate.opsForValue().get(VideoManagerConstants.PLATFORM_CATCH_PREFIX + userSetting.getServerId() + "_" + platformGbId);
|
||||
|
||||
Reference in New Issue
Block a user