更新知识库相关API接口,修改参数名称以提升一致性,同时在知识库管理页面中集成查询客户端以优化数据处理逻辑,增强用户体验和代码可维护性。
This commit is contained in:
@@ -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 });
|
||||
|
||||
Reference in New Issue
Block a user