From 9a5ad4f42f936fa5b36cd039a670d36e6f70a568 Mon Sep 17 00:00:00 2001
From: ZhangXianQiang <1135831638@qq.com>
Date: 星期五, 15 三月 2024 11:48:04 +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