初始化项目
This commit is contained in:
@@ -117,17 +117,3 @@ type UpdateAdStatusReq struct {
|
||||
Id string `json:"id" v:"required"` // 广告ID
|
||||
Status string `json:"status" v:"required"` // 广告状态:启用、禁用
|
||||
}
|
||||
|
||||
// GetAdStatisticsReq 获取广告统计数据请求
|
||||
type GetAdStatisticsForAdvertisementReq struct {
|
||||
g.Meta `path:"/getStatistics" method:"get" tags:"广告管理" summary:"获取广告统计数据" dc:"获取广告的统计数据"`
|
||||
|
||||
Id string `json:"id" v:"required"` // 广告ID
|
||||
StatType string `json:"statType" v:"required"` // 统计类型:天、周、月
|
||||
StartDate int64 `json:"startDate"` // 开始日期
|
||||
EndDate int64 `json:"endDate"` // 结束日期
|
||||
}
|
||||
|
||||
type GetAdStatisticsForAdvertisementRes struct {
|
||||
Statistics []*entity.AdStatistics `json:"statistics"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user