yinbentan
2024-09-26 2030ec81f18f4ec9ea1800f13046acafff6d50f7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package request
 
type AddProvince struct {
    Name string `json:"name"` // 省份名称
}
 
type SetProvinces struct {
    CountryId int   `json:"country_id"` // 国家ID
    List      []int `json:"list"`       // 省份ID列表
}
 
type UpdateProvinces struct {
    Provinces []UpdateProvince `json:"provinces"` // 省份列表
}
 
type UpdateProvince struct {
    Id   int    `json:"id"`   // 省份ID
    Name string `json:"name"` // 省份名称
}