feat : admin user finish

This commit is contained in:
2025-09-14 22:33:32 +08:00
parent cf5d5059d7
commit 1d01ecfdcb
10 changed files with 339 additions and 19 deletions

View File

@@ -52,4 +52,28 @@ abstract class BaseAdminService
* 主函数抽象类
*/
abstract public function handle();
/**
* @return int
*/
protected function getCurrentPage(): int
{
return (int) $this->request->input('page', 1);
}
/**
* @return int
*/
protected function getPageSize(): int
{
return (int) $this->request->input('page_size', 20);
}
/**
* @return array
*/
protected function getRequestData(): array
{
return $this->request->all();
}
}