From 29b5c5daf33344ee1b1b93b1b5a2c8ffd3f73f8f Mon Sep 17 00:00:00 2001 From: RuoYi <yzz_ivy@163.com> Date: 星期日, 08 八月 2021 18:54:42 +0800 Subject: [PATCH] 优化用户不能删除自己 --- src/main/java/com/ruoyi/common/constant/Constants.java | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/ruoyi/common/constant/Constants.java b/src/main/java/com/ruoyi/common/constant/Constants.java index fe8afc0..7fdf163 100644 --- a/src/main/java/com/ruoyi/common/constant/Constants.java +++ b/src/main/java/com/ruoyi/common/constant/Constants.java @@ -50,6 +50,11 @@ public static final String LOGOUT = "Logout"; /** + * 娉ㄥ唽 + */ + public static final String REGISTER = "Register"; + + /** * 鐧诲綍澶辫触 */ public static final String LOGIN_FAIL = "Error"; @@ -63,6 +68,11 @@ * 鐧诲綍鐢ㄦ埛 redis key */ public static final String LOGIN_TOKEN_KEY = "login_tokens:"; + + /** + * 闃查噸鎻愪氦 redis key + */ + public static final String REPEAT_SUBMIT_KEY = "repeat_submit:"; /** * 楠岃瘉鐮佹湁鏁堟湡锛堝垎閽燂級 @@ -123,4 +133,9 @@ * 璧勬簮鏄犲皠璺緞 鍓嶇紑 */ public static final String RESOURCE_PREFIX = "/profile"; + + /** + * RMI 杩滅▼鏂规硶璋冪敤 + */ + public static final String LOOKUP_RMI = "rmi://"; } -- Gitblit v1.9.3