chore: deprecate user setting legacy api

This commit is contained in:
Steven
2023-12-08 22:41:47 +08:00
parent b2d898dc15
commit 7fc7b19d64
16 changed files with 54 additions and 494 deletions

View File

@@ -4,10 +4,6 @@ import (
"fmt"
)
func getUserSettingCacheKey(userID int32, key string) string {
return fmt.Sprintf("%d-%s", userID, key)
}
func getUserSettingV1CacheKey(userID int32, key string) string {
return fmt.Sprintf("%d-%s-v1", userID, key)
}