mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2026-06-07 02:12:25 +08:00
微信小程序用户授权优化
This commit is contained in:
@ -281,7 +281,7 @@ class User extends Common
|
||||
// 如果用户openid为空则绑定到用户下面
|
||||
if(empty($user['weixin_openid']))
|
||||
{
|
||||
if(wewe::UserOpenidBind($user['id'], $result['data']['openid'], 'weixin_openid'))
|
||||
if(UserService::UserOpenidBind($user['id'], $result['data']['openid'], 'weixin_openid'))
|
||||
{
|
||||
// 登录数据更新
|
||||
UserService::UserLoginRecord($user['id'], true);
|
||||
|
||||
Reference in New Issue
Block a user