index.js 803 B

12345678910111213141516171819
  1. /**
  2. * 开发环境
  3. */
  4. ;(function () {
  5. window.SITE_CONFIG = {};
  6. // api接口请求地址
  7. // window.SITE_CONFIG['baseUrl'] = 'http://localhost:8080/renren-fast';
  8. window.SITE_CONFIG['baseUrl'] = 'http://localhost:8080/login';
  9. // localhost:8001/#/sys-user localhost:8008/#/sys-user http://lab1/aiplat/#/sys-user
  10. // 43.143.230.108
  11. window.SITE_CONFIG['aiplat'] = '43.143.230.108/aiplat/#/sys-user';
  12. window.SITE_CONFIG['mkcloud'] = '43.143.230.108/mkcloud/#/sys-user';
  13. window.SITE_CONFIG['bigdata'] = '43.143.230.108/bdm/#/sys-user';
  14. // cdn地址 = 域名 + 版本号
  15. window.SITE_CONFIG['domain'] = './'; // 域名
  16. window.SITE_CONFIG['version'] = ''; // 版本号(年月日时分)
  17. window.SITE_CONFIG['cdnUrl'] = window.SITE_CONFIG.domain + window.SITE_CONFIG.version;
  18. })();