These four parameters require you to request the backend first. After obtaining the parameters according to the key and secret provided to you, you can call the WeChat jssdk interface. In addition, you can download the WeChat debugging tool. Each time the page is refreshed, you will be informed of the generated parameters and the result of calling the parameters.
The front end needs to send a request to the backend, and the backend will return the official account appId, timetamp, nonceStr, and signature to you. For specific configuration, please check https://mp.weixin.qq.com/wiki...
Cross domain is not allowed
These four parameters require you to request the backend first. After obtaining the parameters according to the
key
andsecret
provided to you, you can call the WeChatjssdk
interface. In addition, you can download the WeChat debugging tool. Each time the page is refreshed, you will be informed of the generated parameters and the result of calling the parameters.The front end needs to send a request to the backend, and the backend will return the official account appId, timetamp, nonceStr, and signature to you. For specific configuration, please check https://mp.weixin.qq.com/wiki...