123456789101112131415161718192021222324252627282930 |
- <?php
- /**
- * Created by PhpStorm.
- * User: Administrator
- * Date: 2018/11/06
- * Time: 15:00
- */
- namespace App\Services\Content;
- use App\Repositories\HrtoolsRepository;
- class HrtoolsService
- {
- protected $hrtoolsRepository;
- /**
- * HrtoolsService constructor.
- * @param $hrtoolsRepository
- */
- public function __construct(HrtoolsRepository $hrtoolsRepository)
- {
- $this->hrtoolsRepository = $hrtoolsRepository;
- }
- public function getHrtools($where)
- {
- return $this->hrtoolsRepository->getLists($where);
- }
- }
|