config.js 813 B

1234567891011121314151617
  1. // api 请求路径
  2. var PLATFROM_CONFIG = {};
  3. //PLATFROM_CONFIG.baseUrl = "http://smartpark.caih.com/af"
  4. //PLATFROM_CONFIG.baseUrl = "http://172.16.120.104:8082"
  5. //PLATFROM_CONFIG.baseUrl = "http://localhost:8082"
  6. PLATFROM_CONFIG.baseUrl = "http://10.21.39.1:8082"
  7. //alarming WEBSOCKET
  8. let userInfo = window.localStorage.getItem("key");
  9. var PLATFROM_WEBSOCKET = {};
  10. PLATFROM_WEBSOCKET.wsUrl = `ws://10.21.39.1:8080/afws/uskyWS?${userInfo}`
  11. // PLATFROM_WEBSOCKET.wsUrl = `ws://172.16.120.246:8081/uskyWS?${userInfo}`
  12. //iframe 请求路径
  13. //http://www.thingjs.com/s/ef7ee6a73896c01bda77e679?params=105b0f77fd24654d4eebc434e9 初始路径http://172.16.120.246:9000/
  14. var PLATFROM_IFRAME = {};
  15. PLATFROM_IFRAME.iframeUrl = `http://www.thingjs.com/s/ef7ee6a73896c01bda77e679?params=105b0f77fd24654d4eebc434e9`