mirror of
https://gitee.com/apiadmin/ApiAdmin.git
synced 2025-04-06 03:58:00 +08:00
modified 修复不显示权限组的BUG
This commit is contained in:
parent
c93c07e6cd
commit
d38a601535
@ -63,11 +63,11 @@ class User extends Base {
|
||||
$value['userData']['last_login_ip'] = long2ip($value['userData']['last_login_ip']);
|
||||
$value['userData']['last_login_time'] = date('Y-m-d H:i:s', $value['userData']['last_login_time']);
|
||||
$value['create_ip'] = long2ip($value['create_ip']);
|
||||
if (isset($userGroup[$value['id']])) {
|
||||
$listInfo[$key]['group_id'] = explode(',', $userGroup[$value['id']]['group_id']);
|
||||
} else {
|
||||
$listInfo[$key]['group_id'] = [];
|
||||
}
|
||||
}
|
||||
if (isset($userGroup[$value['id']])) {
|
||||
$value['group_id'] = explode(',', $userGroup[$value['id']]['group_id']);
|
||||
} else {
|
||||
$value['group_id'] = [];
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user