This commit is contained in:
2020-07-17 17:34:42 +08:00
parent 5a4e302899
commit 7b9479d56c
10 changed files with 308 additions and 291 deletions

View File

@@ -78,9 +78,10 @@ export default {
return vm.$u.post('Goods/getGoodsClassifyList');
},
// 商品推荐
getGoodsRecommend({page}){
getGoodsRecommend({page, gc_id}){
return vm.$u.post('Goods/getGoodsRecommend', {
page: page
page: page,
gc_id: gc_id,
});
},
// 购物车商品列表
@@ -188,14 +189,25 @@ export default {
});
},
// 拼团列表
getPinTuanList() {
return vm.$u.post('Specialci/pintuanList');
getPinTuanList({ page, gc_id }) {
return vm.$u.post('Specialci/pintuanList', {
page: page,
gc_id: gc_id,
});
},
// 拼团商品详情
getPinTuanDetails({ pintuan_id }) {
return vm.$u.post('Specialci/pintuanInfo', { pintuan_id: pintuan_id });
},
// 优惠券列表
// pintuanPush
getPinTuanPush() {
return vm.$u.post('Specialci/pintuanPush');
},
// 商品分类(拼团分类)
getGoodsClass() {
return vm.$u.post('Specialci/goodsClass');
},
// 优惠券列表(要兑换的)
getCouponList({ page, store_id, type, gc_id }) {
return vm.$u.post('Coupon/CouponList', {
page: page,
@@ -205,9 +217,18 @@ export default {
});
},
// 领取优惠券
getCoupon({ vouchertemplate_id }) {
getCoupon({ id }) {
return vm.$u.post('Coupon/getCoupon', {
vouchertemplate_id: vouchertemplate_id,
vouchertemplate_id: id,
});
},
// 我的优惠券(已有的)
getMemberCouponList({ store_id, gc_id, type, status }) {
return vm.$u.post('Coupon/getMemberCouponList', {
store_id: store_id,
gc_id: gc_id,
type: type,
status: status,
});
}
}