25 lines
866 B
JavaScript
25 lines
866 B
JavaScript
|
/*
|
||
|
* @Author: ym
|
||
|
* @Date: 2021-09-28 10:53:53
|
||
|
* @LastEditTime: 2022-08-26 16:42:07
|
||
|
* @LastEditors: chenkangxu
|
||
|
* @Description: In User Settings Edit
|
||
|
* @FilePath: \background-front-end\static\config\index.js
|
||
|
*/
|
||
|
/**
|
||
|
* 开发环境
|
||
|
*/
|
||
|
;(function () {
|
||
|
window.SITE_CONFIG = {};
|
||
|
// api接口请求地址
|
||
|
window.SITE_CONFIG['baseUrl'] ="http://admin-test.damajishi.cn:8899"
|
||
|
// 在线api接口请求地址
|
||
|
// window.SITE_CONFIG['baseUrl'] = 'http://119.29.103.250:8082/red-memory';
|
||
|
// 在线api接口请求地址
|
||
|
window.SITE_CONFIG['baseUrlComment'] = 'http://123.60.109.11:8081/red-memory-user';
|
||
|
// cdn地址 = 域名 + 版本号
|
||
|
window.SITE_CONFIG['domain'] = './'; // 域名
|
||
|
window.SITE_CONFIG['version'] = ''; // 版本号(年月日时分)
|
||
|
window.SITE_CONFIG['cdnUrl'] = window.SITE_CONFIG.domain + window.SITE_CONFIG.version;
|
||
|
})();
|