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.
22 lines
430 B
22 lines
430 B
10 months ago
|
import request from '@/utils/request'
|
||
|
|
||
|
// api地址
|
||
|
const api = {
|
||
|
brandList: 'goods/brandList',
|
||
|
category: 'category/list',
|
||
|
getImage: 'goods/getCommonConfig',
|
||
|
}
|
||
|
|
||
|
// 大牌
|
||
|
export const brandList = (data) => {
|
||
|
return request.get(api.brandList, data)
|
||
|
}
|
||
|
// 分类
|
||
|
export const category = (data) => {
|
||
|
return request.get(api.category, data)
|
||
|
}
|
||
|
// 轮播
|
||
|
export const getImage = (data) => {
|
||
|
return request.get(api.getImage, data)
|
||
|
}
|