
com.allways.constants.Constants Maven / Gradle / Ivy
package com.allways.constants;
/**
* 常量
* @author lr
*/
public interface Constants {
/**成功*/
String OK = "200";
/**错误*/
String ERROR = "500";
/**响应码*/
String RESPONSE_CODE = "code";
/**响应信息*/
String RESPONSE_MESSAGE = "message";
/**鉴权token*/
String TOKEN = "token";
/**应用唯一标识*/
String APP_ID = "appId";
/**token请求头name*/
String HEADER_AUTH = "authorization";
/**redis前缀*/
String JOB_PREFIX = "scheduler:";
String DEFAULT_ROUTE_KEY = "default";
String EXECUTOR_PROJECT = JOB_PREFIX + "executor:project";
String PROJECT_SERVICE = JOB_PREFIX + "project:service";
String SERVICE_SUM = JOB_PREFIX + "service:num";
String NULL = "null";
String USER_NAME = "user";
String ROLE_ADMIN = "admin";
String INITIAL_LOGIN_TIME = "ANJI_123456789";
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy