|
@@ -162,12 +162,12 @@
|
|
|
arr = await that.$api(`/user/${user._id}`, 'GET');
|
|
|
if (arr.errcode == '0') that.$set(that, `user`, arr.data);
|
|
|
// 查询收藏商品
|
|
|
- arr = await that.$api(`/storeGoods`, 'GET', {
|
|
|
+ arr = await that.$api(`/storeGoods/userView`, 'GET', {
|
|
|
customer: user._id
|
|
|
})
|
|
|
if (arr.errcode == '0') that.$set(that, `market_num`, arr.total);
|
|
|
// 查询收藏店铺
|
|
|
- arr = await that.$api(`/storeShop`, 'GET', {
|
|
|
+ arr = await that.$api(`/storeShop/userView`, 'GET', {
|
|
|
customer: user._id
|
|
|
})
|
|
|
if (arr.errcode == '0') that.$set(that, `shop_num`, arr.total);
|