import request from '@/utils/request' // api地址 const api = { list: 'goods/list', chartsGoodsJing:'goods/chartsGoodsJing', brandList:'goods/brandList', typeList:'category/list' } // 商品列表 export const list = (param, option) => { return request.get(api.list, param, option) } // 首页排行榜 export const chartsGoodsJing = (param, option) => { return request.get(api.chartsGoodsJing, param, option) } // 商品/大牌正品/新品首发列表 export const brandList = (param, option) => { return request.get(api.brandList, param, option) } // 首页分类 export const typeList = (param, option) => { return request.get(api.typeList, param, option) }