update location add find by slug
This commit is contained in:
parent
a86a097886
commit
29b2b861ff
|
@ -15,8 +15,9 @@ type (
|
||||||
|
|
||||||
// ProvinceRequestCondition ...
|
// ProvinceRequestCondition ...
|
||||||
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 ...
|
||||||
|
@ -26,9 +27,10 @@ type (
|
||||||
|
|
||||||
// DistrictRequestCondition ...
|
// DistrictRequestCondition ...
|
||||||
DistrictRequestCondition struct {
|
DistrictRequestCondition struct {
|
||||||
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 ...
|
||||||
|
@ -38,9 +40,10 @@ type (
|
||||||
|
|
||||||
// WardRequestCondition ...
|
// WardRequestCondition ...
|
||||||
WardRequestCondition struct {
|
WardRequestCondition struct {
|
||||||
Code int `json:"code"`
|
Code int `json:"code"`
|
||||||
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