修复shell更新问题,修改全局过滤器超级token未传输id问题

This commit is contained in:
junleea 2025-03-05 19:08:22 +08:00
parent 484ee75736
commit a3e32c3755
1 changed files with 3 additions and 0 deletions

View File

@ -146,6 +146,9 @@ func JWTAuthMiddleware() gin.HandlerFunc {
}) })
return return
} }
if sId == "" {
sId = c.Query("super_id")
}
if sId == "" { if sId == "" {
sId = "1" sId = "1"
} }