2021-11-17 10:23:35 +08:00
|
|
|
/*
|
|
|
|
* @Author: zwq
|
|
|
|
* @Date: 2021-11-15 08:20:28
|
|
|
|
* @LastEditors: zwq
|
2021-12-08 14:54:13 +08:00
|
|
|
* @LastEditTime: 2021-12-07 14:48:08
|
2021-11-17 10:23:35 +08:00
|
|
|
* @Description:
|
|
|
|
*/
|
2021-11-15 08:22:01 +08:00
|
|
|
/**
|
|
|
|
* 开发环境
|
|
|
|
*/
|
|
|
|
;(function () {
|
2021-11-17 10:23:35 +08:00
|
|
|
window.SITE_CONFIG = {}
|
2021-11-15 08:22:01 +08:00
|
|
|
|
|
|
|
// api接口请求地址
|
2021-12-08 14:54:13 +08:00
|
|
|
window.SITE_CONFIG['baseUrl'] = 'http://192.168.0.134:8080/'
|
2021-11-15 08:22:01 +08:00
|
|
|
|
|
|
|
// cdn地址 = 域名 + 版本号
|
2021-11-17 10:23:35 +08:00
|
|
|
window.SITE_CONFIG['domain'] = './' // 域名
|
|
|
|
window.SITE_CONFIG['version'] = '' // 版本号(年月日时分)
|
|
|
|
window.SITE_CONFIG['cdnUrl'] = window.SITE_CONFIG.domain + window.SITE_CONFIG.version
|
|
|
|
})()
|