fix
wangpengfei
2023-08-14 18f5a87f2b647a27417aaffd62f48ff38be1d0d8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package request
 
type AddRegion struct {
    Name string `json:"name"` // 地区名称
}
 
type SetRegions struct {
    CityId    int   `json:"city_id"`    // 城市ID
    RegionIds []int `json:"region_ids"` // 地区ID列表
}
 
type UpdateRegions struct {
    Regions []UpdateRegion `json:"regions"` // 地区列表
}
 
type UpdateRegion struct {
    Id   int    `json:"id"`   // 地区ID
    Name string `json:"name"` // 地区名称
}