fix: 🧩 修复测试bug

This commit is contained in:
2025-03-31 17:01:27 +08:00
parent aeaf68307f
commit 716b383a87
23 changed files with 222 additions and 52 deletions

View File

@@ -37,6 +37,6 @@ export const getBannerListExportApi = (params: any) => {
});
};
//分类
export const getBannerClassListApi = () => {
return http.get<any>(`/banner/list`); //v1/banner/list
export const getBannerClassListApi = (params: any) => {
return http.get<any>(`/banner/list`, params); //v1/banner/list
};

View File

@@ -26,6 +26,6 @@ export const getCategorySortApi = (params: any) => {
return http.post<any>(`${ATT_C}/sort/${params.id}`, { sort: params.sort });
};
//下载分类下拉列表
export const getCategorysApi = () => {
return http.get<any>(`/attachment/categorys`);
export const getCategorysApi = (params: any) => {
return http.get<any>(`/attachment/categorys`, params);
};

View File

@@ -27,6 +27,6 @@ export const getVideoListExportApi = (params: any) => {
});
};
//视频分类
export const getVideoClassListApi = () => {
return http.get<any>(`/video/categorys`);
export const getVideoClassListApi = (params: any) => {
return http.get<any>(`/video/categorys`, params);
};