登录、模板操作

This commit is contained in:
2025-05-12 13:12:57 +08:00
parent 8ee9ab1b92
commit 8e30209540
15 changed files with 1114 additions and 39 deletions

View File

@@ -38,7 +38,7 @@ class AdminService extends BaseService
public function list(): array
{
$this->with = [
'roles'
'role'
];
$result = $this->getPageList();
@@ -173,7 +173,7 @@ class AdminService extends BaseService
public function myInfo(): mixed
{
$this->with = [
'roles'
'role'
];
$result = $this->getDetail($this->userId);
$result['created_day_at'] = format_time(strtotime($result['created_at']), 'Y-m-d');