微信開放平臺綁定授權(quán)回調(diào)域為根路徑册舞,例如:?xxx.xxxxx.com.cn
實際綁定路徑為:
varobj=newWxLogin({
id:"QRCode",
appid:"wx383f40bd5e878d96",
scope:"snsapi_login",
redirect_uri:"http://xxx.xxxxx.com.cn/access/wechat/callback",
state:"123",
style:"black",
// href:"data:text/css;base64,LmltcG93ZXJCb3ggLnFyY29kZSB7d2lkdGg6IDIwMHB4O30NCi5pbXBvd2VyQm94IC50aXRsZSB7ZGlzcGxheTogbm9uZTt9DQouaW1wb3dlckJveCAuaW5mbyB7d2lkdGg6IDIwMHB4O30NCi5zdGF0dXNfaWNvbiB7ZGlzcGxheTpub25lfQ0KLmltcG93ZXJCb3ggLnN0YXR1cyB7dGV4dC1hbGlnbjogY2VudGVyO30="http://data-url
href:"data:text/css;base64,LmltcG93ZXJCb3ggLnFyY29kZSB7d2lkdGg6IDE1MHB4O30uaW1wb3dlckJveCAudGl0bGUge2Rpc3BsYXk6IG5vbmU7fS5pbXBvd2VyQm94IC5pbmZvIHt3aWR0aDogMTUwcHg7fS5zdGF0dXNfaWNvbiB7ZGlzcGxheTogbm9uZX0uaW1wb3dlckJveCAuc3RhdHVzIHtkaXNwbGF5OiBub25lOyB9LmltcG93ZXJCb3ggLnFyY29kZXttYXJnaW46MH0="http://data-url
});