34 lines
1.0 KiB
JavaScript
34 lines
1.0 KiB
JavaScript
// 接口环境
|
|
|
|
// #ifdef H5
|
|
let BASE_URL = '/pixelApi';
|
|
// #endif
|
|
// #ifdef APP-PLUS ||MP
|
|
// let BASE_URL = 'http://8.138.171.103/pixelApi';// 测试环境
|
|
let BASE_URL = 'https://www.ylemai.cn/pixelApi';// 正式环境
|
|
// #endif
|
|
|
|
// let IP = 'http://8.138.171.103/';// 测试环境
|
|
let IP = 'https://www.ylemai.cn/';// 正式环境
|
|
let FILE_URL = IP+'static/';
|
|
// 阿里OSS地址
|
|
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
|
|
// 火山引擎ai接口地址
|
|
let AI_URL = 'https://visual.volcengineapi.com';
|
|
|
|
const configService = {
|
|
apiUrl: BASE_URL,
|
|
ip: IP,
|
|
fileUrl: FILE_URL,
|
|
aiUrl: AI_URL,
|
|
aliUrl: ALIOSS_URL,
|
|
otherAliUrl: OTHER_ALIOSS_URL,
|
|
anotherAliUrl: ANOTHER_ALIOSS_URL,
|
|
aliAsyncUrl: ALIOSS_ASYNC_URL,
|
|
};
|
|
|
|
export default configService
|