This commit is contained in:
@@ -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"` // 结束日期
|
||||
}
|
||||
Reference in New Issue
Block a user