From a61623f7887a78170e5ab91d1fbf7929ce0e82fd Mon Sep 17 00:00:00 2001 From: zmc <zmc_li@foxmail.com> Date: 星期四, 02 十一月 2023 11:40:44 +0800 Subject: [PATCH] “去掉点击站点时页面上的搜索框和排名清单” --- src/api/index.js | 19 +++++++++++++------ 1 files changed, 13 insertions(+), 6 deletions(-) diff --git a/src/api/index.js b/src/api/index.js index aff2f7b..41cd230 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://47.100.191.150:9031/'; -// const url = 'http://192.168.1.4:8081/'; -const url = 'http://localhost:8081/'; +// const url = 'http://localhost:8081/'; +// 閮ㄧ讲 +const url = 'http://114.215.109.124:8803/'; //椋炵窘鐩戠 const $http = axios.create({ @@ -11,7 +11,14 @@ timeout: 10000 }); -//娣诲姞鎷︽埅鍣� -setInterceptors($http); +/* Python鍚庡彴 */ -export { $http }; +const url_py = 'http://127.0.0.1:8089/' +const $http_py = axios.create({ + baseURL: url_py, + timeout: 10000 +}); +//娣诲姞鎷︽埅鍣� +setInterceptors($http,$http_py); + +export { $http,$http_py}; -- Gitblit v1.9.3