铭牌 回调 日志
This commit is contained in:
@@ -217,7 +217,7 @@ public class TmNameplateCorpusServiceImpl extends ServiceImpl<TmNameplateCorpusM
|
||||
if (null != execDifyFlow && execDifyFlow.get("status").equals("succeeded")) {
|
||||
String text = execDifyFlow.getString("outputs");
|
||||
// 发送MQ
|
||||
log.info("铭牌send mq {}", text);
|
||||
log.info("铭牌send mq 业务类型是:{}, Json 是:{}", businessType, text);
|
||||
if (BusinessTypeEnum.SMART_ASSISTANT_NAMEPLATE.getCode().equals(businessType)) {//一句话总结+分类
|
||||
tmTelephoneCorpusService.sendMq( CategoryEnum.NAMEPLATE_VOICE.getCode(), text);
|
||||
}else if (BusinessTypeEnum.CORPUS_PORTRAIT_NAMEPLATE.getCode().equals(businessType)) {// 客户画像
|
||||
@@ -237,6 +237,7 @@ public class TmNameplateCorpusServiceImpl extends ServiceImpl<TmNameplateCorpusM
|
||||
@Override
|
||||
public ResultMsg<Object> updateNameplate(String message) {
|
||||
if(StringUtils.isNotEmpty(message)){
|
||||
log.info("updateNameplate 回调 message: {}", message);
|
||||
JSONObject analysisResp = JSONObject.parseObject(message);
|
||||
String aiAnalysisRequestId = analysisResp.getString("aiAnalysisRequestId");
|
||||
String difyResponse = analysisResp.getString("difyResponse");
|
||||
|
||||
Reference in New Issue
Block a user