mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-11 03:46:50 +08:00
案例专家:userId更换成code
This commit is contained in:
@@ -235,7 +235,7 @@ public class CaseAiChatServiceImpl implements ICaseAiChatService {
|
|||||||
if (StringUtils.isEmpty(conversationId)) {
|
if (StringUtils.isEmpty(conversationId)) {
|
||||||
// 新会话,调用创建会话接口
|
// 新会话,调用创建会话接口
|
||||||
String conversationName = "AI案例咨询-" + LocalDateTime.now().toString();
|
String conversationName = "AI案例咨询-" + LocalDateTime.now().toString();
|
||||||
CaseAiConversations newConversation = createNewConversation(currentUser.getAccountId(), conversationName);
|
CaseAiConversations newConversation = createNewConversation(currentUser.getCode(), conversationName);
|
||||||
return newConversation.getAiConversationId();
|
return newConversation.getAiConversationId();
|
||||||
} else {
|
} else {
|
||||||
// 已存在会话,从数据库查询
|
// 已存在会话,从数据库查询
|
||||||
|
|||||||
Reference in New Issue
Block a user