购物车添加数量组件
This commit is contained in:
@@ -31,4 +31,15 @@ export const DelShoppingCartApi = () => {
|
||||
url: `/v1/mall/shoppingCart/productColor`,
|
||||
method: "delete",
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改购物车数量
|
||||
* @returns
|
||||
*/
|
||||
export const UpdateShoppingCartApi = () => {
|
||||
return useRequest({
|
||||
url: `/v1/mall/shoppingCart/productColor`,
|
||||
method: "put",
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user