From a86a0978864179eb55f19a99cf60196d67c824a5 Mon Sep 17 00:00:00 2001 From: quang1472001 Date: Wed, 5 Oct 2022 18:15:36 +0700 Subject: [PATCH] update location --- model/location_request.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/model/location_request.go b/model/location_request.go index 22bdea7..674b8bd 100644 --- a/model/location_request.go +++ b/model/location_request.go @@ -26,9 +26,9 @@ type ( // DistrictRequestCondition ... DistrictRequestCondition struct { - Code int `json:"code"` - Codes int `json:"codes"` - ProvinceCode int `json:"provinceCode"` + Code int `json:"code"` + Codes []int `json:"codes"` + ProvinceCode int `json:"provinceCode"` } // WardRequestPayload ...