From b3d89f70b2fefd7438eec61f7662da30ff8923c1 Mon Sep 17 00:00:00 2001 From: ZhangXianQiang <1135831638@qq.com> Date: 星期五, 15 三月 2024 14:35:46 +0800 Subject: [PATCH] feat:道路数据接口 --- src/config/UtilVar.ts | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/config/UtilVar.ts b/src/config/UtilVar.ts index ffe5dad..d1b7cce 100644 --- a/src/config/UtilVar.ts +++ b/src/config/UtilVar.ts @@ -6,7 +6,7 @@ } const UtilVar:UtilVarType = { - baseUrl:"", + baseUrl:"/api", code:401, //鐧婚檰杩囨湡 noContentCode:204, //璇锋眰鎴愬姛浣嗘病鏈夊唴瀹� ENC:false, @@ -15,11 +15,12 @@ const runtimeType:any = { production: () => { - + UtilVar.baseUrl = ''; }, //寮�鍙戠幆澧� development: () => { // UtilVar.baseUrl= `http://www.xihuanmantou.cn:19527` + UtilVar.baseUrl = '/api'; }, hash:()=>{ -- Gitblit v1.8.0