From ab5ba1cb04581f55b82e6474452adeb239b9ba44 Mon Sep 17 00:00:00 2001
From: zmc <zmc_li@foxmail.com>
Date: 星期三, 22 十一月 2023 16:27:08 +0800
Subject: [PATCH] 1.修改了请求网址的路径 2.修改了路由

---
 src/api/index.js |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/api/index.js b/src/api/index.js
index 00d6e27..e4deb55 100644
--- a/src/api/index.js
+++ b/src/api/index.js
@@ -1,9 +1,9 @@
 import axios from 'axios';
 import { setInterceptors } from './config';
 
-const url = 'http://localhost:8081/';
+// const url = 'http://localhost:8081/';
 // 閮ㄧ讲
-// const url = 'http://114.215.109.124:8803/';
+const url = 'http://114.215.109.124:8803/';
 // const url = 'http://192.168.1.8:8081/';
 
 //椋炵窘鐩戠
@@ -20,7 +20,8 @@
   baseURL: url_py,
   timeout: 10000
 });
+
 //娣诲姞鎷︽埅鍣�
 setInterceptors($http,$http_py);
 
-export { $http,$http_py};
+export { $http,$http_py,url};

--
Gitblit v1.9.3