refactor(oa): 重构 AI 聊天接口

- 新增 OaAiChatBo 类封装请求参数
- 修改 chat 方法签名,使用 OaAiChatBo作为参数
- 更新方法内部逻辑,使用 OaAiChatBo 中的属性
This commit is contained in:
2025-08-04 15:02:39 +08:00
parent e0e5da4e1a
commit 695659ba6f
2 changed files with 20 additions and 10 deletions

View File

@@ -0,0 +1,9 @@
package com.ruoyi.oa.domain.bo;
import lombok.Data;
@Data
public class OaAiChatBo {
Long conversationId;
String message;
}