对接购物车列表

This commit is contained in:
2022-05-10 18:00:02 +08:00
parent f3c818f549
commit d0f069937b
14 changed files with 296 additions and 119 deletions
+11
View File
@@ -20,4 +20,15 @@ export const AddShoppingCartApi = () => {
url: `/v1/mall/shoppingCart/productColor/list`,
method: "post",
})
}
/**
* 批量删除购物车面料颜色
* @returns
*/
export const DelShoppingCartApi = () => {
return useRequest({
url: `/v1/mall/shoppingCart/productColor`,
method: "delete",
})
}