From a2c0ffa1c363c9febf397bf194e707626117dbc4 Mon Sep 17 00:00:00 2001 From: p-honggang.li <p-honggang.li@pcitc.com> Date: 星期五, 29 八月 2025 11:29:35 +0800 Subject: [PATCH] 修改配置 --- src/api/productApi.ts | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/src/api/productApi.ts b/src/api/productApi.ts index ec73b81..f2ac4cd 100644 --- a/src/api/productApi.ts +++ b/src/api/productApi.ts @@ -1,11 +1,12 @@ import createAxios from '@/utils/axios' -let url = '/test/report/product/' +let url = '/report/product/' const productApi = { // 鑾峰彇浜у搧鍒楄〃 getProductList(data: any): ApiPromise { return createAxios({ + baseURL: '/api', url: `${url}accessApplyList`, method: 'POST', data: data, @@ -15,6 +16,7 @@ // 鏍规嵁ID鑾峰彇浜у搧璇︽儏 getProductById(data: any): ApiPromise { return createAxios({ + baseURL: '/api', url: `${url}get`, method: 'post', data: data, @@ -22,6 +24,7 @@ }, getCategoryByParent(data: any):ApiPromise{ return createAxios({ + baseURL: '/api', url: `${url}categoryByParent`, method: 'post', data: data, -- Gitblit v1.8.0