merchant-web/public/config/index.js

27 lines
866 B
JavaScript
Raw Normal View History

2024-08-05 08:26:35 +00:00
/*
* @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
*/
/**
* 开发环境
*/
2024-10-08 03:04:11 +00:00
(function () {
2024-08-05 08:26:35 +00:00
window.SITE_CONFIG = {};
// api接口请求地址
2024-10-08 03:04:11 +00:00
window.SITE_CONFIG["baseUrl"] = "https://admin-test.damajishi.cn/";
// 在线api接口请求地址
2024-08-05 08:26:35 +00:00
// window.SITE_CONFIG['baseUrl'] = 'http://119.29.103.250:8082/red-memory';
2024-10-08 03:04:11 +00:00
// 在线api接口请求地址
window.SITE_CONFIG["baseUrlComment"] =
"http://123.60.109.11:8081/red-memory-user";
2024-08-05 08:26:35 +00:00
// cdn地址 = 域名 + 版本号
2024-10-08 03:04:11 +00:00
window.SITE_CONFIG["domain"] = "./"; // 域名
window.SITE_CONFIG["version"] = ""; // 版本号(年月日时分)
window.SITE_CONFIG["cdnUrl"] =
window.SITE_CONFIG.domain + window.SITE_CONFIG.version;
2024-08-05 08:26:35 +00:00
})();