wx.login(Object object) object.success 回调函数参数Object res属性类型说明codestring用户登录凭证(有效期五分钟)。开发者需要在开发者服务器后台调用 ,使用 code 换取 openid 和 session_key 等信息 示例代码