12345678910111213141516171819202122 |
- import request from '@/sheep/request';
- const CategoryApi = {
- // 查询分类列表
- getCategoryList: (data) => {
- return request({
- url: '/product/category/list',
- method: 'GET',
- data
- });
- },
- // 查询分类列表,指定编号
- getCategoryListByIds: (ids) => {
- return request({
- url: '/product/category/list-by-ids',
- method: 'GET',
- params: { ids },
- });
- },
- };
- export default CategoryApi;
|