删除其它参数,保留省市

This commit is contained in:
yuguojian 2025-05-25 17:44:31 +08:00
parent 225efe116d
commit 9d348523e6

View File

@ -105,16 +105,16 @@ type Regeocode struct {
type AddressComponent struct {
// BusinessAreas []interface{} `json:"businessAreas"`
Country string `json:"country"`
Province string `json:"province"`
Citycode string `json:"citycode"`
City string `json:"city"`
Adcode string `json:"adcode"`
StreetNumber StreetNumber `json:"streetNumber"`
Towncode string `json:"towncode"`
District string `json:"district"`
Country string `json:"country"`
Province string `json:"province"`
Citycode string `json:"citycode"`
City string `json:"city"`
Adcode string `json:"adcode"`
// StreetNumber StreetNumber `json:"streetNumber"`
// Towncode string `json:"towncode"`
// District string `json:"district"`
// Neighborhood Neighborhood `json:"neighborhood"`
Township string `json:"township"`
// Township string `json:"township"`
// Building Building `json:"building"`
}