From 8e4ab7acddbdb84fd755acf7e75cf471f50cba60 Mon Sep 17 00:00:00 2001 From: houzhongjian <houzhongyi@126.com> Date: 星期四, 31 十月 2024 10:16:47 +0800 Subject: [PATCH] 优化部分页面及配置 --- src/config/axios/config.ts | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/src/config/axios/config.ts b/src/config/axios/config.ts index 8116508..45a8908 100644 --- a/src/config/axios/config.ts +++ b/src/config/axios/config.ts @@ -1,5 +1,6 @@ const config: { base_url: string + plat_url: string result_code: number | string default_headers: AxiosHeaders request_timeout: number @@ -9,6 +10,10 @@ */ base_url: import.meta.env.VITE_BASE_URL + import.meta.env.VITE_API_URL, /** + * 平台请求基础路径 + */ + plat_url: import.meta.env.VITE_PLAT_URL + import.meta.env.VITE_PLAT_API_URL, + /** * 接口成功返回状态码 */ result_code: 200, -- Gitblit v1.9.3