fix: realtime

This commit is contained in:
CalciumIon committed 2024-11-30 23:32:42 +08:00
1 parent 6da375491a
commit c0c9b1f670
3 files changed
+5 -1

No files matched your search

+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 {