修改管理员详情

This commit is contained in:
luofei 2023-07-19 16:40:14 +08:00
parent 845c9a2c09
commit 8e6d53ea78

View File

@ -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;
}