This link has a detailed introduction https://github.com/w7corp/easywechat/issues/1312
This link can also see the detailed process of obtaining a mobile phone number authorized by the WeChat applet, and go to the background by yourself: https://www.cnblogs.com /mica/p/10550840.html The
old text is lazy, and the front-end parameters must be correct. What are the pitfalls encountered? The front-end is correct, but the id is not passed when the secret is passed to the api, which causes the database to find no relevant information. It is fine to pass the id directly here.
But I encountered the problem that the id was not passed.
WeChat applet decrypts mobile phone number + user id cannot be obtained
Guess you like
Origin blog.csdn.net/weixin_43018356/article/details/110496725
Recommended
Ranking