zhangqian
2023-08-15 2c53a4e2c7ededc1f07324d797430e8d4a0607a1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
 
package request
 
type AddTimelyRate struct {
    Name string `  json:"name" binding:"required"`
}
 
type UpdateTimelyRate struct {
    Id   int    `json:"id" binding:"required"`
    Name string `json:"name" binding:"required"`
}
 
type UpdateTimelyRates struct {
    TimelyRates []*UpdateTimelyRate `json:"timely_rate" binding:"required"`
}