联调 dify日志打印

This commit is contained in:
ZLI263
2025-09-15 15:04:39 +08:00
parent ad14e19005
commit 3d65f18a4d
2 changed files with 2 additions and 0 deletions

View File

@@ -27,3 +27,4 @@ public class JobTaskException extends RuntimeException {
super(cause); super(cause);
} }
} }

View File

@@ -184,6 +184,7 @@ public class TmNameplateCorpusServiceImpl extends ServiceImpl<TmNameplateCorpusM
diFyImageReq.setInputs(inputMap); diFyImageReq.setInputs(inputMap);
// 创建新的DiFyReq对象以避免线程安全问题 // 创建新的DiFyReq对象以避免线程安全问题
diFyImageReq.setFlowId(oneTokenPortrait); diFyImageReq.setFlowId(oneTokenPortrait);
log.info("runDify execDifyFlow ,客户画像场景 token {} , 对象: {}", oneTokenPortrait, diFyImageReq);
JSONObject execDifyFlowForPortrait = diFyService.executeDifyFlow(diFyImageReq, BusinessTypeEnum.CORPUS_PORTRAIT_NAMEPLATE.getCode(), JSONObject execDifyFlowForPortrait = diFyService.executeDifyFlow(diFyImageReq, BusinessTypeEnum.CORPUS_PORTRAIT_NAMEPLATE.getCode(),
JSONObject.toJSONString(corpusReportDTO), null); JSONObject.toJSONString(corpusReportDTO), null);