HrtoolsService.php 562 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: Administrator
  5. * Date: 2018/11/06
  6. * Time: 15:00
  7. */
  8. namespace App\Services\Content;
  9. use App\Repositories\HrtoolsRepository;
  10. class HrtoolsService
  11. {
  12. protected $hrtoolsRepository;
  13. /**
  14. * HrtoolsService constructor.
  15. * @param $hrtoolsRepository
  16. */
  17. public function __construct(HrtoolsRepository $hrtoolsRepository)
  18. {
  19. $this->hrtoolsRepository = $hrtoolsRepository;
  20. }
  21. public function getHrtools($where)
  22. {
  23. return $this->hrtoolsRepository->getLists($where);
  24. }
  25. }