合成照相馆小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
photo_uniapp/config/env.js

34 lines
903 B

//api接口环境配置
// production正式/development线上测试/local本地开发
var NowENV = 'development';
var ENV_API_URL = {
production:'https://netcharge.spacechong.com/', //正式环境
development:'https://devnetcharge.spacechong.com/', //开发测试环境
local:'http://192.168.10.123:8901/',//本地调试环境
}
//CdnUrl 环境配置[都默认为线上都行]
var ENV_BASE_URL = {
production:'https://netcharge.spacechong.com', //正式环境
development:'https://netcharge.spacechong.com', //开发测试环境
local:'https://netcharge.spacechong.com',//本地调试环境
}
var ENV = {
EnvShow:NowENV,//当前环境
ApiUrl:ENV_API_URL[NowENV], //正式
CdnUrl:ENV_BASE_URL[NowENV], //正式
appData:function() {
var data = {}; //版本号
data.i_app_version = '2.1.2';
return data;
},
QQmapkey:'2EBBZ-RAL33-TLM3A-3KVVR-V2LMO-3TFQ4',
}
module.exports = ENV