From b061b3cb60fe74d234c4b8662f8b2ed6aa7f2fe1 Mon Sep 17 00:00:00 2001
From: heshupeng <hsp@bronet.cn>
Date: Thu, 17 Dec 2020 10:26:17 +0800
Subject: [PATCH] bug修改

---
 application/api/controller/User.php | 2 ++
 1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/application/api/controller/User.php b/application/api/controller/User.php
index 5f7f5e7..8726386 100644
--- a/application/api/controller/User.php
+++ b/application/api/controller/User.php
@@ -521,7 +521,9 @@ class User extends Api
                     $user = $user_model;
                     $user->id = $third['user_id'];
                     $user->nickname = $user_info['nickName'];
+                    $user->avatar = $user_info['avatarUrl'];
                     $user->status = 'normal';
+                    $user->joinip = $ip;
                     $user->jointime = $time;
                     $user->pid = $this->model->get($param['user_id']) ? $param['user_id'] : 0; //上级ID
                 }
--
libgit2 0.24.0