mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-31 15:00:52 +00:00
系统自带图片增加域名
This commit is contained in:
parent
a05ccb6124
commit
a1e95884c8
@ -90,6 +90,9 @@ class AgentLevelServices extends BaseServices
|
||||
$this->checkUserLevelFinish($uid);
|
||||
|
||||
$list = $this->dao->getList(['is_del' => 0, 'status' => 1]);
|
||||
foreach ($list as &$item) {
|
||||
$item['image'] = set_file_url($item['image']);
|
||||
}
|
||||
$agent_level = $user['agent_level'] ?? 0;
|
||||
//没等级默认最低等级
|
||||
if (!$agent_level) {
|
||||
|
||||
@ -1461,7 +1461,7 @@ class UserServices extends BaseServices
|
||||
$user['vip'] = (bool)$userLevel;
|
||||
if ($user['vip']) {
|
||||
$user['vip_id'] = $userLevel['id'] ?? 0;
|
||||
$user['vip_icon'] = $userLevel['icon'] ?? '';
|
||||
$user['vip_icon'] = set_file_url($userLevel['icon']) ?? '';
|
||||
$user['vip_name'] = $userLevel['name'] ?? '';
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user