const dev = {
	base_url:'https://mdev.anjibao.cn',
	api_url:'https://mdev.anjibao.cn/cffpApi',
	cffp_url:'https://mdev.anjibao.cn/cffpApi/cffp'
}
const stage = {
	base_url:'https://mstage.zuihuibi.cn',
	api_url:'https://mstage.zuihuibi.cn/cffpApi',
	cffp_url:'https://mstage.zuihuibi.cn/cffpApi/cffp'
}
const prod = {
	base_url:'https://m.cffp.org.cn',
	api_url:'https://m.cffp.org.cn/api',
	cffp_url:'https://m.cffp.org.cn/api/cffp'
}

const config = {
	dev,
	stage,
	prod
}
let env = 'dev';
// if (process.env.NODE_ENV === 'development') {
// 	env = 'dev';
// }else if (process.env.NODE_ENV === 'production') {
// 	env = 'prod';
// }else if (process.env.NODE_ENV === 'uat'){
// 	env = 'stage';
// }

let baseURL = config[env].base_url;
let apiURL = config[env].api_url;
let cffpURL = config[env].cffp_url;

export{
	baseURL,
	apiURL,
	cffpURL
}