From 42dd74f19632302667c69138e6224fdd7c4d3962 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=96=AF=E7=8B=82=E7=9A=84=E7=8B=AE=E5=AD=90Li?= <15040126243@163.com> Date: Thu, 3 Mar 2022 23:22:36 +0800 Subject: [PATCH] =?UTF-8?q?remove=20=E5=88=A0=E9=99=A4=E6=97=A0=E7=94=A8?= =?UTF-8?q?=E5=B8=B8=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ruoyi/common/core/constant/Constants.java | 40 ------------------- .../common/core/constant/TokenConstants.java | 24 ----------- 2 files changed, 64 deletions(-) delete mode 100644 ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/constant/TokenConstants.java diff --git a/ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/constant/Constants.java b/ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/constant/Constants.java index 3883e58d..b7de8858 100644 --- a/ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/constant/Constants.java +++ b/ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/constant/Constants.java @@ -16,21 +16,6 @@ public interface Constants { */ String GBK = "GBK"; - /** - * RMI 远程方法调用 - */ - String LOOKUP_RMI = "rmi:"; - - /** - * LDAP 远程方法调用 - */ - String LOOKUP_LDAP = "ldap:"; - - /** - * LDAPS 远程方法调用 - */ - String LOOKUP_LDAPS = "ldaps:"; - /** * http请求 */ @@ -71,26 +56,6 @@ public interface Constants { */ String LOGIN_FAIL = "Error"; - /** - * 当前记录起始索引 - */ - String PAGE_NUM = "pageNum"; - - /** - * 每页显示记录数 - */ - String PAGE_SIZE = "pageSize"; - - /** - * 排序列 - */ - String ORDER_BY_COLUMN = "orderByColumn"; - - /** - * 排序的方向 "desc" 或者 "asc". - */ - String IS_ASC = "isAsc"; - /** * 验证码 redis key */ @@ -112,9 +77,4 @@ public interface Constants { */ String SYS_DICT_KEY = "sys_dict:"; - /** - * 资源映射路径 前缀 - */ - String RESOURCE_PREFIX = "/profile"; - } diff --git a/ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/constant/TokenConstants.java b/ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/constant/TokenConstants.java deleted file mode 100644 index 34710232..00000000 --- a/ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/constant/TokenConstants.java +++ /dev/null @@ -1,24 +0,0 @@ -package com.ruoyi.common.core.constant; - -/** - * Token的Key常量 - * - * @author Lion Li - */ -public interface TokenConstants { - /** - * 令牌自定义标识 - */ - String AUTHENTICATION = "Authorization"; - - /** - * 令牌前缀 - */ - String PREFIX = "Bearer "; - - /** - * 令牌秘钥 - */ - String SECRET = "abcdefghijklmnopqrstuvwxyz"; - -}