From 81f92eb9fb83ed5d8ac0b0a5c206315416f10df0 Mon Sep 17 00:00:00 2001 From: suerprisePlus <15810472099@163.com> Date: 星期四, 04 七月 2024 10:14:06 +0800 Subject: [PATCH] 系统更新 --- public/config/config.js | 33 ++++++++++++++++++++++----------- 1 files changed, 22 insertions(+), 11 deletions(-) diff --git a/public/config/config.js b/public/config/config.js index 2760502..505169f 100644 --- a/public/config/config.js +++ b/public/config/config.js @@ -1,12 +1,23 @@ - - -const webUrl = location.href.indexOf("/chat") > -1 ? "/chat/" : ""; -const webHost = location.origin + webUrl +const webUrl = location.href.indexOf("/GeoAgent") > -1 ? "/GeoAgent/" : ""; +const webHost = location.origin + webUrl; const config = { - StaticFileBaseUrl: webUrl + "/CimSDK/", - //鍒濆鍖栧悗澶氶暱鏃堕棿寮� - loadTime: 2000, - //闂撮殧澶氫箙鍥炴秷鎭� - retTime: 2000 - -} \ No newline at end of file + StaticFileBaseUrl: webUrl + "/CimSDK/", + //鍒濆鍖栧悗澶氶暱鏃堕棿寮� + loadTime: 2000, + //闂撮殧澶氫箙鍥炴秷鎭� + retTime: 2000, + // apiUrl: "/api/", + apiUrl: "http://192.168.11.95:7777/api/", + // apiUrl: "http://106.120.22.26:5367/", + imgUrl: webHost + "/image/", + reportMd: "/Data/Report.md", + reportDocx: "/Data/Report.docx", + modelBase: { + url: "http://106.120.22.26:8013", + account: "/account-service", + geo: "/geo-service", + password: "NIZEHAN", + userId: "NIZEHAN", + modelLayer: "澶фā鍨嬫祴璇曞簱" + } +}; -- Gitblit v1.9.3