fix: 🧩 修复bug
This commit is contained in:
@@ -36,7 +36,7 @@ export const getProductListSortApi = (params: any) => {
|
||||
const { id, sort } = params;
|
||||
return http.post<any>(`${PRODUCT}/sort/${id}`, { sort });
|
||||
};
|
||||
// getProductCategoryListApi
|
||||
export const getProductCategoryListApi = () => {
|
||||
return http.get<any>(`/product/categorys`);
|
||||
// 产品分类
|
||||
export const getProductCategoryListApi = (params?: any) => {
|
||||
return http.get<any>(`/product/categorys`, params);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user