删除其它参数,保留省市

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

View File

@ -110,11 +110,11 @@ type AddressComponent struct {
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"`
} }