From 79f97bb64cac037a8cd05a2d22942a96d4b53f0a Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Thu, 16 Jun 2022 14:15:48 +0800
Subject: [PATCH] 考试传值修改
---
store/apiConfig.js | 15 +++++++++------
1 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/store/apiConfig.js b/store/apiConfig.js
index 5c8c434..0cfb268 100644
--- a/store/apiConfig.js
+++ b/store/apiConfig.js
@@ -1,13 +1,16 @@
let i = 1; //1是服务器
if (i == 1) {
- var api = 'http://223.82.109.183:2082/api/';
- var wsapi = 'ws://223.82.109.183:2082/wss/websocket';
-} else if (i == 0) {//曾
- var api = 'http://192.168.0.108:83/';
- var wsapi = 'ws://192.168.0.108:9034/websocket';
-} else if (i == 2) {//唐
+ var api = 'http://61.131.136.25:2082/api/';
+ var wsapi = 'ws://61.131.136.25:2082/wss/websocket';
+} else if (i == 0) { //曾
+ var api = 'http://localhost:83/';
+ var wsapi = 'ws://localhost:9034/websocket';
+} else if (i == 2) { //唐
var api = 'http://192.168.0.110:83/';
var wsapi = 'ws://192.168.0.110:9034/websocket';
+} else if (i == 3) { //唐
+ var api = 'http://192.168.0.222:83/';
+ var wsapi = 'ws://192.168.0.222:9034/websocket';
}
// var api = 'http://192.168.0.222:83/';
--
Gitblit v1.9.3