fix : common request

This commit is contained in:
2025-09-16 18:07:10 +08:00
parent be0d0913b6
commit 21331655f9
9 changed files with 46 additions and 33 deletions

View File

@@ -58,7 +58,7 @@ class UserService extends BaseAdminService
return $this->adminReturn->success(
'success',
Arr::only(
$this->getAdminUserInfo($this->adminId) ?: [],
$this->getAdminUserInfo($this->adminId)?->toArray() ?: [],
['username', 'nickname', 'avatar', 'signed', 'backend_setting', 'phone', 'email']
)
);