@ -63,7 +63,7 @@ class User extends UserModel
// 用户的ID
$userId = (int)Cache::get($token)['user']['user_id'];
// 用户基本信息
$userInfo = self::detail($userId);
$userInfo = self::detail($userId,['avatar']);
if (empty($userInfo) || $userInfo['is_delete']) {
throwError('很抱歉,用户信息不存在或已删除', config('status.not_logged'));
}