更新知识库相关API接口,修改参数名称以提升一致性,同时在知识库管理页面中集成查询客户端以优化数据处理逻辑,增强用户体验和代码可维护性。

This commit is contained in:
zyh
2025-04-11 08:02:11 +00:00
parent a31a7629c0
commit 1fd30f3797
3 changed files with 11 additions and 7 deletions

View File

@@ -297,7 +297,7 @@ export default function({ apiClient, app, moduleDir }: ModuleParams) {
// 注册基础路由
api.route('/auth', createAuthRoutes(withAuth))
api.route('/users', createUserRoutes(withAuth))
api.route('/know-info', createKnowInfoRoutes(withAuth))
api.route('/know-infos', createKnowInfoRoutes(withAuth))
api.route('/upload', createFileUploadRoutes(withAuth)) // 添加文件上传路由
api.route('/file-categories', createFileCategoryRoutes(withAuth)) // 添加文件分类管理路由
api.route('/theme', createThemeRoutes(withAuth)) // 添加主题设置路由