删除其它参数,保留省市

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 { type AddressComponent struct {
// BusinessAreas []interface{} `json:"businessAreas"` // BusinessAreas []interface{} `json:"businessAreas"`
Country string `json:"country"` Country string `json:"country"`
Province string `json:"province"` Province string `json:"province"`
Citycode string `json:"citycode"` Citycode string `json:"citycode"`
City string `json:"city"` City string `json:"city"`
Adcode string `json:"adcode"` Adcode string `json:"adcode"`
StreetNumber StreetNumber `json:"streetNumber"` // StreetNumber StreetNumber `json:"streetNumber"`
Towncode string `json:"towncode"` // Towncode string `json:"towncode"`
District string `json:"district"` // District string `json:"district"`
// Neighborhood Neighborhood `json:"neighborhood"` // Neighborhood Neighborhood `json:"neighborhood"`
Township string `json:"township"` // Township string `json:"township"`
// Building Building `json:"building"` // Building Building `json:"building"`
} }