商家列表,商家主页,我的团队
This commit is contained in:
@@ -21,16 +21,33 @@ const goods = id => {
|
||||
})
|
||||
}
|
||||
|
||||
// 套餐列表
|
||||
const meals = (id, categoryId) => {
|
||||
// 店铺列表
|
||||
const shops = (categoryId) => {
|
||||
return request({
|
||||
url: 'mall/meals/' + id,
|
||||
url: 'mall/shops',
|
||||
data: {
|
||||
category_id: categoryId
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
// 店铺详情
|
||||
const shopsDetail = (shopId) => {
|
||||
return request({
|
||||
url: 'mall/shops/' + shopId,
|
||||
})
|
||||
}
|
||||
|
||||
// 店铺商品
|
||||
const shopsGoods = (shop_id) => {
|
||||
return request({
|
||||
url: 'mall/goods',
|
||||
data: {
|
||||
shop_id
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
// 商品列表
|
||||
const lists = data => {
|
||||
return request({
|
||||
@@ -66,7 +83,9 @@ const classify = id => {
|
||||
export {
|
||||
mall,
|
||||
goods,
|
||||
meals,
|
||||
shops,
|
||||
shopsDetail,
|
||||
shopsGoods,
|
||||
lists,
|
||||
buy,
|
||||
verify,
|
||||
|
||||
Reference in New Issue
Block a user