You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
yanzong/app/api/service/statistics/UserData.php

25 lines
541 B

9 months ago
<?php
namespace app\api\service\statistics;
9 months ago
use app\api\model\User;
9 months ago
use app\common\service\BaseService;
class UserData extends BaseService
{
9 months ago
protected User $userModel;
public function initialize()
{
parent::initialize(); // TODO: Change the autogenerated stub
$this->userModel = new User();
}
public function getUserData($startDate = null, $endDate = null): array
9 months ago
{
return [
'visitorCount' => 0,
'viewCount' => 0,
'newUserCount' => 0,
];
}
}