This commit is contained in:
2020-07-01 17:32:36 +08:00
parent dc69746320
commit dc72f79ee8
24 changed files with 268 additions and 127 deletions

View File

@@ -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');