/
creative.go
89 lines (65 loc) · 1.88 KB
/
creative.go
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
package mcnmodel
// CreativeCommonReq common creative
type CreativeCommonReq struct {
UpMid int64 `form:"mid" validate:"required"`
McnMid int64
}
// AidCommonReq common aid
type AidCommonReq struct {
CreativeCommonReq
Aid int64 `form:"aid" validate:"required"`
}
// DataCommonReq request params
type DataCommonReq struct {
CreativeCommonReq
Type int8 `form:"type" validate:"required"`
}
// ArchivesReq request params
type ArchivesReq struct {
CreativeCommonReq
Pn int64 `form:"pn"`
Ps int64 `form:"ps"`
Order string `form:"order"`
TID int64 `form:"tid"`
KeyWord string `form:"keyword"`
Status string `form:"status" validate:"required"`
Coop int16 `form:"coop"`
}
// ArchiveHistoryListReq request params
type ArchiveHistoryListReq = AidCommonReq
// ArchiveVideosReq request params
type ArchiveVideosReq = AidCommonReq
// DataArchiveReq request params
type DataArchiveReq = AidCommonReq
// DataVideoQuitReq request params
type DataVideoQuitReq struct {
CreativeCommonReq
Cid int64 `form:"cid" validate:"required"`
}
// DanmuDistriReq .
type DanmuDistriReq struct {
CreativeCommonReq
Aid int64 `form:"aid" validate:"required"`
Cid int64 `form:"cid" validate:"required"`
}
// DataBaseReq request params
type DataBaseReq = CreativeCommonReq
// DataTrendReq request params
type DataTrendReq = CreativeCommonReq
// DataActionReq request params
type DataActionReq = CreativeCommonReq
// DataFanReq request params
type DataFanReq = CreativeCommonReq
// DataPandectReq request params
type DataPandectReq = DataCommonReq
// DataSurveyReq request params
type DataSurveyReq = DataCommonReq
// DataPlaySourceReq request params
type DataPlaySourceReq = CreativeCommonReq
// DataPlayAnalysisReq request params
type DataPlayAnalysisReq struct {
CreativeCommonReq
Copyright int8 `form:"copyright"`
}
// DataArticleRankReq request params
type DataArticleRankReq = DataCommonReq