From f4b034950f414c76253e8da194cc5c89e2254cab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E6=98=8A=E5=A4=A9?= <442384644@qq.com> Date: Mon, 19 Dec 2022 21:24:24 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=A8=E6=88=B7=E8=AF=A6=E6=83=85=E5=A4=B4?= =?UTF-8?q?=E5=83=8F=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crmeb/app/services/user/UserServices.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crmeb/app/services/user/UserServices.php b/crmeb/app/services/user/UserServices.php index 6d522b7d..200acd64 100644 --- a/crmeb/app/services/user/UserServices.php +++ b/crmeb/app/services/user/UserServices.php @@ -1201,14 +1201,14 @@ class UserServices extends BaseServices if (!$userInfo) { throw new AdminException(100026); } - $info = [ + $userInfo['avatar'] = strpos($userInfo['avatar'], 'http') === false ? (sys_config('site_url') . $userInfo['avatar']) : $userInfo['avatar']; + return [ 'uid' => $uid, 'userinfo' => $this->getUserDetailed($uid, $userInfo), 'headerList' => $this->getHeaderList($uid, $userInfo), 'count' => $this->getUserBillCountData($uid), 'ps_info' => $userInfo ]; - return $info; } /**