.
This commit is contained in:
@@ -16,6 +16,21 @@ const CategoryApi = {
|
||||
params: { ids },
|
||||
});
|
||||
},
|
||||
// 查询可用分类 --- 新加的接口
|
||||
getCategoryTree: () => {
|
||||
return request({
|
||||
url: '/product/category/tree',
|
||||
method: 'GET',
|
||||
});
|
||||
},
|
||||
// 测试
|
||||
test: (data) => {
|
||||
return request({
|
||||
url: '/cloth/list',
|
||||
method: 'POST',
|
||||
data,
|
||||
});
|
||||
},
|
||||
};
|
||||
|
||||
export default CategoryApi;
|
||||
|
||||
Reference in New Issue
Block a user