通过公众号的登录接口获取用户code,同一个用户获取的code不一样,是什么原因造成的?The user code is obtained through the login interface of the official account. The code obtained by the same user is different. What is the reason?
通过公众号的登录接口获取用户code,同一个用户获取的code不一样,是什么原因造成的?回答:
因为code本来就是一次性使用的, 要用 code 去换 access_token
code 每次都不一样,同一个公众号同一个用户,openid是唯一的
每次都不一样吧
没表达清楚,是用 code 通过服务器验证获得的用户的openid