提交 7bf4d1f2 作者: 王进

增加session_key

上级 a13bc3d6
...@@ -160,7 +160,8 @@ class WechatSDK { ...@@ -160,7 +160,8 @@ class WechatSDK {
that.ReportParams.userId = res.data.uid // 记录用户ID that.ReportParams.userId = res.data.uid // 记录用户ID
that.ReportData({ action: type }) // 上报登录/注册 that.ReportData({ action: type }) // 上报登录/注册
LoginCallBack(that.deepCopy({}, res.data, userInfo, { LoginCallBack(that.deepCopy({}, res.data, userInfo, {
os: (that.ReportParams.system).split(' ')[0] // 返回系统类型IOS或者android os: (that.ReportParams.system).split(' ')[0], // 返回系统类型IOS或者android
session_key: that.sdkParams.session_key // 返回session_key
})) // 将用户信息拼上平台用户信息返回 })) // 将用户信息拼上平台用户信息返回
that.userBtn.destroy() //登录成功后摧毁按钮 that.userBtn.destroy() //登录成功后摧毁按钮
} else that.printf("Login: " + res.msg, 1) } else that.printf("Login: " + res.msg, 1)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论