From ffadfe59650713d680e7b42c6e2fcff7969c3766 Mon Sep 17 00:00:00 2001 From: czm <2192718639@qq.com> Date: Fri, 24 Feb 2023 18:26:04 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=88=20perf(ID1000894=20=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE=E9=9D=A2=E6=96=99=E4=BC=98=E9=80=89=E4=BB=B7=E6=A0=BC?= =?UTF-8?q?=E4=BD=93=E7=B3=BB):?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/material.ts | 3 ++- src/api/materialColor.ts | 3 ++- src/api/shopCart.ts | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/api/material.ts b/src/api/material.ts index a74f9f6..6c7c40a 100644 --- a/src/api/material.ts +++ b/src/api/material.ts @@ -49,7 +49,8 @@ export const GetClassList = () => { */ export const GetProductDetailApi = () => { return useRequest({ - url: '/v1/mall/product', + // url: '/v1/mall/product', + url: '/v3/mallCherry/product', method: 'get', }) } diff --git a/src/api/materialColor.ts b/src/api/materialColor.ts index bdb807e..a48c010 100644 --- a/src/api/materialColor.ts +++ b/src/api/materialColor.ts @@ -6,7 +6,8 @@ import { useRequest } from '@/use/useHttp' */ export const GetColorList = () => { return useRequest({ - url: '/v1/mall/product/color/list', + // url: '/v1/mall/product/color/list', + url: '/v3/mallCherry/product/color/list', method: 'get', }) } diff --git a/src/api/shopCart.ts b/src/api/shopCart.ts index ae493b8..7b449f0 100644 --- a/src/api/shopCart.ts +++ b/src/api/shopCart.ts @@ -61,7 +61,8 @@ export const UpdateShoppingCartApi = () => { */ export const GetShoppingCartV2Api = () => { return useRequest({ - url: '/v2/mall/shoppingCart/productColor', + // url: '/v2/mall/shoppingCart/productColor', + url: '/v3/mallCherry/shoppingCart/productColor', method: 'get', }) }