删除其它参数,保留省市
This commit is contained in:
parent
225efe116d
commit
9d348523e6
@ -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"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user