api
This commit is contained in:
@@ -11,6 +11,12 @@ export default {
|
||||
is_video_img: is_video_img,
|
||||
});
|
||||
},
|
||||
// 发现详情
|
||||
getArticleInfo({ article_id }){
|
||||
return vm.$u.post('article/articleInfo', {
|
||||
article_id: article_id,
|
||||
});
|
||||
},
|
||||
// 发现(取消)点赞
|
||||
articleLike({ article_id }) {
|
||||
return vm.$u.post('article/articleLike', {
|
||||
@@ -34,6 +40,21 @@ export default {
|
||||
getRecommendList(){
|
||||
return vm.$u.post('MemberExpert/recommendList');
|
||||
},
|
||||
// 达人(搜索)列表
|
||||
getExpertList({ page, store_id, live_status, like_nickname }){
|
||||
return vm.$u.post('MemberExpert/expertList', {
|
||||
page: page,
|
||||
store_id: store_id,
|
||||
live_status: live_status,
|
||||
like_nickname: like_nickname,
|
||||
});
|
||||
},
|
||||
// 达人详情
|
||||
getExpertInfo({ member_id }){
|
||||
return vm.$u.post('MemberExpert/expertInfo', {
|
||||
member_id: member_id,
|
||||
});
|
||||
},
|
||||
// 获取商城首页信息(顶部轮播图与商品分类)
|
||||
getShopTopList(){
|
||||
return vm.$u.post('Shop/getShopTopList');
|
||||
|
||||
@@ -168,14 +168,16 @@ export default {
|
||||
getPointslogList() {
|
||||
return vm.$u.post('member/pointslogList');
|
||||
},
|
||||
// 商品收藏列表
|
||||
getGoodsFavoritesList() {
|
||||
return vm.$u.post('Member/getFavoritesList');
|
||||
// 收藏列表 商品 不传值;店铺 type: 2
|
||||
getFavoritesList({ type = undefined } = {}) {
|
||||
let params = {};
|
||||
if(type) Object.assign(params, {type: type})
|
||||
return vm.$u.post('Member/getFavoritesList', params);
|
||||
},
|
||||
// 店铺收藏列表
|
||||
getStoreFavoritesList({ type }) {
|
||||
return vm.$u.post('Member/getFavoritesList', {
|
||||
type: type,
|
||||
// 取消收藏(商品/店铺)
|
||||
removeFavorite({ id }) {
|
||||
return vm.$u.post('Member/removeFavorite', {
|
||||
id: id
|
||||
});
|
||||
},
|
||||
// 设置-用户信息
|
||||
@@ -191,6 +193,14 @@ export default {
|
||||
birthday: birthday,
|
||||
});
|
||||
},
|
||||
// 设置-关于我们
|
||||
aboutUsInfo() {
|
||||
return vm.$u.post('Setting/AboutUsInfo');
|
||||
},
|
||||
// 设置-证照中心
|
||||
certificateInfo() {
|
||||
return vm.$u.post('Setting/CertificateInfo');
|
||||
},
|
||||
// 用户浏览记录
|
||||
getBrowseList() {
|
||||
return vm.$u.post('Member/BrowseList');
|
||||
|
||||
Reference in New Issue
Block a user