更新知识库相关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

@@ -685,8 +685,9 @@ export const KnowInfoAPI = {
getKnowInfos: async (params?: {
page?: number;
pageSize?: number;
search?: string;
categoryId?: number;
title?: string;
category?: string;
tags?: string;
}): Promise<KnowInfoListResponse> => {
try {
const response = await axios.get(`${API_BASE_URL}/know-infos`, { params });