Commit 0c85d0a049995c7cade5a78c62795133a7dcffc5
1 parent
4fb35da5
feature(*): 新增调试接口
- 新增调试接口
Showing
1 changed file
with
1 additions
and
1 deletions
fw-valhalla-rpc/src/main/java/cn/fw/valhalla/rpc/shirasawa/ShirasawaRpcService.java
... | ... | @@ -126,7 +126,7 @@ public class ShirasawaRpcService { |
126 | 126 | * @param userId |
127 | 127 | * @return |
128 | 128 | */ |
129 | - @Cacheable(cacheNames = RedisKey.TODO_COUNT, key = "#userId", condition = "#result!=null && #result==false") | |
129 | + @Cacheable(cacheNames = RedisKey.TODO_COUNT, key = "#userId", condition = "#result!=null && #result==true") | |
130 | 130 | public Boolean hasOngoingFollow(Long userId) { |
131 | 131 | try { |
132 | 132 | if (Objects.isNull(userId)) { | ... | ... |