切换正式环境接口
This commit is contained in:
parent
0c108e31f3
commit
b658517c5a
@ -5,26 +5,26 @@ let BASE_URL = '/aerocraftAdminApi';
|
||||
// #endif
|
||||
// #ifdef APP-PLUS ||MP
|
||||
let BASE_URL = 'http://8.138.171.103/aerocraftAdminApi';// 测试环境
|
||||
// let BASE_URL = 'https://www.ylemai.cn/aerocraftAdminApi';// 正式环境
|
||||
// let BASE_URL = 'https://webapi.aishangfeixing.com/aerocraftAdminApi';// 正式环境
|
||||
// #endif
|
||||
|
||||
let IP = 'http://8.138.171.103/';// 测试环境
|
||||
// let IP = 'https://www.ylemai.cn/';// 正式环境
|
||||
// let IP = 'https://adminapi.aishangfeixing.com/';// 正式环境
|
||||
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
|
||||
// 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
|
||||
|
||||
const configService = {
|
||||
apiUrl: BASE_URL,
|
||||
ip: IP,
|
||||
fileUrl: FILE_URL,
|
||||
aliUrl: ALIOSS_URL,
|
||||
otherAliUrl: OTHER_ALIOSS_URL,
|
||||
anotherAliUrl: ANOTHER_ALIOSS_URL,
|
||||
aliAsyncUrl: ALIOSS_ASYNC_URL,
|
||||
// aliUrl: ALIOSS_URL,
|
||||
// otherAliUrl: OTHER_ALIOSS_URL,
|
||||
// anotherAliUrl: ANOTHER_ALIOSS_URL,
|
||||
// aliAsyncUrl: ALIOSS_ASYNC_URL,
|
||||
};
|
||||
|
||||
export default configService
|
||||
|
@ -135,29 +135,17 @@
|
||||
"devServer" : {
|
||||
"disableHostCheck" : true,
|
||||
"proxy" : {
|
||||
"/pixelApi" : {
|
||||
"target" : "http://8.138.171.103/pixelApi", // 测试环境
|
||||
|
||||
// "target" : "https://www.ylemai.cn/pixelApi",// 正式环境
|
||||
"changeOrigin" : true,
|
||||
"secure" : true,
|
||||
"ws" : false,
|
||||
"pathRewrite" : {
|
||||
"^/pixelApi" : ""
|
||||
}
|
||||
},
|
||||
"/upload" : {
|
||||
"target" : "http://8.138.171.103", // 测试环境
|
||||
|
||||
// "target" : "https://www.ylemai.cn",// 正式环境
|
||||
// "target" : "https://webapi.aishangfeixing.com",// 正式环境
|
||||
"changeOrigin" : true,
|
||||
"secure" : true,
|
||||
"ws" : false
|
||||
},
|
||||
"/static" : {
|
||||
"target" : "http://8.138.171.103", // 测试环境
|
||||
|
||||
// "target" : "https://www.ylemai.cn",// 正式环境
|
||||
// "target" : "http://8.138.171.103", // 测试环境
|
||||
// "target" : "https://webapi.aishangfeixing.com",// 正式环境
|
||||
"changeOrigin" : true,
|
||||
"secure" : true,
|
||||
"ws" : false
|
||||
@ -165,7 +153,7 @@
|
||||
"/aiupload" : {
|
||||
"target" : "http://8.138.171.103/upload", // 测试环境
|
||||
|
||||
// "target" : "https://www.ylemai.cn/upload",// 正式环境
|
||||
// "target" : "https://webapi.aishangfeixing.com/upload",// 正式环境
|
||||
"changeOrigin" : true,
|
||||
"secure" : true,
|
||||
"ws" : false,
|
||||
|
Loading…
Reference in New Issue
Block a user