const dev = {
	base_url:'https://mdev.zuihuibi.cn',
	api_url:'https://mdev.zuihuibi.cn/api',
	sfp_url:'https://mdev.zuihuibi.cn/api/sfp'
}
const stage = {
	base_url:'https://mstage.zuihuibi.cn',
	api_url:'https://mstage.zuihuibi.cn/api',
	sfp_url:'https://mstage.zuihuibi.cn/api/sfp'
}
const prod = {
	base_url:'https://m.zuihuibi.cn',
	api_url:'https://m.zuihuibi.cn/api',
	sfp_url:'https://m.zuihuibi.cn/api/sfp'
}

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 sfpURL = config[env].sfp_url;

export{
	baseURL,
	apiURL,
	sfpURL
}