Revert to use cached userinfo for security reason

This commit is contained in:
2025-03-29 15:27:29 +08:00
parent f113ae6cba
commit 4a08fd8f1c
2 changed files with 2 additions and 16 deletions

View File

@@ -5,7 +5,8 @@ import "fmt"
// Those constants are used to directly get the cached data from redis
// Formatted like {prefix}#{key}
const (
DAUserInfoPrefix = "userinfo"
DAAttachment = "attachment"
DAUser = "account"
)
func FKey(prefix string, key any) string {