const url = encodeURIComponent(`//www.aaa.com?params1=1¶ms2=2`)
const resUrl = `https://open.weixin.qq.com/connect/qrconnect?appid=test&scope=test&redirect_uri=${url}`
注:需要对参数进行编码处理
const url = encodeURIComponent(`//www.aaa.com?params1=1¶ms2=2`)
const resUrl = `https://open.weixin.qq.com/connect/qrconnect?appid=test&scope=test&redirect_uri=${url}`
注:需要对参数进行编码处理