From 33032d320cb75854def7391026b0401f1bfb8360 Mon Sep 17 00:00:00 2001
From: 黎星凯 <13949086503@163.com>
Date: 星期六, 11 五月 2024 17:26:02 +0800
Subject: [PATCH] 20240511修改: 分发单优化, 分类,物品,分发单明细,采购单明细数据导入

---
 admin-web/public/static/config.js |   26 +++++++++++++++++++++-----
 1 files changed, 21 insertions(+), 5 deletions(-)

diff --git a/admin-web/public/static/config.js b/admin-web/public/static/config.js
index fbba299..77b3c75 100644
--- a/admin-web/public/static/config.js
+++ b/admin-web/public/static/config.js
@@ -1,12 +1,28 @@
-
+// 鍔ㄦ�佽幏鍙栬闂甶p
+const protocol = window.location.protocol
+const host = window.location.host
 const SettingIplatform = {
   // 鏈嶅姟鍣ㄥ湴鍧�
   // 涓婁紶璺緞
-  ftpUrl: 'https://yqzx.jinmingyuan.com/lowConsum',//寮�鍙�
+  // ftpUrl: 'https://yqzx.jinmingyuan.com/lowConsum',//娴嬭瘯
+  // apiBaseURL: 'https://yqzx.jinmingyuan.com/lowConsum',//娴嬭瘯
+
+
   // 鎺ュ彛璇锋眰鍦板潃
-  apiBaseURL: 'http://127.0.0.1:8083/lowConsum',//寮�鍙�
-  // apiBaseURL: 'http://172.16.60.155:8083/lowConsum',//寮�鍙�
-  // apiBaseURL: 'https://yqzx.jinmingyuan.com/lowConsum',//寮�鍙�
+  ftpUrl: 'http://172.16.20.9:8083/lowConsum',//寮�鍙�
+  apiBaseURL: 'http://172.16.20.9:8083/lowConsum',//寮�鍙�
+
+
+  // apiBaseURL: 'http://172.16.60.110:8083/lowConsum',//寮�鍙�
+
+
+  // ftpUrl: protocol + '//'+ host + '/file',// 姝e紡,
+  // apiBaseURL: protocol + '//'+ host + '/lowapi',// 姝e紡,
+
+
+  // ftpUrl: protocol + '//'+ host + '/lowapi',// 姝e紡,
+  // apiBaseURL: protocol + '//'+ host + '/lowapi',// 姝e紡,
+
   debug: false //璋冭瘯寮�鍏�  true鏃朵細杈撳嚭璇锋眰鏃ュ織
 };
 

--
Gitblit v1.9.1