diff --git a/src/api/order.ts b/src/api/order.ts index 504c3dc..08ac9e7 100644 --- a/src/api/order.ts +++ b/src/api/order.ts @@ -17,7 +17,7 @@ export const SaleOrderApi = () => { export const SaleOrderPreViewApi = () => { return useRequest({ // url: '/v1/mall/saleOrder/preView', - url: '/v3/mallCherry/saleOrder/preView', + url: '/v3/mallCherry/saleOrder/preView/shoppingCart', method: 'put', }) } diff --git a/src/api/shopCart.ts b/src/api/shopCart.ts index 7b449f0..7fe6f4d 100644 --- a/src/api/shopCart.ts +++ b/src/api/shopCart.ts @@ -95,7 +95,8 @@ export const GetScrewProductApi = () => { */ export const SaleOrderpreView = () => { return useRequest({ - url: '/v2/mall/saleOrder/preView', + // url: '/v2/mall/saleOrder/preView', + url: '/v3/mallCherry/saleOrder/preView/atOnce', method: 'put', }) }