修复部分bug

This commit is contained in:
2022-07-07 15:14:46 +08:00
parent ddda63c1b0
commit e3a950481c
9 changed files with 104 additions and 34 deletions
+11
View File
@@ -55,4 +55,15 @@ export const AddFavoriteApi = () => {
url: `/v1/mall/favorite/product`,
method: "post",
})
}
/**
* 删除收藏夹商品
* @returns
*/
export const DelFavoriteProductApi = () => {
return useRequest({
url: `/v1/mall/favorite/product`,
method: "delete",
})
}