LogService.php 608 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <?php
  2. namespace App\Module\Fund\Services;
  3. use App\Module\Fund\Service\Log;
  4. /**
  5. * 日志服务
  6. *
  7. */
  8. class LogService
  9. {
  10. /**
  11. * 日志记录
  12. *
  13. * @param $where
  14. * @param $page
  15. * @param $rows
  16. * @return \Illuminate\Pagination\LengthAwarePaginator
  17. */
  18. public function log_list($where, $page, $rows = 5)
  19. {
  20. $log = new Log();
  21. $page = $log->lists($where, $page, $rows);
  22. return $page;
  23. }
  24. public function statistical($where)
  25. {
  26. $log = new Log();
  27. $page = $log->statistical($where);
  28. return $page;
  29. }
  30. }