24 lines
632 B
JavaScript
24 lines
632 B
JavaScript
/*
|
|
* @Author: gtz
|
|
* @Date: 2021-11-19 10:10:52
|
|
* @LastEditors: zwq
|
|
* @LastEditTime: 2022-07-07 10:51:22
|
|
* @Description: file content
|
|
* @FilePath: \mt-qj-wms-ui\static\config\index-prod.js
|
|
*/
|
|
/**
|
|
* 生产环境
|
|
*/
|
|
;(function () {
|
|
window.SITE_CONFIG = {}
|
|
|
|
// api接口请求地址
|
|
window.SITE_CONFIG['baseUrl'] = '/api'
|
|
window.SITE_CONFIG['wbUrl'] = '192.168.1.18:8080'
|
|
|
|
// cdn地址 = 域名 + 版本号
|
|
window.SITE_CONFIG['domain'] = './' // 域名
|
|
window.SITE_CONFIG['version'] = '' // 版本号(年月日时分)
|
|
window.SITE_CONFIG['cdnUrl'] = window.SITE_CONFIG.domain + window.SITE_CONFIG.version
|
|
})()
|