From d4b62e5dcaf10b85600c13de232bb5173a11d4fc Mon Sep 17 00:00:00 2001
From: jiangshuai <291802688@qq.com>
Date: 星期二, 06 二月 2024 10:14:46 +0800
Subject: [PATCH] 拦截器

---
 request/jwt.go |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/request/jwt.go b/request/jwt.go
index dece0f1..da7fb70 100644
--- a/request/jwt.go
+++ b/request/jwt.go
@@ -13,8 +13,9 @@
 }
 
 type BaseClaims struct {
-	UserId   string
-	Username string
-	ParentId string
-	UserType constvar.UserType
+	UserId      string
+	Username    string
+	ParentId    string
+	UserType    constvar.UserType
+	ModifiedPwd bool
 }

--
Gitblit v1.8.0