feat(agent): 重构聊天页面实现,新增Coze SDK集成和API接口,优化路由权限配置

This commit is contained in:
林志军
2025-07-11 14:40:19 +08:00
parent a5c92999b1
commit f7ff8b2bd5
4 changed files with 159 additions and 46 deletions

6
src/api/all/agent.ts Normal file
View File

@ -0,0 +1,6 @@
// 投放账号计划
import Http from '@/api';
// 获取聊天智能体
export const getChatAgent = (id: number) => {
return Http.get(`/v1/agent/getChatAgent/${id}`);
};