aircraft-pilot/common/config.service.js

31 lines
1.0 KiB
JavaScript
Raw Normal View History

2025-07-02 14:58:38 +08:00
// 接口环境
// #ifdef H5
let BASE_URL = '/aerocraftAdminApi';
2025-07-02 14:58:38 +08:00
// #endif
// #ifdef APP-PLUS ||MP
let BASE_URL = 'http://8.138.171.103/aerocraftAdminApi';// 测试环境
2025-08-05 18:00:24 +08:00
// let BASE_URL = 'https://webapi.aishangfeixing.com/aerocraftAdminApi';// 正式环境
2025-07-02 14:58:38 +08:00
// #endif
let IP = 'http://8.138.171.103/';// 测试环境
2025-08-05 18:00:24 +08:00
// let IP = 'https://adminapi.aishangfeixing.com/';// 正式环境
2025-07-02 14:58:38 +08:00
let FILE_URL = IP+'static/';
// 阿里OSS地址
2025-08-05 18:00:24 +08:00
// let ALIOSS_URL = 'http://guojunjie.oss-cn-hangzhou.aliyuncs.com';
// let OTHER_ALIOSS_URL = 'http://pixel-ai-file-test.oss-cn-guangzhou.aliyuncs.com';// 测试环境
// let ANOTHER_ALIOSS_URL = 'http://pixel-ai-file.oss-cn-guangzhou.aliyuncs.com';// 正式环境
// let ALIOSS_ASYNC_URL = "http://dashscope-result-bj.oss-cn-beijing.aliyuncs.com";// 异步url
2025-07-02 14:58:38 +08:00
const configService = {
apiUrl: BASE_URL,
ip: IP,
fileUrl: FILE_URL,
2025-08-05 18:00:24 +08:00
// aliUrl: ALIOSS_URL,
// otherAliUrl: OTHER_ALIOSS_URL,
// anotherAliUrl: ANOTHER_ALIOSS_URL,
// aliAsyncUrl: ALIOSS_ASYNC_URL,
2025-07-02 14:58:38 +08:00
};
export default configService