移动端店铺收藏问题

This commit is contained in:
chc
2023-05-15 14:34:54 +08:00
parent 5e5d5b904b
commit 6717721725
2 changed files with 19 additions and 2 deletions

View File

@@ -202,6 +202,22 @@ export function getGoodsCollection(params, type) {
});
}
/**
* 获取商品收藏
* @param params
* @returns {AxiosPromise}
*/
export function getStoreCollection(params, type) {
return http.request({
url: `/member/storeCollection/${type}`,
method: Method.GET,
needToken: true,
loading: false,
message: false,
params,
});
}
/**
* 收藏商品
* @returns {AxiosPromise}