fix: realtime

This commit is contained in:
CalciumIon
2024-11-30 23:32:42 +08:00
parent 6da375491a
commit c0c9b1f670
3 changed files with 5 additions and 1 deletions
+1
View File
@@ -212,6 +212,7 @@ func TokenAuth() func(c *gin.Context) {
}
c.Set("id", token.UserId)
c.Set("token_id", token.Id)
c.Set("token_key", token.Key)
c.Set("token_name", token.Name)
c.Set("token_unlimited_quota", token.UnlimitedQuota)
if !token.UnlimitedQuota {