修改管理员详情
This commit is contained in:
parent
845c9a2c09
commit
8e6d53ea78
@ -229,9 +229,9 @@ class AdminLogic extends BaseLogic
|
||||
{
|
||||
$admin = Admin::field([
|
||||
'id', 'account', 'name', 'disable', 'root',
|
||||
'multipoint_login', 'avatar',
|
||||
'multipoint_login', 'avatar', 'sex', 'province', 'city', 'area', 'street', 'address', 'qualification', 'is_contract', 'id_card'
|
||||
])->findOrEmpty($params['id'])->toArray();
|
||||
|
||||
$admin['qualification'] = json_decode($admin['qualification'], true);
|
||||
if ($action == 'detail') {
|
||||
return $admin;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user