export function accredit() {
		var url = 'https://chtech.ncjti.edu.cn/hotelReservation/zhotel/appopenid.action';
		var encodedUrl = encodeURIComponent(url);
		window.location.href = 'https://open.wecard.qq.com/connect/oauth/authorize' +
			'?app_key=9FFFACD6D09F15D2' +
			'&response_type=code' +
			'&scope=snsapi_userinfo' +
			'&ocode=1015730314' +
			'&redirect_uri=' + encodedUrl +
			'&state=' + url;
}