购物车:接入修改数量 API,剩余所有
This commit is contained in:
1 parent
6bdbebe2a0
commit
e45372d4b6
2 files changed
+263
-292
No files matched your search
@@ -19,6 +19,13 @@ export function createFavorite(spuId) {
|
||||
});
|
||||
}
|
||||
|
||||
// 添加多个商品收藏
|
||||
export function createFavoriteList(spuIds) {
|
||||
return request.post('app-api/product/favorite/create-list', {
|
||||
spuIds
|
||||
});
|
||||
}
|
||||
|
||||
// 取消商品收藏
|
||||
export function deleteFavorite(spuId) {
|
||||
return request.delete('app-api/product/favorite/delete', {
|
||||
|
||||
Reference in new issue
Block a user