正在显示
1 个修改的文件
包含
2 行增加
和
1 行删除
@@ -69,7 +69,8 @@ class IndexController extends HomeBaseController | @@ -69,7 +69,8 @@ class IndexController extends HomeBaseController | ||
69 | $userDatas = [ | 69 | $userDatas = [ |
70 | 'last_login_ip' => $ip, | 70 | 'last_login_ip' => $ip, |
71 | 'last_login_time' => $currentTime, | 71 | 'last_login_time' => $currentTime, |
72 | - 'user_nickname' => $wechat_user['nickname'] | 72 | + 'user_nickname' => $wechat_user['nickname'], |
73 | + 'avatar' => $wechat_user['avatar'], | ||
73 | ]; | 74 | ]; |
74 | $row1=Db::name("third_party_user") | 75 | $row1=Db::name("third_party_user") |
75 | ->where('openid', $openid) | 76 | ->where('openid', $openid) |
-
请 注册 或 登录 后发表评论