提交 5309f24a 编写于 作者: D Devil

微信小程序用户授权优化

上级 52d8ce74
......@@ -284,10 +284,7 @@ class User extends Common
if(UserService::UserOpenidBind($user['id'], $result['data']['openid'], 'weixin_openid'))
{
// 登录数据更新
UserService::UserLoginRecord($user['id'], true);
// openid加入用户数据
$user['weixin_openid'] = $result['data']['openid'];
$user = UserService::AppUserInfoHandle($user['id']);
}
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册