feat: Playground相关接口禁用AccessToken

This commit is contained in:
1808837298@qq.com
2024-09-26 01:49:35 +08:00
parent af02cdc58b
commit 0cf53ac5ff
2 changed files with 7 additions and 2 deletions

View File

@@ -122,6 +122,7 @@ func authHelper(c *gin.Context, minRole int) {
c.Set("role", role)
c.Set("id", id)
c.Set("group", session.Get("group"))
c.Set("use_access_token", useAccessToken)
c.Next()
}