Commit a2b94be6c67d5efac78f33f72a0c684db9b9eeb2
1 parent
89bd2e6c
feature(*): 修复bug
- 修复bug
Showing
2 changed files
with
3 additions
and
2 deletions
fw-valhalla-server/src/main/resources/application-local.yml
fw-valhalla-service/src/main/java/cn/fw/valhalla/component/consumer/FollowResultConsumer.java
... | ... | @@ -2,6 +2,7 @@ package cn.fw.valhalla.component.consumer; |
2 | 2 | |
3 | 3 | import cn.fw.shirasawa.sdk.enums.DataTypeEnum; |
4 | 4 | import cn.fw.shirasawa.sdk.mq.FollowResultDTO; |
5 | +import cn.fw.valhalla.common.constant.RedisKey; | |
5 | 6 | import cn.fw.valhalla.domain.db.follow.FollowClue; |
6 | 7 | import cn.fw.valhalla.domain.enums.FollowTypeEnum; |
7 | 8 | import cn.fw.valhalla.service.bus.follow.FollowBizService; |
... | ... | @@ -47,7 +48,7 @@ public class FollowResultConsumer implements RocketMQListener<FollowResultDTO> { |
47 | 48 | } |
48 | 49 | |
49 | 50 | @Override |
50 | - @CacheEvict(cacheNames = "rpc:user:follow-todo:count", key = "#dto.userId", beforeInvocation = true) | |
51 | + @CacheEvict(cacheNames = RedisKey.TODO_COUNT, key = "#dto.userId", beforeInvocation = true) | |
51 | 52 | public void onMessage(FollowResultDTO dto) { |
52 | 53 | log.info("处理跟进结果MQ消息:{}", JSONObject.toJSONString(dto)); |
53 | 54 | try { | ... | ... |