Explorar o código

remove 删除无用常量

疯狂的狮子Li %!s(int64=4) %!d(string=hai) anos
pai
achega
42dd74f196

+ 0 - 40
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";
-
 }

+ 0 - 24
ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/constant/TokenConstants.java

@@ -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";
-
-}