小程序
小游戏
企业微信
微信支付
扫描小程序码分享
微信登陆第一次时,能顺利登陆我的APP
登出后再登陆一次,APP 显示 “code been used,hints{req_id:?????}
请问有解决方案吗???大神来帮帮忙? 求神呀
1 个回答
js_code是不是被你存起来反复用了。。。
String tokenUrl = Uri.parse("https://api.weixin.qq.com/sns/oauth2/access_token").buildUpon() .appendQueryParameter("appid", MyApplication.getAppContext().getString(R.string.WeiXinAppId)) .appendQueryParameter("secret", MyApplication.getAppContext().getString(R.string.WeiXinAppKey)) .appendQueryParameter("code", code) .appendQueryParameter("grant_type", "authorization_code") .appendQueryParameter("connect_redirect","1#wechat_redirect").toString();我看过了,code每次回来都不一样的
.toString();
我看过了,code每次回来都不一样的
内容中可能包含密钥、AppSecret等私密参数,泄漏会有安全风险,请检查内容并确认。
你这接口是请求什么的,我怎么没看到?登录不是用
api.weixin.qq.com/sns/jscode2session 吗
https://open.wechat.com/cgi-bin/newreadtemplate?t=overseas_open/docs/web/login/getting-user-profile#login_getting-user-profile
you see this website
问题解决了,因为有用友盟分享微信和微信sdk导入错误的IWXAPI文件。谢谢你的帮忙
楼主我也遇到了这个问题,请问你能详细的说一下你是怎么解决的吗
js_code是不是被你存起来反复用了。。。
你这接口是请求什么的,我怎么没看到?登录不是用
api.weixin.qq.com/sns/jscode2session 吗
https://open.wechat.com/cgi-bin/newreadtemplate?t=overseas_open/docs/web/login/getting-user-profile#login_getting-user-profile
you see this website
问题解决了,因为有用友盟分享微信和微信sdk导入错误的IWXAPI文件。谢谢你的帮忙
楼主我也遇到了这个问题,请问你能详细的说一下你是怎么解决的吗