let appid = 'wx0673cf230d1beaf6'
let redirect_uri = encodeURIComponent('https://www.buyp2c.com/pages/moneymanagement/moneyinto')
window.location.href = `https://open.weixin.qq.com/connect/oauth2/authorize?appid=${appid}7&redirect_uri=${redirect_uri}&response_type=code&scope=snsapi_base&state=123#wechat_redirect`;