fix
wangpengfei
2023-08-16 9e08d1c00bff888277ab7ba10d35a422a9b7abbf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package request
 
type AddSaleStage struct {
    Name string `json:"name" binding:"required"`
}
 
type UpdateSaleStage struct {
    Id   int    `json:"id" binding:"required"`
    Name string `json:"name" binding:"required"`
}
 
type UpdateSaleStages struct {
    SaleStages []*UpdateSaleStage `json:"sale_stages" binding:"required"`
}