add
wangpengfei
2023-07-06 c394edd0b3c3fda6741d09c494cda96606d27501
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package request
 
type AddIndustry struct {
    Name string `json:"name" binding:"required"`
}
 
type UpdateIndustry struct {
    Id   int    `json:"id" binding:"required"`
    Name string `json:"name" binding:"required"`
}
 
type UpdateIndustries struct {
    Industries []*UpdateIndustry `json:"industries" binding:"required"`
}