SystemPermLogServer.php 527 B

1234567891011121314151617181920212223
  1. <?php
  2. namespace app\admin\server\index;
  3. use app\admin\model\SystemPermLog;
  4. class SystemPermLogServer
  5. {
  6. /**
  7. * Notes:获取日志列表
  8. * @param string $keywords
  9. * @param int $page
  10. * @param int $limit
  11. * @return array
  12. * User: YCP
  13. * Date: 2022/11/22
  14. */
  15. public static function getLogList(int $page, int $limit, string $keywords)
  16. {
  17. [$list, $count] = SystemPermLog::getLogList($page, $limit,$keywords);
  18. return compact('list', 'page', 'limit', 'count');
  19. }
  20. }