From b5d7425114140cc612c11814b4b6bba2b98cc11a Mon Sep 17 00:00:00 2001 From: buiphuan0211 <57066954+buiphuan0211@users.noreply.github.com> Date: Fri, 23 Dec 2022 15:13:35 +0700 Subject: [PATCH] add field permission checkTokenSupplier --- model/supplier_request.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/model/supplier_request.go b/model/supplier_request.go index 63b5459..7ba0018 100644 --- a/model/supplier_request.go +++ b/model/supplier_request.go @@ -55,5 +55,6 @@ type SupplierCountReq struct { // CheckTokenSupplierPayload ... type CheckTokenSupplierPayload struct { - Token string `json:"token"` + Token string `json:"token"` + Permissions []string `json:"permissions"` }