
// share_url  在发布生产和测试得时候记得把cffp换为appYdhomeoffice，本地开发得时候要用cffp
// 发布测试和生产得时候，manifest.json->Web配置->运行得基础路径要改为appYdhomeoffice，本地开发得时候要用cffp
const dev = {
	base_url:'https://mdev.anjibao.cn',
	api_url:'https://mdev.anjibao.cn/cffpApi',
	cffp_url:'https://mdev.anjibao.cn/cffpApi/cffp',
	share_url:'https://mdev.anjibao.cn/appYdhomeoffice',
	sfp_url:'https://mdev.anjibao.cn/sfpApi',
	img_url:'https://mdev.zuihuibi.cn',
	scrm_url:'https://mdev.zuihuibi.cn',
	file_query_url:'https://mdev.zuihuibi.cn',
	csf_url:'http://139.224.145.34:9002',
}
const stage = {
	base_url:'https://mstage.zuihuibi.cn',
	api_url:'https://mstage.zuihuibi.cn/cffpApi',
	cffp_url:'https://mstage.zuihuibi.cn/cffpApi/cffp',
	share_url:'https://mstage.zuihuibi.cn/appYdhomeoffice',
	sfp_url:'https://mstage.zuihuibi.cn/sfpApi',
	scrm_url:'https://mstage.zuihuibi.cn',
	file_query_url:'https://mstage.zuihuibi.cn'
	
}
const prod = {
	base_url:'https://app.ydhomeoffice.cn',
	api_url:'https://app.ydhomeoffice.cn/appApi',
	cffp_url:'https://app.ydhomeoffice.cn/appApi/cffp',
	share_url:'https://app.ydhomeoffice.cn/appYdhomeoffice',
	sfp_url:'https://hoservice.ydhomeoffice.cn/hoserviceApi',
	img_url:'https://app.ydhomeoffice.cn',
	scrm_url:'https://m.zuihuibi.cn',
	file_query_url:'https://m.zuihuibi.cn',
	csf_url:'https://web.csf.hk',
}
// companyType: '1',  cffp
// companyType: '2',  appYdhomeoffice
let companyInfo = {
	// imgType:'cffp' //因为测试环境用的cffp,生产环境要改成cffp
	// companyType: '1',
	// appName: 'CFFP财富中心',
	// companyName: '赢盾财务顾问',
	// companyFullName: '江苏赢盾财务顾问有限公司',
 //    companyLogo:'../../static/cffp_logo.png',
	companyType: '2',
	appName: '银盾家办',
	companyName: '银盾家办',
	companyFullName: '银盾家办（广州）企业管理咨询有限公司',
	companyLogo:'../../static/suplogo.png',
	systemType: 'NoIOS',
	imgType:'appYdhomeoffice' //因为测试环境用的cffp,生产环境要改成appYdhomeoffice
}
const config = {
	dev,
	stage,
	prod
}
let env = 'dev';

let baseURL = config[env].base_url;
let apiURL = config[env].api_url;
let cffpURL = config[env].cffp_url;
let shareURL = config[env].share_url;
let sfpUrl = config[env].sfp_url;
let imgUrl = config[env].img_url;
let scrmUrl = config[env].scrm_url;
let fileQueryErl = config[env].file_query_url;
let csfUrl = config[env].csf_url;

export{
	baseURL,
	apiURL,
	cffpURL,
	companyInfo,
	shareURL,
	sfpUrl,
	env,
	imgUrl,
	scrmUrl,
	fileQueryErl,
	csfUrl
}