2025-02-11 15:27:15 +08:00
|
|
|
package com.ff.base.constant;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 缓存的key 常量
|
|
|
|
*
|
|
|
|
* @author ff
|
|
|
|
*/
|
2025-04-01 11:38:30 +08:00
|
|
|
public class CacheConstants {
|
2025-02-11 15:27:15 +08:00
|
|
|
/**
|
|
|
|
* 登录用户 redis key
|
|
|
|
*/
|
|
|
|
public static final String LOGIN_TOKEN_KEY = "login_tokens:";
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 验证码 redis key
|
|
|
|
*/
|
|
|
|
public static final String CAPTCHA_CODE_KEY = "captcha_codes:";
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 参数管理 cache key
|
|
|
|
*/
|
|
|
|
public static final String SYS_CONFIG_KEY = "sys_config:";
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 字典管理 cache key
|
|
|
|
*/
|
|
|
|
public static final String SYS_DICT_KEY = "sys_dict:";
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 防重提交 redis key
|
|
|
|
*/
|
|
|
|
public static final String REPEAT_SUBMIT_KEY = "repeat_submit:";
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 限流 redis key
|
|
|
|
*/
|
|
|
|
public static final String RATE_LIMIT_KEY = "rate_limit:";
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 登录账户密码错误次数 redis key
|
|
|
|
*/
|
|
|
|
public static final String PWD_ERR_CNT_KEY = "pwd_err_cnt:";
|
|
|
|
|
|
|
|
/**
|
|
|
|
* jili 游戏
|
|
|
|
*/
|
2025-04-01 11:38:30 +08:00
|
|
|
public static final String JILI_GAMES = "jili_games:";
|
2025-02-11 15:27:15 +08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* xk 游戏
|
|
|
|
*/
|
2025-04-01 11:38:30 +08:00
|
|
|
public static final String XK_GAMES = "xk_games:";
|
2025-02-11 15:27:15 +08:00
|
|
|
|
2025-04-08 17:12:40 +08:00
|
|
|
/**
|
|
|
|
* ae游戏
|
|
|
|
*/
|
|
|
|
public static final String AE_GAMES = "ae_games:";
|
2025-04-03 09:50:51 +08:00
|
|
|
/**
|
|
|
|
* km游戏
|
|
|
|
*/
|
|
|
|
public static final String KM_GAMES = "km_games:";
|
|
|
|
|
|
|
|
|
2025-03-28 14:54:21 +08:00
|
|
|
/**
|
|
|
|
* pgx游戏
|
|
|
|
*/
|
2025-04-01 11:38:30 +08:00
|
|
|
public static final String PGX_GAMES = "pgx_games:";
|
2025-03-28 14:54:21 +08:00
|
|
|
|
2025-03-12 17:55:57 +08:00
|
|
|
/**
|
|
|
|
* pg游戏
|
|
|
|
*/
|
2025-04-01 11:38:30 +08:00
|
|
|
public static final String PG_GAMES = "pg_games:";
|
2025-02-11 15:27:15 +08:00
|
|
|
|
2025-04-07 14:44:55 +08:00
|
|
|
/**
|
|
|
|
* pgt游戏
|
|
|
|
*/
|
|
|
|
public static final String PGT_GAMES = "pgt_games:";
|
|
|
|
|
2025-03-25 17:04:25 +08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* fc游戏
|
|
|
|
*/
|
2025-04-01 11:38:30 +08:00
|
|
|
public static final String FC_GAMES = "fc_games:";
|
2025-03-25 17:04:25 +08:00
|
|
|
|
2025-03-26 17:45:28 +08:00
|
|
|
/**
|
|
|
|
* sa游戏
|
|
|
|
*/
|
2025-04-01 11:38:30 +08:00
|
|
|
public static final String SA_GAMES = "sa_games:";
|
2025-03-26 17:45:28 +08:00
|
|
|
|
|
|
|
|
2025-03-27 11:07:59 +08:00
|
|
|
/**
|
|
|
|
* dg游戏
|
|
|
|
*/
|
2025-04-01 11:38:30 +08:00
|
|
|
public static final String DG_GAMES = "dg_games:";
|
2025-04-08 13:33:18 +08:00
|
|
|
/**
|
|
|
|
* fb体育
|
|
|
|
*/
|
|
|
|
public static final String FB_Sports = "fp_sports:";
|
2025-02-11 15:27:15 +08:00
|
|
|
/**
|
2025-03-14 13:31:17 +08:00
|
|
|
* pg游戏投注货币
|
2025-02-11 15:27:15 +08:00
|
|
|
*/
|
2025-04-01 11:38:30 +08:00
|
|
|
public static final String PG_GAMES_BET_CURRENCY = "pg_games:bet:currency";
|
2025-03-18 14:10:34 +08:00
|
|
|
|
2025-04-07 14:44:55 +08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* pgt下一个id
|
|
|
|
*/
|
|
|
|
public static final String PGT_NEXT_ID = "pgt_next:id:";
|
|
|
|
|
2025-04-01 16:13:44 +08:00
|
|
|
/**
|
|
|
|
* ae时间从
|
|
|
|
*/
|
|
|
|
public static final String AE_TIME_FROM= "ae:time:from";
|
2025-03-18 14:10:34 +08:00
|
|
|
|
2025-04-01 11:38:30 +08:00
|
|
|
/**
|
|
|
|
* 美天棋牌游戏
|
|
|
|
*/
|
|
|
|
public static final String MeiTian_GAMES = "meitian_games:";
|
|
|
|
|
2025-04-03 11:20:05 +08:00
|
|
|
|
|
|
|
public static final String Platform = "platform:";
|
2025-04-03 11:21:43 +08:00
|
|
|
|
2025-04-03 09:50:51 +08:00
|
|
|
/**
|
|
|
|
* km用户令牌
|
|
|
|
*/
|
|
|
|
public static final String KM_USER_TOKEN = "km:user:token:";
|
|
|
|
|
2025-02-11 15:27:15 +08:00
|
|
|
}
|
2025-04-01 16:13:44 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|