From ea15293e22d25beb1e5653aeee9d513cafe9da59 Mon Sep 17 00:00:00 2001 From: NoahLan <6995syu@163.com> Date: Fri, 4 Aug 2023 16:54:00 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20jwt=E7=9A=84=E7=9B=B8=E5=85=B3key?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/jwt/vars.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/jwt/vars.go b/core/jwt/vars.go index d070ed6..a06222a 100644 --- a/core/jwt/vars.go +++ b/core/jwt/vars.go @@ -1,7 +1,7 @@ package jwt const ( - KeyUserId = "uid" - KeyRoleIds = "roles" - KeyDeptIds = "depts" + KeyUserId = "uid" + KeyRoles = "roles" + KeyDepts = "depts" )