7.15
This commit is contained in:
@@ -1,6 +1,14 @@
|
||||
export default {
|
||||
init(vm){
|
||||
return {
|
||||
// 获取首页轮播
|
||||
getIndexSwiper() {
|
||||
return vm.$u.post('adv/indexadv');
|
||||
},
|
||||
// 获取首页轮播
|
||||
getZhiBoSwiper() {
|
||||
return vm.$u.post('adv/divebroadcastxadv');
|
||||
},
|
||||
// 发现列表
|
||||
getArticlelist({ page, value, store_id, member_id, is_video_img }){
|
||||
return vm.$u.post('article/articlelist', {
|
||||
@@ -29,6 +37,12 @@ export default {
|
||||
article_id: article_id,
|
||||
});
|
||||
},
|
||||
// 直播列表
|
||||
// getZhiboList() {
|
||||
// return vm.$u.post('article/articleCollect', {
|
||||
// article_id: article_id,
|
||||
// });
|
||||
// },
|
||||
// 屏蔽用户
|
||||
articleAddShield({ article_id, member_id }) {
|
||||
return vm.$u.post('article/articleAddShield', {
|
||||
@@ -129,8 +143,14 @@ export default {
|
||||
});
|
||||
},
|
||||
// 商品详情
|
||||
// getGoodsDetails({ id }) {
|
||||
// return vm.$u.post('Goods/goodDetails', {
|
||||
// goods_id: id
|
||||
// });
|
||||
// },
|
||||
// 商品详情
|
||||
getGoodsDetails({ id }) {
|
||||
return vm.$u.post('Goods/goodDetails', {
|
||||
return vm.$u.post('goods/goodsInfo', {
|
||||
goods_id: id
|
||||
});
|
||||
},
|
||||
@@ -149,7 +169,23 @@ export default {
|
||||
return vm.$u.post('goods/goodsInfo', {
|
||||
goods_id: id
|
||||
});
|
||||
}
|
||||
},
|
||||
// 秒杀推荐
|
||||
recommendedSpike() {
|
||||
return vm.$u.post('Spike/recommendedSpike');
|
||||
},
|
||||
// 秒杀详情
|
||||
getSpikeInfo({ id }) {
|
||||
return vm.$u.post('Spike/spikeInfo', {
|
||||
groupbuy_id: id
|
||||
});
|
||||
},
|
||||
// 秒杀列表
|
||||
getSpikeList({ page }) {
|
||||
return vm.$u.post('spike/spikeList', {
|
||||
page: page
|
||||
});
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -302,6 +302,14 @@ export default {
|
||||
delMessage({ type }) {
|
||||
return vm.$u.post('/message/readMessage', { type });
|
||||
},
|
||||
// 屏蔽列表
|
||||
articlShieldList() {
|
||||
return vm.$u.post('/Article/articlShieldList');
|
||||
},
|
||||
// 取消屏蔽
|
||||
articleDelShield({ id }) {
|
||||
return vm.$u.post('article/articleDelShield', { member_id: id });
|
||||
},
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user