优化防重提交唯一标识

This commit is contained in:
RuoYi
2020-08-04 11:07:37 +08:00
parent 8b5d254242
commit 743fce7829
2 changed files with 15 additions and 3 deletions

View File

@ -61,6 +61,11 @@ public class Constants
* 登录用户 redis key
*/
public static final String LOGIN_TOKEN_KEY = "login_tokens:";
/**
* 防重提交 redis key
*/
public static final String REPEAT_SUBMIT_KEY = "repeat_submit:";
/**
* 验证码有效期(分钟)