增加导入

This commit is contained in:
2026-02-22 23:19:48 +08:00
parent 8ace847b9a
commit 547953cd00
10 changed files with 403 additions and 68 deletions

View File

@@ -6,7 +6,7 @@ export interface AiAgent {
id: number; // 主键
agentId?: string; // 智能体ID
agentName?: string; // 智能体名称
categoryId?: number; // 分类ID
categoryName?: string; // 分类名称
icon?: string; // 图标URL
status?: number; // 状态(0-禁用 1-启用)
description?: string; // 设定描述
@@ -50,4 +50,9 @@ export const AiAgentApi = {
exportAiAgent: async (params) => {
return await request.download({ url: `/muye/ai-agent/export-excel`, params })
},
// 下载AI智能体导入模板
importAiAgentTemplate: async () => {
return await request.download({ url: `/muye/ai-agent/get-import-template` })
}
}