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"` // 地区名称 }