官方文档有误
https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/login/auth.code2Session.html
auth.getAccessToken 返回成功时,errcode和errmsg无返回,而非如文档所述errcode返回 0
https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/login/auth.code2Session.html
auth.getAccessToken 返回成功时,errcode和errmsg无返回,而非如文档所述errcode返回 0