|
1234567891011121314151617 |
- package redis_key
-
- import "fmt"
-
- const ACCOUNT_REDIS_PREFIX = "account"
-
- func PointAccountOperateLock(accountCode string) string {
- return KeyJoin(ACCOUNT_REDIS_PREFIX, accountCode, "operate", "lock")
- }
-
- func PointAccountDetail(userId int64) string {
- return KeyJoin(ACCOUNT_REDIS_PREFIX, fmt.Sprint(userId), "detail")
- }
-
- func PointAccountInitLock(userId int64) string {
- return KeyJoin(ACCOUNT_REDIS_PREFIX, fmt.Sprint(userId), "init", "lock")
- }
|