wangpengfei
2023-08-07 9c2489c0c360c8dda36d3cbe1dba79222096b2dd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
 
package request
 
type AddReportSource struct {
    Name string `  json:"name" binding:"required"`
}
 
type UpdateReportSource struct {
    Id   int    `json:"id" binding:"required"`
    Name string `json:"name" binding:"required"`
}
 
type UpdateReportSources struct {
    ReportSources []*UpdateReportSource `json:"report_source" binding:"required"`
}