| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 | 
							- <?php
 
- namespace App\Services\Statistics;
 
- use App\Repositories\Statistics\StatisticsUserRepository;
 
- class StatisticsUserService
 
- {
 
-     protected $statisticsUserRepository;
 
-     /**
 
-      * StatisticsUserService constructor.
 
-      * @param $statisticsUserRepository
 
-      */
 
-     public function __construct(StatisticsUserRepository $statisticsUserRepository)
 
-     {
 
-         $this->statisticsUserRepository = $statisticsUserRepository;
 
-     }
 
-     public function getList($where = array(), $limit = '')
 
-     {
 
-         return $this->statisticsUserRepository->getUsers($where, $limit);
 
-     }
 
-     public function getUserInfo($where)
 
-     {
 
-         return $this->statisticsUserRepository->getUserInfo($where);
 
-     }
 
-     public function createUserInfo($data)
 
-     {
 
-         return $this->statisticsUserRepository->createUserInfo($data);
 
-     }
 
-     public function updateUserInfo($set_data, $where)
 
-     {
 
-         return $this->statisticsUserRepository->updateUserInfo($set_data, $where);
 
-     }
 
-     public function deleteUserInfo($where)
 
-     {
 
-         return $this->statisticsUserRepository->deleteUserInfo($where);
 
-     }
 
- }
 
 
  |