景区缓存清除逻辑修复
This commit is contained in:
parent
0bff98f28c
commit
cfc870edb6
@ -98,6 +98,8 @@ public class ScenicRepository {
|
|||||||
public void clearCache(Long scenicId) {
|
public void clearCache(Long scenicId) {
|
||||||
redisTemplate.delete(String.format(SCENIC_CACHE_KEY, scenicId));
|
redisTemplate.delete(String.format(SCENIC_CACHE_KEY, scenicId));
|
||||||
redisTemplate.delete(String.format(SCENIC_CONFIG_CACHE_KEY, scenicId));
|
redisTemplate.delete(String.format(SCENIC_CONFIG_CACHE_KEY, scenicId));
|
||||||
|
redisTemplate.delete(String.format(SCENIC_MP_CACHE_KEY, scenicId));
|
||||||
|
redisTemplate.delete(String.format(SCENIC_MP_NOTIFY_CACHE_KEY, scenicId));
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user