Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

获取用户信息错误 #7

Open
hanlhan opened this issue Jun 27, 2021 · 2 comments
Open

获取用户信息错误 #7

hanlhan opened this issue Jun 27, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@hanlhan
Copy link
Contributor

hanlhan commented Jun 27, 2021

你好:
微信小程序修改了获取用户信息的接口函数,需要将 wx.getUserInfo 修改为 wx.getUserProfile,并在函数中添加 desc 字段

comment.wxml 中 登录 bindgetuserinfo 改为 bindtap

@hanlhan
Copy link
Contributor Author

hanlhan commented Jul 3, 2021

还有一些云函数没有初始化环境参数,调用时会出错

@igo312
Copy link
Owner

igo312 commented Jul 4, 2021

微信小程序修改了获取用户信息的接口函数,需要将 wx.getUserInfo 修改为 wx.getUserProfile

@hanlhan 感谢你的指正,由于没有时间调试,所以我不会直接修改代码呢,欢迎你提交request进行修改。

另外云函数的调用报错是哪些呢?麻烦给出错误信息,感谢!

@igo312 igo312 added the bug Something isn't working label Jul 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants