blog/app/service/DepartmentService.php
2024-06-08 15:54:41 +08:00

17 lines
256 B
PHP

<?php
namespace app\service;
use app\model\Department;
class DepartmentService
{
/**
* @Inject
* @var Department
*/
private $department;
public function allList():array
{
return $this->department->allList();
}
}