index.js 794 B

123456789101112131415161718192021222324
  1. /*
  2. * @Author: wenjie 1454560336@qq.com
  3. * @Date: 2024-12-11 11:32:11
  4. * @LastEditors: wenjie 1454560336@qq.com
  5. * @LastEditTime: 2025-01-02 15:00:33
  6. * @FilePath: \mall4vp-bbc\static\config\index.js
  7. * @Description:
  8. *
  9. * Copyright (c) 2025 by ${git_name_email}, All Rights Reserved.
  10. */
  11. /**
  12. * 开发环境
  13. */
  14. ; (function () {
  15. window.SITE_CONFIG = {}
  16. // 静态资源文件url
  17. // window.SITE_CONFIG['resourcesUrl'] = 'http://img-test.gz-yami.com/'
  18. window.SITE_CONFIG['resourcesUrl'] = 'https://zswl-shop.oss-cn-chengdu.aliyuncs.com/'
  19. // cdn地址 = 域名 + 版本号
  20. window.SITE_CONFIG['domain'] = './' // 域名
  21. window.SITE_CONFIG['version'] = '' // 版本号(年月日时分)
  22. window.SITE_CONFIG['cdnUrl'] = window.SITE_CONFIG.domain + window.SITE_CONFIG.version
  23. })()