You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
yanzong_qianduan/api/category/index.js

17 lines
342 B

11 months ago
import request from '@/utils/request'
// api地址
const api = {
10 months ago
list: 'category/list',
sonList:'goods/list'
11 months ago
}
10 months ago
// 获取分类列表
export const list = (param, option) => {
return request.get(api.list, param, option)
11 months ago
}
10 months ago
// 获取子分类
export const sonList = (param, option) => {
return request.get(api.sonList, param, option)
}