UserVisitServices.php 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <?php
  2. // +----------------------------------------------------------------------
  3. // | CRMEB [ CRMEB赋能开发者,助力企业发展 ]
  4. // +----------------------------------------------------------------------
  5. // | Copyright (c) 2016~2020 https://www.crmeb.com All rights reserved.
  6. // +----------------------------------------------------------------------
  7. // | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权
  8. // +----------------------------------------------------------------------
  9. // | Author: CRMEB Team <admin@crmeb.com>
  10. // +----------------------------------------------------------------------
  11. declare (strict_types=1);
  12. namespace app\services\user;
  13. use app\services\BaseServices;
  14. use app\dao\user\UserVisitDao;
  15. /**
  16. *
  17. * Class UserVisitServices
  18. * @package app\services\user
  19. * @method count(array $where)
  20. * @method getDistinctCount(array $where, $field, ?bool $search = true)
  21. * @method sum(array $where, string $field)
  22. * @method getTrendData($time, $type, $timeType, $str)
  23. * @method getRegion($time, $channelType)
  24. */
  25. class UserVisitServices extends BaseServices
  26. {
  27. /**
  28. * UserVisitServices constructor.
  29. * @param UserVisitDao $dao
  30. */
  31. public function __construct(UserVisitDao $dao)
  32. {
  33. $this->dao = $dao;
  34. }
  35. }