From 01f9c88fd0ee768155e5b341c2bb95a85bc11a08 Mon Sep 17 00:00:00 2001
From: liuyg <liuyg@qq.com>
Date: Sat, 05 Mar 2022 17:49:36 +0800
Subject: [PATCH] ++
---
src/router/axios.js | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/src/router/axios.js b/src/router/axios.js
index 44d45e7..e0a4d55 100644
--- a/src/router/axios.js
+++ b/src/router/axios.js
@@ -12,11 +12,19 @@
// console.log(window.location);
// console.log(url);
// }, 3000);
+window.$apiUrls = "http://171.34.197.243:782";
+// window.$apiUrls = "http://192.168.0.110:82";
const service = axios.create({
// baseURL: 'http://192.168.0.107:83',
+
+ // baseURL: "http://localhost:82",
+ // baseURL: "http://192.168.0.107:82",
// baseURL: "http://192.168.0.107:80",
- // baseURL: "http://192.168.0.110:80", //唐
- baseURL: "http://171.34.197.243:790", //正常接口
+ // baseURL: "http://192.168.0.110:82", //唐
+ // baseURL: "http://171.34.197.243:790", //正常接口
+ baseURL: window.$apiUrls, //2
+ // baseURL: "http://171.34.197.243:82", //3
+ // baseURL: "http://171.34.197.243:82/api", //验收
// baseURL: "https://6e78efa6.cpolar.io/apis", //https接口
// baseURL: url, //https接口
// baseURL: 'http://s16s652780.51mypc.cn/api',
--
Gitblit v1.9.3