update location add find by slug

This commit is contained in:
quang1472001 2022-10-06 09:19:21 +07:00
parent a86a097886
commit 29b2b861ff
1 changed files with 12 additions and 9 deletions

View File

@ -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"`
} }
) )