From 6223c8e994f42f340eb37e7db306da5a13eec694 Mon Sep 17 00:00:00 2001 From: xupei Date: Fri, 23 Jan 2026 22:25:01 +0800 Subject: [PATCH] brandDNA --- src/main/java/com/ai/da/python/PythonService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/ai/da/python/PythonService.java b/src/main/java/com/ai/da/python/PythonService.java index 0cbc672f..feb02dfe 100644 --- a/src/main/java/com/ai/da/python/PythonService.java +++ b/src/main/java/com/ai/da/python/PythonService.java @@ -4309,7 +4309,7 @@ public class PythonService { Map map = new HashMap<>(); map.put("prompt", prompt); AuthPrincipalVo userHolder = UserContext.getUserHolder(); - map.put("user_id", userHolder.getId()); + map.put("user_id", userHolder.getId().toString()); log.info("brandDNAGenerate请求python 参数:####{}", map); String param = JSON.toJSONString(map, SerializerFeature.WriteNullStringAsEmpty); log.info(param);