mirror of
https://gitee.com/y_project/RuoYi-Cloud.git
synced 2026-01-28 20:41:56 +08:00
实现微信扫码登录PC端
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user