update location add find by slug
This commit is contained in:
parent
a86a097886
commit
29b2b861ff
|
@ -17,6 +17,7 @@ type (
|
||||||
ProvinceRequestCondition struct {
|
ProvinceRequestCondition struct {
|
||||||
Code int `json:"code"`
|
Code int `json:"code"`
|
||||||
Codes []int `json:"codes"`
|
Codes []int `json:"codes"`
|
||||||
|
Slug string `json:"slug"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// DistrictRequestPayload ...
|
// DistrictRequestPayload ...
|
||||||
|
@ -29,6 +30,7 @@ type (
|
||||||
Code int `json:"code"`
|
Code int `json:"code"`
|
||||||
Codes []int `json:"codes"`
|
Codes []int `json:"codes"`
|
||||||
ProvinceCode int `json:"provinceCode"`
|
ProvinceCode int `json:"provinceCode"`
|
||||||
|
Slug string `json:"slug"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// WardRequestPayload ...
|
// WardRequestPayload ...
|
||||||
|
@ -42,5 +44,6 @@ type (
|
||||||
Codes []int `json:"codes"`
|
Codes []int `json:"codes"`
|
||||||
DistrictCode int `json:"districtCode"`
|
DistrictCode int `json:"districtCode"`
|
||||||
ProvinceCode int `json:"provinceCode"`
|
ProvinceCode int `json:"provinceCode"`
|
||||||
|
Slug string `json:"slug"`
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue