1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
| package cn.iocoder.yudao.module.statistics.service.infra;
|
| import java.time.LocalDateTime;
|
| /**
| * API 访问日志的统计 Service 接口
| *
| * @author owen
| */
| public interface ApiAccessLogStatisticsService {
|
| /**
| * 获取活跃用户数量
| *
| * @param userType 用户类型
| * @param beginTime 起始时间
| * @param endTime 截止时间
| * @return 活跃用户数量
| */
| Integer getUserCount(Integer userType, LocalDateTime beginTime, LocalDateTime endTime);
|
| /**
| * 获取访问用户数量
| *
| * @param userType 用户类型
| * @param beginTime 起始时间
| * @param endTime 截止时间
| * @return 访问用户数量
| */
| Integer getIpCount(Integer userType, LocalDateTime beginTime, LocalDateTime endTime);
|
| }
|
|