修改方法
This commit is contained in:
@@ -60,14 +60,14 @@ public class IntelligentCustomerMqConsumer implements RocketMQListener<MessageEx
|
||||
intelligentCustomerService.fourInOneMqService(fourRequestDTO);
|
||||
log.info("FourInOneRequestDTO处理完成,耗时:{}", System.currentTimeMillis() - startTime);
|
||||
} catch (JsonProcessingException e) {
|
||||
log.info(" dcc mq 处理失败:{}", e.getMessage());
|
||||
log.info("intelligentCustomerMqConsumer mq 处理失败:{}", e.getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@PostMapping("ntelligentCustomerMqConsumer")
|
||||
public void onMessage(@RequestBody String message) {
|
||||
@PostMapping("intelligentCustomerMqConsumer")
|
||||
public void intelligentCustomerMqConsumer(@RequestBody String message) {
|
||||
long startTime = System.currentTimeMillis();
|
||||
try {
|
||||
log.info("intelligentCustomerMqConsumer 当前线程: {}, 线程ID: {}", Thread.currentThread().getName(), Thread.currentThread().getId());
|
||||
|
||||
@@ -56,7 +56,7 @@ public class IntelligentCustomerServiceImpl implements IntelligentCustomerServic
|
||||
@Resource
|
||||
private RocketMQTemplate rocketMqTemplate;
|
||||
|
||||
@Value("${rocketmq.producer.corpus.topic}")
|
||||
@Value("${rocketmq.producer.intelligentCustomer.topic}")
|
||||
private String topic;
|
||||
@Value("${dify.intelligentCustomer.fourInOneToken}")
|
||||
private String fourInOneToken;
|
||||
|
||||
Reference in New Issue
Block a user