-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
38c683f
commit e4b7bd9
Showing
15 changed files
with
262 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 42 additions & 0 deletions
42
src/main/java/cn/zxlee/znotifyapi/pojo/vo/StatisticsAnalysisResultVO.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
package cn.zxlee.znotifyapi.pojo.vo; | ||
|
||
import io.swagger.annotations.ApiModel; | ||
import io.swagger.annotations.ApiModelProperty; | ||
import lombok.Data; | ||
|
||
import java.util.List; | ||
|
||
/** | ||
* @program: z-notify-api | ||
* @description: StatisticsDetailResultVO | ||
* @author: zxlee | ||
* @create: 2022-12-18 18:38 | ||
**/ | ||
|
||
@Data | ||
@ApiModel("统计结果详情VO") | ||
public class StatisticsAnalysisResultVO { | ||
@ApiModelProperty("访问次数") | ||
private Integer viewCount; | ||
@ApiModelProperty("访问人数,根据ip区分访问次数,相同ip只算一次") | ||
private Integer visitorCount; | ||
@ApiModelProperty("今日总访问次数") | ||
private Integer todayViewCount; | ||
@ApiModelProperty("今日总访问人数") | ||
private Integer todayVisitorCount; | ||
@ApiModelProperty("昨日总访问次数") | ||
private Integer yesterdayViewCount; | ||
@ApiModelProperty("昨日总访问人数") | ||
private Integer yesterdayVisitorCount; | ||
@ApiModelProperty("近7天总访问次数") | ||
private Integer days7ViewCount; | ||
@ApiModelProperty("近30天总访问次数") | ||
private Integer days30ViewCount; | ||
|
||
@ApiModelProperty("近10天每天的访问次数") | ||
private List<StatisticsDateCountVO> days10CountList; | ||
@ApiModelProperty("近12个月每月的访问次数") | ||
private List<StatisticsDateCountVO> months12CountList; | ||
@ApiModelProperty("各个ip归属地数量") | ||
private List<StatisticsRegionCountVO> ipRegionCountList; | ||
} |
22 changes: 22 additions & 0 deletions
22
src/main/java/cn/zxlee/znotifyapi/pojo/vo/StatisticsDateCountVO.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package cn.zxlee.znotifyapi.pojo.vo; | ||
|
||
import cn.zxlee.znotifyapi.pojo.BasePOJO; | ||
import io.swagger.annotations.ApiModel; | ||
import io.swagger.annotations.ApiModelProperty; | ||
import lombok.Data; | ||
|
||
/** | ||
* @program: z-notify-api | ||
* @description: StatisticsDateCountVO | ||
* @author: zxlee | ||
* @create: 2022-12-17 17:05 | ||
**/ | ||
|
||
@Data | ||
@ApiModel("统计结果数量VO") | ||
public class StatisticsDateCountVO { | ||
@ApiModelProperty("日期") | ||
private String date; | ||
@ApiModelProperty("访问次数") | ||
private Integer count; | ||
} |
21 changes: 21 additions & 0 deletions
21
src/main/java/cn/zxlee/znotifyapi/pojo/vo/StatisticsRegionCountVO.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package cn.zxlee.znotifyapi.pojo.vo; | ||
|
||
import io.swagger.annotations.ApiModel; | ||
import io.swagger.annotations.ApiModelProperty; | ||
import lombok.Data; | ||
|
||
/** | ||
* @program: z-notify-api | ||
* @description: StatisticsRegionCountVO | ||
* @author: zxlee | ||
* @create: 2022-12-17 17:05 | ||
**/ | ||
|
||
@Data | ||
@ApiModel("统计结果ip归属地VO") | ||
public class StatisticsRegionCountVO { | ||
@ApiModelProperty("ip归属地") | ||
private String region; | ||
@ApiModelProperty("访问次数") | ||
private Integer count; | ||
} |
3 changes: 1 addition & 2 deletions
3
src/main/java/cn/zxlee/znotifyapi/pojo/vo/StatisticsResultVO.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.