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.
17 lines
316 B
17 lines
316 B
import request from '@/utils/request'
|
|
|
|
// api地址
|
|
const api = {
|
|
list: 'shop.navCategory/list',
|
|
detail: 'shop.navCategory/detail',
|
|
}
|
|
|
|
// 页面数据
|
|
export function list() {
|
|
return request.get(api.list)
|
|
}
|
|
|
|
// 页面数据
|
|
export function detail(categoryId) {
|
|
return request.get(api.detail, {categoryId})
|
|
}
|