package request
|
|
type AddCity struct {
|
Names []string `json:"name"` // 城市名称
|
}
|
|
type SetCity struct {
|
ProvinceId int `json:"province_id"` // 省份ID
|
CityIds []int `json:"city_ids"` // 城市ID列表
|
}
|
|
type UpdateCities struct {
|
Cities []UpdateCity `json:"cities"` // 城市列表
|
}
|
|
type UpdateCity struct {
|
Id int `json:"id"` // 城市ID
|
Color string `json:"-"` // 城市颜色
|
Turn int `json:"-"` // 城市顺序
|
Name string `json:"name"` // 城市名称
|
}
|