登录、模板操作
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user