[location] create RequestCondition
This commit is contained in:
parent
96bc454514
commit
86cfda6dce
|
@ -26,3 +26,19 @@ type ClickAction struct {
|
|||
Type string `json:"type"`
|
||||
Value string `json:"value"`
|
||||
}
|
||||
|
||||
// RequestCondition ...
|
||||
type RequestCondition struct {
|
||||
Code int `json:"code"`
|
||||
Codes []int `json:"codes"`
|
||||
DistrictCode int `json:"districtCode"`
|
||||
ProvinceCode int `json:"provinceCode"`
|
||||
|
||||
Slug string `json:"slug"`
|
||||
Slugs []string `json:"slugs"`
|
||||
DistrictSlug string `json:"districtSlug"`
|
||||
ProvinceSlug string `json:"provinceSlug"`
|
||||
|
||||
Keyword string `json:"keyword"`
|
||||
Region string `json:"region"`
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue