errcode”:41002,
解决:
41002是微信没有收到正确的appid,所以,你需要检测下url!
https://api.weixin..com/sns/oauth2/access_token?appid=APPID&secret=SECRET&code=CODE&grant_type=authorization_code let url = String(format: "%@?appid=%@&secret=%@&code=%@&grant_type=authorization_code", arguments:[Wechat_api_Domain,appid,secret,code])
发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/216861.html原文链接:https://javaforall.net
