From ce3b28cdcdb2b6a912413cd9e744d0ecadcb78a0 Mon Sep 17 00:00:00 2001
From: wankeda <Administrator@DESKTOP-HAU3ST3>
Date: 星期二, 13 一月 2026 17:47:30 +0800
Subject: [PATCH] 优化成品出入库流程代码
---
WCS/WIDESEAWCS_Client/src/api/http.js | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/WCS/WIDESEAWCS_Client/src/api/http.js b/WCS/WIDESEAWCS_Client/src/api/http.js
index 1659049..4d398af 100644
--- a/WCS/WIDESEAWCS_Client/src/api/http.js
+++ b/WCS/WIDESEAWCS_Client/src/api/http.js
@@ -12,14 +12,17 @@
let loadingInstance;
let loadingStatus = false;
if (process.env.NODE_ENV == 'development') {
- axios.defaults.baseURL = 'http://127.0.0.1:8099/';
+ // axios.defaults.baseURL = 'http://10.168.1.226:9291';
+ axios.defaults.baseURL = 'http://127.0.0.1:9291';
}
else if (process.env.NODE_ENV == 'debug') {
- axios.defaults.baseURL = 'http://127.0.0.1:8099/';
+ // axios.defaults.baseURL = 'http://10.168.1.226:9291';
+ axios.defaults.baseURL = 'http://127.0.0.1:9291';
}
else if (process.env.NODE_ENV == 'production') {
- axios.defaults.baseURL = 'http://127.0.0.1:8099/';
+ // axios.defaults.baseURL = 'http://10.168.1.226:9291';
+ axios.defaults.baseURL = 'http://10.168.1.226:9291';
}
if (!axios.defaults.baseURL.endsWith('/')) {
axios.defaults.baseURL+="/";
--
Gitblit v1.9.3