In public, open the web page is unusual, to 404
1. Open web pages on the WeChat end (normal)
2. The web page js calls WeChat interface to get code (normal)
(3) from the WeChat callback to open the first step in the web page (additional code parameter) (failure)
Excuse me, is what reason, someone touched
CodePudding user response:
In the browser to access the static page is normal,WeChat MP_verify_AMWlqEjH8lUz * * *. TXT certification documents, also in the corresponding directory,
CodePudding user response:
https://open.weixin.qq.com/connect/oauth2/authorize? Appid=wx00ac6eXXXXXXXX1 & amp; redirect_uri=www.whmXXX.com/assets/whsmk/public/smk_weizhihui.html? V=20180130 & amp; The payload=code& The scope=snsapi_userinfo & amp; State=1 & amp; Connect_redirect=1 # wechat_redirectCodePudding user response:
The public authorises the callback domain configuration of www.whmXXX.comCodePudding user response:
DuanshuiLu points against mother pay components, encapsulates the WeChat and pay treasure, you use it directly, is the only bad, the somebody else is not open source, ha ha, but go to the website can download to use