config_20220712130331.js 1.2 KB

12345678910111213141516171819202122232425262728
  1. /*
  2. * @Author: wt 1241351815@qq.com
  3. * @Date: 2022-04-25 10:21:18
  4. * @LastEditors: wt 1241351815@qq.com
  5. * @LastEditTime: 2022-05-13 15:02:51
  6. * @FilePath: \securityHtml\public\static\config.js
  7. * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
  8. */
  9. // api 请求路径
  10. var PLATFROM_CONFIG = {};
  11. //PLATFROM_CONFIG.baseUrl = "https://smartpark.caih.com/spapi"
  12. //PLATFROM_CONFIG.baseUrl = "https://qhome.usky.cn/af"
  13. //PLATFROM_CONFIG.baseUrl = "http://101.133.214.75:81/af"
  14. //PLATFROM_CONFIG.baseUrl = "http://172.16.120.213:8082"
  15. PLATFROM_CONFIG.baseUrl = "http://10.21.39.1:8082" //生产
  16. //alarming WEBSOCKET
  17. let userInfo = window.localStorage.getItem("key");
  18. var PLATFROM_WEBSOCKET = {};
  19. PLATFROM_WEBSOCKET.wsUrl = `ws://10.21.39.1:8080/afws/uskyWS?${userInfo}`
  20. // PLATFROM_WEBSOCKET.wsUrl = `ws://172.16.120.246:8081/uskyWS?${userInfo}`
  21. //iframe 请求路径
  22. //http://www.thingjs.com/s/ef7ee6a73896c01bda77e679?params=105b0f77fd24654d4eebc434e9 初始路径http://172.16.120.246:9000/
  23. var PLATFROM_IFRAME = {};
  24. PLATFROM_IFRAME.iframeUrl = `https://www.thingjs.com/s/ef7ee6a73896c01bda77e679?params=105b0f77fd24654d4eebc434e9`