实现微信扫码登录PC端

This commit is contained in:
wuyibo
2024-06-29 09:51:19 +08:00
parent 193e93f60a
commit d669f04f55
39 changed files with 708 additions and 146 deletions

View File

@@ -27,6 +27,11 @@ public class CacheConstants
*/
public final static long PASSWORD_LOCK_TIME = 10;
/**
* 微信扫码登录过期时间默认5分钟
*/
public final static long WX_SCAN_EXPIRE_TIME = 150;
/**
* 权限缓存前缀
*/
@@ -52,6 +57,11 @@ public class CacheConstants
*/
public static final String PWD_ERR_CNT_KEY = "pwd_err_cnt:";
/**
* 登录账户密码错误次数 redis key
*/
public static final String WX_SCAN_LOGIN_CHECK_KEY = "wx_scan_login_check:";
/**
* 赛会推广的二维码缓存地址key
*/