liujiandao
2023-11-23 42ca2293072e5eb011e655c9cc8fd9bf0ba376f1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
 
package request
 
type AddSolveRate struct {
    Name string `  json:"name" binding:"required"`
}
 
type UpdateSolveRate struct {
    Id   int    `json:"id" binding:"required"`
    Name string `json:"name" binding:"required"`
}
 
type UpdateSolveRates struct {
    SolveRates []*UpdateSolveRate `json:"solve_rate" binding:"required"`
}