fix
wangpengfei
2023-08-28 c5a0eb549cba2cd358a2d0496c44f3a289f15d9c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package request
 
type AddClientType struct {
    Name string `json:"name" binding:"required"`
}
 
type UpdateClientType struct {
    Id   int    `json:"id" binding:"required"`
    Name string `json:"name" binding:"required"`
}
 
type UpdateClientTypes struct {
    ClientTypes []*UpdateClientType `json:"client_types" binding:"required"`
}