案例专家:userId更换成code

This commit is contained in:
liu.zixi
2025-10-11 11:51:39 +08:00
parent 5e20e21e86
commit 08bd7f155f

View File

@@ -92,7 +92,7 @@ public class CaseAiChatServiceImpl implements ICaseAiChatService {
String conversationId = getOrCreateConversationId(caseAiChatDto, currentUser); String conversationId = getOrCreateConversationId(caseAiChatDto, currentUser);
// 3. 构建请求参数 // 3. 构建请求参数
String userId = currentUser.getAccountId(); String userId = currentUser.getCode();
String kId = caseAiProperties.getCaseKnowledgeId(); String kId = caseAiProperties.getCaseKnowledgeId();
JSONObject chatParam = new JSONObject(); JSONObject chatParam = new JSONObject();
chatParam.put("userId", userId); chatParam.put("userId", userId);