From 3e13cb55b32ff8f8d73c8a61da534cb137329f35 Mon Sep 17 00:00:00 2001 From: quang1472001 Date: Thu, 6 Oct 2022 11:22:10 +0700 Subject: [PATCH] update location request condition --- model/location_request.go | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/model/location_request.go b/model/location_request.go index 5816b52..69245aa 100644 --- a/model/location_request.go +++ b/model/location_request.go @@ -15,10 +15,12 @@ type ( // ProvinceRequestCondition ... ProvinceRequestCondition struct { - Code int `json:"code"` - Codes []int `json:"codes"` - Slug string `json:"slug"` - Slugs []string `json:"slugs"` + Code int `json:"code"` + Codes []int `json:"codes"` + Slug string `json:"slug"` + Slugs []string `json:"slugs"` + Keyword string `json:"keyword"` + Region string `json:"region"` } // DistrictRequestPayload ... @@ -33,6 +35,7 @@ type ( ProvinceCode int `json:"provinceCode"` Slug string `json:"slug"` ProvinceSlug string `json:"provinceSlug"` + Keyword string `json:"keyword"` } // WardRequestPayload ...