var protocol = window.location.protocol

var apiHost = protocol + '//api.xyqb.com/'
var xyqbUserUIHost = protocol + '//passport.xyqb.com/'

var activityUI = protocol + '//activity.xyqb.com/'
var qiniuHost = protocol + '//ohsx2fi5w.bkt.clouddn.com/'
var btHost = protocol + '//bt.xyqb.com/'
var shuntHost = protocol + '//flow.xyqb.com/'
var mallApi = protocol + '//mallapi.xyqb.com';
var mallUrl = protocol + '//mall.xyqb.com';
var h5Url = protocol + '//h5.xyqb.com';
var redPacketUrl = protocol + '//redpacket.xyqb.com/';

module.exports = {
	ApiBaseUrl: apiHost, // 信用钱包后端
	XyqbUserUI: xyqbUserUIHost, // 用户中心
	ActivityUI: activityUI, // 活动中心
	QiniuHostUrl: qiniuHost,
	BtBaseUrl: btHost,  // 白条
	ShuntBaseUrl: shuntHost,	// 流量分发
    mallApi: mallApi,	// 商城后端
    mallUrl: mallUrl,	// 商城前端
	h5Url: h5Url,
	RedPacketUrl: redPacketUrl  //  红包
}
