1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- // 本地联调开关
- const localTest = false;
- // 服务器地址
- let baseURL = "/current/" // 正式环境
- // websocket 服务器地址
- let websocketUrl = null;
- // 3D 地球瓦片路径
- let tilesUrl = null;
- // 3D 地球最大支持放大到多少级
- const tilesMaxLevel = 18;
- // 适配器地址
- // const adapterUrl = "http://10.155.32.4:8011/";
- // 切换模块时是否提示当前模块名称(用于对内介绍项目时便捷显示模块名称)
- const showModuleName = 0;
- const reportBaseUrl = "http://10.127.7.241:8083";
- // const reportBaseUrl = "http://172.16.12.101:8083";
- const baseReportUrl = "http://10.127.7.196";
- // const baseReportUrl = "http://172.16.12.101";
- // if (localTest) {
- // baseURL = "http://192.168.10.8:9002/" // 联机调试
- // } else {
- // baseURL = "http://10.155.32.14:9002/" // 正式环境
- // }
- websocketUrl = (baseURL.replace(/http:\/\/|https:\/\//g, "")) + "gyee-websocket";
- window.__MODE__ = {
- baseURL,
- websocketUrl,
- // adapterUrl,
- tilesUrl,
- tilesMaxLevel,
- showModuleName,
- reportBaseUrl,
- baseReportUrl
- };
- export default {
- baseURL,
- websocketUrl,
- // adapterUrl,
- tilesUrl,
- tilesMaxLevel,
- showModuleName,
- reportBaseUrl,
- baseReportUrl
- };
|