12345678910111213141516171819202122232425 |
- /*
- * @Author: wt 1241351815@qq.com
- * @Date: 2022-04-25 10:21:18
- * @LastEditors: wt 1241351815@qq.com
- * @LastEditTime: 2022-05-13 15:02:51
- * @FilePath: \securityHtml\public\static\config.js
- * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
- */
- // api 请求路径
- var PLATFROM_CONFIG = {};
- // PLATFROM_CONFIG.baseUrl = "http://172.16.120.49/securityapi/" //测试服务器
- // PLATFROM_CONFIG.baseUrl = "http://172.16.120.85:8082/"
- PLATFROM_CONFIG.baseUrl = "http://10.21.39.1:8082" //生产
- //alarming WEBSOCKET
- let userInfo = window.localStorage.getItem("key");
- var PLATFROM_WEBSOCKET = {};
- PLATFROM_WEBSOCKET.wsUrl = `ws://10.21.39.1:8080/afws/uskyWS?${userInfo}`
- // PLATFROM_WEBSOCKET.wsUrl = `ws://172.16.120.246:8081/uskyWS?${userInfo}`
- //iframe 请求路径
- //http://www.thingjs.com/s/ef7ee6a73896c01bda77e679?params=105b0f77fd24654d4eebc434e9 初始路径http://172.16.120.246:9000/
- var PLATFROM_IFRAME = {};
- PLATFROM_IFRAME.iframeUrl = `https://www.thingjs.com/s/ef7ee6a73896c01bda77e679?params=105b0f77fd24654d4eebc434e9`
|