mirror of
https://github.com/crmeb/CRMEB.git
synced 2025-12-10 17:42:50 +00:00
用户详情头像优化
This commit is contained in:
parent
5a9050704b
commit
f4b034950f
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user