This commit is contained in:
2025-08-05 17:46:15 +08:00
parent e43d78ddf0
commit 4409bea9fc
106 changed files with 18564 additions and 7 deletions
@@ -0,0 +1,27 @@
package request
// MiniStatisticsRequest 小程序统计请求
type MiniStatisticsRequest struct {
StartDate string `json:"startDate" form:"startDate"` // 开始日期
EndDate string `json:"endDate" form:"endDate"` // 结束日期
Period string `json:"period" form:"period"` // 统计周期 day/week/month
}
// VisitTrendRequest 访问趋势请求
type VisitTrendRequest struct {
StartDate string `json:"startDate" form:"startDate" binding:"required"` // 开始日期
EndDate string `json:"endDate" form:"endDate" binding:"required"` // 结束日期
}
// PageAnalysisRequest 页面分析请求
type PageAnalysisRequest struct {
StartDate string `json:"startDate" form:"startDate"` // 开始日期
EndDate string `json:"endDate" form:"endDate"` // 结束日期
PagePath string `json:"pagePath" form:"pagePath"` // 页面路径
}
// UserRetentionRequest 用户留存请求
type UserRetentionRequest struct {
StartDate string `json:"startDate" form:"startDate" binding:"required"` // 开始日期
EndDate string `json:"endDate" form:"endDate" binding:"required"` // 结束日期
}