Commit a2b94be6c67d5efac78f33f72a0c684db9b9eeb2

Authored by 张志伟
1 parent 89bd2e6c

feature(*): 修复bug

- 修复bug
fw-valhalla-server/src/main/resources/application-local.yml
... ... @@ -7,7 +7,7 @@ spring:
7 7 preferred-networks:
8 8 - 10.8
9 9 application:
10   - name: fw-valhalla
  10 + name: fw-valhalla-local
11 11 datasource:
12 12 hikari:
13 13 connection-test-query: ''
... ...
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 {
... ...