C#根据小程序传来的code取openid和token然后根据openid和token获取用户信息?

小程序 文章 2022-04-15 12:40 614 0 全屏看文

AI助手支持GPT4.0

C#根据小程序传来的code取openid和token然后根据openid和token获取用户信息?C# obtains the openid and token according to the code sent from the applet, and then obtains the user information according to the openid and token?

C#根据小程序传来的code取openid和token然后根据openid和token获取用户信息?

回答:

老张:

1、获取用户信息用wx.getUserProfile

Mr.Zhao:

小程序没有用户信息接口

车明:

openid和token都可以取到,就是用openid和token他俩取用户信息报48001错误。

-EOF-

AI助手支持GPT4.0