🐞 fix(购物页面): 修复购物页面调整价格出错的bug
This commit is contained in:
+1
-1
@@ -12,7 +12,7 @@ export {
|
||||
} from './product/index'
|
||||
|
||||
// 关于购物页面
|
||||
export { ShoppingCartUpdateApi, ShoppingCartDeleteApi, ShoppingCartListApi } from './shopping/index'
|
||||
export { ShoppingCartDeleteApi, ShoppingCartListApi } from './shopping/index'
|
||||
|
||||
// 关于发货列表
|
||||
export {
|
||||
|
||||
+1
-1
@@ -67,7 +67,7 @@ export const mpsaleOrdercancel = () => {
|
||||
//再次购买
|
||||
export const mpshoppingCartproductColorlist = () => {
|
||||
return useRequest({
|
||||
url: `/v1/mp/shoppingCart/productColor/list`,
|
||||
url: `/v2/mp/shoppingCart/productColor/list`,
|
||||
method: "post",
|
||||
})
|
||||
}
|
||||
|
||||
@@ -3,12 +3,12 @@ import { useRequest } from '@/use/useHttp'
|
||||
* 修改购物车
|
||||
* @returns
|
||||
*/
|
||||
export const ShoppingCartUpdateApi = () => {
|
||||
return useRequest({
|
||||
url: `/v1/mp/shoppingCart/productColor`,
|
||||
method: 'put',
|
||||
})
|
||||
}
|
||||
// export const ShoppingCartUpdateApi = () => {
|
||||
// return useRequest({
|
||||
// url: `/v1/mp/shoppingCart/productColor`,
|
||||
// method: 'put',
|
||||
// })
|
||||
// }
|
||||
/**
|
||||
* 删除购物车商品
|
||||
* @returns
|
||||
@@ -35,7 +35,7 @@ export const ShoppingCartListApi = () => {
|
||||
*/
|
||||
export const AdjestShoppingCartApi = () => {
|
||||
return useRequest({
|
||||
url: `/v2/mp/shoppingCart/productColor/list`,
|
||||
method: 'post',
|
||||
url: `/v2/mp/shoppingCart/productColor`,
|
||||
method: 'put',
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user