From bd3c33aa502fe04978e64d8b3ca4f4a2b9269103 Mon Sep 17 00:00:00 2001 From: czm <2192718639@qq.com> Date: Tue, 28 Feb 2023 17:24:26 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat(=E6=9B=B4=E6=8D=A2api):?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/order.ts | 2 +- src/api/shopCart.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) 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', }) }