mirror of
https://github.com/crmeb/CRMEB.git
synced 2025-12-11 18:32:50 +00:00
用户详情头像优化
This commit is contained in:
parent
5a9050704b
commit
f4b034950f
@ -1201,14 +1201,14 @@ class UserServices extends BaseServices
|
|||||||
if (!$userInfo) {
|
if (!$userInfo) {
|
||||||
throw new AdminException(100026);
|
throw new AdminException(100026);
|
||||||
}
|
}
|
||||||
$info = [
|
$userInfo['avatar'] = strpos($userInfo['avatar'], 'http') === false ? (sys_config('site_url') . $userInfo['avatar']) : $userInfo['avatar'];
|
||||||
|
return [
|
||||||
'uid' => $uid,
|
'uid' => $uid,
|
||||||
'userinfo' => $this->getUserDetailed($uid, $userInfo),
|
'userinfo' => $this->getUserDetailed($uid, $userInfo),
|
||||||
'headerList' => $this->getHeaderList($uid, $userInfo),
|
'headerList' => $this->getHeaderList($uid, $userInfo),
|
||||||
'count' => $this->getUserBillCountData($uid),
|
'count' => $this->getUserBillCountData($uid),
|
||||||
'ps_info' => $userInfo
|
'ps_info' => $userInfo
|
||||||
];
|
];
|
||||||
return $info;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user