This commit is contained in:
oneao committed 2026-01-25 22:18:27 +08:00
1 parent 500fab7a80
commit 8f3f6982db
54 files changed
+2076 -1877

No files matched your search

@@ -43,11 +43,11 @@ func Auth() app.HandlerFunc {
return
}
verifyToken := jwtx.VerifyToken(token)
verifyToken, flag := jwtx.VerifyToken(token)
if verifyToken.IsValid {
if flag {
user := &ContextUser{
UserID: verifyToken.Claims.UserID,
UserID: verifyToken.UserID,
SpaceID: 0,
}
if spaceId != "" {