|
|
|
@ -9,320 +9,321 @@ public interface CommonConstant {
|
|
|
|
|
/**
|
|
|
|
|
* 正常状态
|
|
|
|
|
*/
|
|
|
|
|
public static final Integer STATUS_NORMAL = 0;
|
|
|
|
|
Integer STATUS_NORMAL = 0;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 禁用状态
|
|
|
|
|
*/
|
|
|
|
|
public static final Integer STATUS_DISABLE = -1;
|
|
|
|
|
Integer STATUS_DISABLE = -1;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 删除标志
|
|
|
|
|
*/
|
|
|
|
|
public static final Integer DEL_FLAG_1 = 1;
|
|
|
|
|
Integer DEL_FLAG_1 = 1;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 未删除
|
|
|
|
|
*/
|
|
|
|
|
public static final Integer DEL_FLAG_0 = 0;
|
|
|
|
|
Integer DEL_FLAG_0 = 0;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 系统日志类型: 登录
|
|
|
|
|
*/
|
|
|
|
|
public static final int LOG_TYPE_1 = 1;
|
|
|
|
|
int LOG_TYPE_1 = 1;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 系统日志类型: 操作
|
|
|
|
|
*/
|
|
|
|
|
public static final int LOG_TYPE_2 = 2;
|
|
|
|
|
int LOG_TYPE_2 = 2;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 操作日志类型: 查询
|
|
|
|
|
*/
|
|
|
|
|
public static final int OPERATE_TYPE_1 = 1;
|
|
|
|
|
int OPERATE_TYPE_1 = 1;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 操作日志类型: 添加
|
|
|
|
|
*/
|
|
|
|
|
public static final int OPERATE_TYPE_2 = 2;
|
|
|
|
|
int OPERATE_TYPE_2 = 2;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 操作日志类型: 更新
|
|
|
|
|
*/
|
|
|
|
|
public static final int OPERATE_TYPE_3 = 3;
|
|
|
|
|
int OPERATE_TYPE_3 = 3;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 操作日志类型: 删除
|
|
|
|
|
*/
|
|
|
|
|
public static final int OPERATE_TYPE_4 = 4;
|
|
|
|
|
int OPERATE_TYPE_4 = 4;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 操作日志类型: 倒入
|
|
|
|
|
*/
|
|
|
|
|
public static final int OPERATE_TYPE_5 = 5;
|
|
|
|
|
int OPERATE_TYPE_5 = 5;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 操作日志类型: 导出
|
|
|
|
|
*/
|
|
|
|
|
public static final int OPERATE_TYPE_6 = 6;
|
|
|
|
|
int OPERATE_TYPE_6 = 6;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** {@code 500 Server Error} (HTTP/1.0 - RFC 1945) */
|
|
|
|
|
public static final Integer SC_INTERNAL_SERVER_ERROR_500 = 500;
|
|
|
|
|
Integer SC_INTERNAL_SERVER_ERROR_500 = 500;
|
|
|
|
|
/** {@code 200 OK} (HTTP/1.0 - RFC 1945) */
|
|
|
|
|
public static final Integer SC_OK_200 = 200;
|
|
|
|
|
Integer SC_OK_200 = 200;
|
|
|
|
|
|
|
|
|
|
/**访问权限认证未通过 510*/
|
|
|
|
|
public static final Integer SC_JEECG_NO_AUTHZ=510;
|
|
|
|
|
Integer SC_JEECG_NO_AUTHZ=510;
|
|
|
|
|
|
|
|
|
|
/** 登录用户Shiro权限缓存KEY前缀 */
|
|
|
|
|
public static String PREFIX_USER_SHIRO_CACHE = "shiro:cache:org.jeecg.config.shiro.ShiroRealm.authorizationCache:";
|
|
|
|
|
/** 登录用户Token令牌缓存KEY前缀 */
|
|
|
|
|
public static final String PREFIX_USER_TOKEN = "prefix_user_token_";
|
|
|
|
|
String PREFIX_USER_TOKEN = "prefix_user_token_";
|
|
|
|
|
// /** Token缓存时间:3600秒即一小时 */
|
|
|
|
|
// public static final int TOKEN_EXPIRE_TIME = 3600;
|
|
|
|
|
// int TOKEN_EXPIRE_TIME = 3600;
|
|
|
|
|
|
|
|
|
|
/** 登录二维码 */
|
|
|
|
|
public static final String LOGIN_QRCODE_PRE = "QRCODELOGIN:";
|
|
|
|
|
public static final String LOGIN_QRCODE = "LQ:";
|
|
|
|
|
String LOGIN_QRCODE_PRE = "QRCODELOGIN:";
|
|
|
|
|
String LOGIN_QRCODE = "LQ:";
|
|
|
|
|
/** 登录二维码token */
|
|
|
|
|
public static final String LOGIN_QRCODE_TOKEN = "LQT:";
|
|
|
|
|
String LOGIN_QRCODE_TOKEN = "LQT:";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 0:一级菜单
|
|
|
|
|
*/
|
|
|
|
|
public static final Integer MENU_TYPE_0 = 0;
|
|
|
|
|
Integer MENU_TYPE_0 = 0;
|
|
|
|
|
/**
|
|
|
|
|
* 1:子菜单
|
|
|
|
|
*/
|
|
|
|
|
public static final Integer MENU_TYPE_1 = 1;
|
|
|
|
|
Integer MENU_TYPE_1 = 1;
|
|
|
|
|
/**
|
|
|
|
|
* 2:按钮权限
|
|
|
|
|
*/
|
|
|
|
|
public static final Integer MENU_TYPE_2 = 2;
|
|
|
|
|
Integer MENU_TYPE_2 = 2;
|
|
|
|
|
|
|
|
|
|
/**通告对象类型(USER:指定用户,ALL:全体用户)*/
|
|
|
|
|
public static final String MSG_TYPE_UESR = "USER";
|
|
|
|
|
public static final String MSG_TYPE_ALL = "ALL";
|
|
|
|
|
String MSG_TYPE_UESR = "USER";
|
|
|
|
|
String MSG_TYPE_ALL = "ALL";
|
|
|
|
|
|
|
|
|
|
/**发布状态(0未发布,1已发布,2已撤销)*/
|
|
|
|
|
public static final String NO_SEND = "0";
|
|
|
|
|
public static final String HAS_SEND = "1";
|
|
|
|
|
public static final String HAS_CANCLE = "2";
|
|
|
|
|
String NO_SEND = "0";
|
|
|
|
|
String HAS_SEND = "1";
|
|
|
|
|
String HAS_CANCLE = "2";
|
|
|
|
|
|
|
|
|
|
/**阅读状态(0未读,1已读)*/
|
|
|
|
|
public static final String HAS_READ_FLAG = "1";
|
|
|
|
|
public static final String NO_READ_FLAG = "0";
|
|
|
|
|
String HAS_READ_FLAG = "1";
|
|
|
|
|
String NO_READ_FLAG = "0";
|
|
|
|
|
|
|
|
|
|
/**优先级(L低,M中,H高)*/
|
|
|
|
|
public static final String PRIORITY_L = "L";
|
|
|
|
|
public static final String PRIORITY_M = "M";
|
|
|
|
|
public static final String PRIORITY_H = "H";
|
|
|
|
|
String PRIORITY_L = "L";
|
|
|
|
|
String PRIORITY_M = "M";
|
|
|
|
|
String PRIORITY_H = "H";
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 短信模板方式 0 .登录模板、1.注册模板、2.忘记密码模板
|
|
|
|
|
*/
|
|
|
|
|
public static final String SMS_TPL_TYPE_0 = "0";
|
|
|
|
|
public static final String SMS_TPL_TYPE_1 = "1";
|
|
|
|
|
public static final String SMS_TPL_TYPE_2 = "2";
|
|
|
|
|
String SMS_TPL_TYPE_0 = "0";
|
|
|
|
|
String SMS_TPL_TYPE_1 = "1";
|
|
|
|
|
String SMS_TPL_TYPE_2 = "2";
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 状态(0无效1有效)
|
|
|
|
|
*/
|
|
|
|
|
public static final String STATUS_0 = "0";
|
|
|
|
|
public static final String STATUS_1 = "1";
|
|
|
|
|
String STATUS_0 = "0";
|
|
|
|
|
String STATUS_1 = "1";
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 同步工作流引擎1同步0不同步
|
|
|
|
|
*/
|
|
|
|
|
public static final Integer ACT_SYNC_1 = 1;
|
|
|
|
|
public static final Integer ACT_SYNC_0 = 0;
|
|
|
|
|
Integer ACT_SYNC_1 = 1;
|
|
|
|
|
Integer ACT_SYNC_0 = 0;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 消息类型1:通知公告2:系统消息
|
|
|
|
|
*/
|
|
|
|
|
public static final String MSG_CATEGORY_1 = "1";
|
|
|
|
|
public static final String MSG_CATEGORY_2 = "2";
|
|
|
|
|
String MSG_CATEGORY_1 = "1";
|
|
|
|
|
String MSG_CATEGORY_2 = "2";
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 是否配置菜单的数据权限 1是0否
|
|
|
|
|
*/
|
|
|
|
|
public static final Integer RULE_FLAG_0 = 0;
|
|
|
|
|
public static final Integer RULE_FLAG_1 = 1;
|
|
|
|
|
Integer RULE_FLAG_0 = 0;
|
|
|
|
|
Integer RULE_FLAG_1 = 1;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 是否用户已被冻结 1正常(解冻) 2冻结
|
|
|
|
|
*/
|
|
|
|
|
public static final Integer USER_UNFREEZE = 1;
|
|
|
|
|
public static final Integer USER_FREEZE = 2;
|
|
|
|
|
Integer USER_UNFREEZE = 1;
|
|
|
|
|
Integer USER_FREEZE = 2;
|
|
|
|
|
|
|
|
|
|
/**字典翻译文本后缀*/
|
|
|
|
|
public static final String DICT_TEXT_SUFFIX = "_dictText";
|
|
|
|
|
String DICT_TEXT_SUFFIX = "_dictText";
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 表单设计器主表类型
|
|
|
|
|
*/
|
|
|
|
|
public static final Integer DESIGN_FORM_TYPE_MAIN = 1;
|
|
|
|
|
Integer DESIGN_FORM_TYPE_MAIN = 1;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 表单设计器子表表类型
|
|
|
|
|
*/
|
|
|
|
|
public static final Integer DESIGN_FORM_TYPE_SUB = 2;
|
|
|
|
|
Integer DESIGN_FORM_TYPE_SUB = 2;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 表单设计器URL授权通过
|
|
|
|
|
*/
|
|
|
|
|
public static final Integer DESIGN_FORM_URL_STATUS_PASSED = 1;
|
|
|
|
|
Integer DESIGN_FORM_URL_STATUS_PASSED = 1;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 表单设计器URL授权未通过
|
|
|
|
|
*/
|
|
|
|
|
public static final Integer DESIGN_FORM_URL_STATUS_NOT_PASSED = 2;
|
|
|
|
|
Integer DESIGN_FORM_URL_STATUS_NOT_PASSED = 2;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 表单设计器新增 Flag
|
|
|
|
|
*/
|
|
|
|
|
public static final String DESIGN_FORM_URL_TYPE_ADD = "add";
|
|
|
|
|
String DESIGN_FORM_URL_TYPE_ADD = "add";
|
|
|
|
|
/**
|
|
|
|
|
* 表单设计器修改 Flag
|
|
|
|
|
*/
|
|
|
|
|
public static final String DESIGN_FORM_URL_TYPE_EDIT = "edit";
|
|
|
|
|
String DESIGN_FORM_URL_TYPE_EDIT = "edit";
|
|
|
|
|
/**
|
|
|
|
|
* 表单设计器详情 Flag
|
|
|
|
|
*/
|
|
|
|
|
public static final String DESIGN_FORM_URL_TYPE_DETAIL = "detail";
|
|
|
|
|
String DESIGN_FORM_URL_TYPE_DETAIL = "detail";
|
|
|
|
|
/**
|
|
|
|
|
* 表单设计器复用数据 Flag
|
|
|
|
|
*/
|
|
|
|
|
public static final String DESIGN_FORM_URL_TYPE_REUSE = "reuse";
|
|
|
|
|
String DESIGN_FORM_URL_TYPE_REUSE = "reuse";
|
|
|
|
|
/**
|
|
|
|
|
* 表单设计器编辑 Flag (已弃用)
|
|
|
|
|
*/
|
|
|
|
|
public static final String DESIGN_FORM_URL_TYPE_VIEW = "view";
|
|
|
|
|
String DESIGN_FORM_URL_TYPE_VIEW = "view";
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* online参数值设置(是:Y, 否:N)
|
|
|
|
|
*/
|
|
|
|
|
public static final String ONLINE_PARAM_VAL_IS_TURE = "Y";
|
|
|
|
|
public static final String ONLINE_PARAM_VAL_IS_FALSE = "N";
|
|
|
|
|
String ONLINE_PARAM_VAL_IS_TURE = "Y";
|
|
|
|
|
String ONLINE_PARAM_VAL_IS_FALSE = "N";
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 文件上传类型(本地:local,Minio:minio,阿里云:alioss)
|
|
|
|
|
*/
|
|
|
|
|
public static final String UPLOAD_TYPE_LOCAL = "local";
|
|
|
|
|
public static final String UPLOAD_TYPE_MINIO = "minio";
|
|
|
|
|
public static final String UPLOAD_TYPE_OSS = "alioss";
|
|
|
|
|
String UPLOAD_TYPE_LOCAL = "local";
|
|
|
|
|
String UPLOAD_TYPE_MINIO = "minio";
|
|
|
|
|
String UPLOAD_TYPE_OSS = "alioss";
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 文档上传自定义桶名称
|
|
|
|
|
*/
|
|
|
|
|
public static final String UPLOAD_CUSTOM_BUCKET = "eoafile";
|
|
|
|
|
String UPLOAD_CUSTOM_BUCKET = "eoafile";
|
|
|
|
|
/**
|
|
|
|
|
* 文档上传自定义路径
|
|
|
|
|
*/
|
|
|
|
|
public static final String UPLOAD_CUSTOM_PATH = "eoafile";
|
|
|
|
|
String UPLOAD_CUSTOM_PATH = "eoafile";
|
|
|
|
|
/**
|
|
|
|
|
* 文件外链接有效天数
|
|
|
|
|
*/
|
|
|
|
|
public static final Integer UPLOAD_EFFECTIVE_DAYS = 1;
|
|
|
|
|
Integer UPLOAD_EFFECTIVE_DAYS = 1;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 员工身份 (1:普通员工 2:上级)
|
|
|
|
|
*/
|
|
|
|
|
public static final Integer USER_IDENTITY_1 = 1;
|
|
|
|
|
public static final Integer USER_IDENTITY_2 = 2;
|
|
|
|
|
Integer USER_IDENTITY_1 = 1;
|
|
|
|
|
Integer USER_IDENTITY_2 = 2;
|
|
|
|
|
|
|
|
|
|
/** sys_user 表 username 唯一键索引 */
|
|
|
|
|
public static final String SQL_INDEX_UNIQ_SYS_USER_USERNAME = "uniq_sys_user_username";
|
|
|
|
|
String SQL_INDEX_UNIQ_SYS_USER_USERNAME = "uniq_sys_user_username";
|
|
|
|
|
/** sys_user 表 work_no 唯一键索引 */
|
|
|
|
|
public static final String SQL_INDEX_UNIQ_SYS_USER_WORK_NO = "uniq_sys_user_work_no";
|
|
|
|
|
String SQL_INDEX_UNIQ_SYS_USER_WORK_NO = "uniq_sys_user_work_no";
|
|
|
|
|
/** sys_user 表 phone 唯一键索引 */
|
|
|
|
|
public static final String SQL_INDEX_UNIQ_SYS_USER_PHONE = "uniq_sys_user_phone";
|
|
|
|
|
String SQL_INDEX_UNIQ_SYS_USER_PHONE = "uniq_sys_user_phone";
|
|
|
|
|
/** 达梦数据库升提示。违反表[SYS_USER]唯一性约束 */
|
|
|
|
|
public static final String SQL_INDEX_UNIQ_SYS_USER = "唯一性约束";
|
|
|
|
|
String SQL_INDEX_UNIQ_SYS_USER = "唯一性约束";
|
|
|
|
|
|
|
|
|
|
/** sys_user 表 email 唯一键索引 */
|
|
|
|
|
public static final String SQL_INDEX_UNIQ_SYS_USER_EMAIL = "uniq_sys_user_email";
|
|
|
|
|
String SQL_INDEX_UNIQ_SYS_USER_EMAIL = "uniq_sys_user_email";
|
|
|
|
|
/** sys_quartz_job 表 job_class_name 唯一键索引 */
|
|
|
|
|
public static final String SQL_INDEX_UNIQ_JOB_CLASS_NAME = "uniq_job_class_name";
|
|
|
|
|
String SQL_INDEX_UNIQ_JOB_CLASS_NAME = "uniq_job_class_name";
|
|
|
|
|
/** sys_position 表 code 唯一键索引 */
|
|
|
|
|
public static final String SQL_INDEX_UNIQ_CODE = "uniq_code";
|
|
|
|
|
String SQL_INDEX_UNIQ_CODE = "uniq_code";
|
|
|
|
|
/** sys_role 表 code 唯一键索引 */
|
|
|
|
|
public static final String SQL_INDEX_UNIQ_SYS_ROLE_CODE = "uniq_sys_role_role_code";
|
|
|
|
|
String SQL_INDEX_UNIQ_SYS_ROLE_CODE = "uniq_sys_role_role_code";
|
|
|
|
|
/** sys_depart 表 code 唯一键索引 */
|
|
|
|
|
public static final String SQL_INDEX_UNIQ_DEPART_ORG_CODE = "uniq_depart_org_code";
|
|
|
|
|
String SQL_INDEX_UNIQ_DEPART_ORG_CODE = "uniq_depart_org_code";
|
|
|
|
|
/** sys_category 表 code 唯一键索引 */
|
|
|
|
|
public static final String SQL_INDEX_UNIQ_CATEGORY_CODE = "idx_sc_code";
|
|
|
|
|
String SQL_INDEX_UNIQ_CATEGORY_CODE = "idx_sc_code";
|
|
|
|
|
/**
|
|
|
|
|
* 在线聊天 是否为默认分组
|
|
|
|
|
*/
|
|
|
|
|
public static final String IM_DEFAULT_GROUP = "1";
|
|
|
|
|
String IM_DEFAULT_GROUP = "1";
|
|
|
|
|
/**
|
|
|
|
|
* 在线聊天 图片文件保存路径
|
|
|
|
|
*/
|
|
|
|
|
public static final String IM_UPLOAD_CUSTOM_PATH = "imfile";
|
|
|
|
|
String IM_UPLOAD_CUSTOM_PATH = "imfile";
|
|
|
|
|
/**
|
|
|
|
|
* 在线聊天 用户状态
|
|
|
|
|
*/
|
|
|
|
|
public static final String IM_STATUS_ONLINE = "online";
|
|
|
|
|
String IM_STATUS_ONLINE = "online";
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 在线聊天 SOCKET消息类型
|
|
|
|
|
*/
|
|
|
|
|
public static final String IM_SOCKET_TYPE = "chatMessage";
|
|
|
|
|
String IM_SOCKET_TYPE = "chatMessage";
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 在线聊天 是否开启默认添加好友 1是 0否
|
|
|
|
|
*/
|
|
|
|
|
public static final String IM_DEFAULT_ADD_FRIEND = "1";
|
|
|
|
|
String IM_DEFAULT_ADD_FRIEND = "1";
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 在线聊天 用户好友缓存前缀
|
|
|
|
|
*/
|
|
|
|
|
public static final String IM_PREFIX_USER_FRIEND_CACHE = "sys:cache:im:im_prefix_user_friend_";
|
|
|
|
|
String IM_PREFIX_USER_FRIEND_CACHE = "sys:cache:im:im_prefix_user_friend_";
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 考勤补卡业务状态 (1:同意 2:不同意)
|
|
|
|
|
*/
|
|
|
|
|
public static final String SIGN_PATCH_BIZ_STATUS_1 = "1";
|
|
|
|
|
public static final String SIGN_PATCH_BIZ_STATUS_2 = "2";
|
|
|
|
|
String SIGN_PATCH_BIZ_STATUS_1 = "1";
|
|
|
|
|
String SIGN_PATCH_BIZ_STATUS_2 = "2";
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 公文文档上传自定义路径
|
|
|
|
|
*/
|
|
|
|
|
public static final String UPLOAD_CUSTOM_PATH_OFFICIAL = "officialdoc";
|
|
|
|
|
String UPLOAD_CUSTOM_PATH_OFFICIAL = "officialdoc";
|
|
|
|
|
/**
|
|
|
|
|
* 公文文档下载自定义路径
|
|
|
|
|
*/
|
|
|
|
|
public static final String DOWNLOAD_CUSTOM_PATH_OFFICIAL = "officaldown";
|
|
|
|
|
String DOWNLOAD_CUSTOM_PATH_OFFICIAL = "officaldown";
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* WPS存储值类别(1 code文号 2 text(WPS模板还是公文发文模板))
|
|
|
|
|
*/
|
|
|
|
|
public static final String WPS_TYPE_1="1";
|
|
|
|
|
public static final String WPS_TYPE_2="2";
|
|
|
|
|
String WPS_TYPE_1="1";
|
|
|
|
|
String WPS_TYPE_2="2";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public final static String X_ACCESS_TOKEN = "X-Access-Token";
|
|
|
|
|
public final static String X_SIGN = "X-Sign";
|
|
|
|
|
public final static String X_TIMESTAMP = "X-TIMESTAMP";
|
|
|
|
|
public final static String TOKEN_IS_INVALID_MSG = "Token失效,请重新登录!";
|
|
|
|
|
String X_ACCESS_TOKEN = "X-Access-Token";
|
|
|
|
|
String X_SIGN = "X-Sign";
|
|
|
|
|
String X_TIMESTAMP = "X-TIMESTAMP";
|
|
|
|
|
String TOKEN_IS_INVALID_MSG = "Token失效,请重新登录!";
|
|
|
|
|
String X_FORWARDED_SCHEME = "X-Forwarded-Scheme";
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 多租户 请求头
|
|
|
|
|
*/
|
|
|
|
|
public final static String TENANT_ID = "tenant-id";
|
|
|
|
|
String TENANT_ID = "tenant-id";
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 微服务读取配置文件属性 服务地址
|
|
|
|
|
*/
|
|
|
|
|
public final static String CLOUD_SERVER_KEY = "spring.cloud.nacos.discovery.server-addr";
|
|
|
|
|
String CLOUD_SERVER_KEY = "spring.cloud.nacos.discovery.server-addr";
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 第三方登录 验证密码/创建用户 都需要设置一个操作码 防止被恶意调用
|
|
|
|
|
*/
|
|
|
|
|
public final static String THIRD_LOGIN_CODE = "third_login_code";
|
|
|
|
|
String THIRD_LOGIN_CODE = "third_login_code";
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 第三方APP同步方向:本地 --> 第三方APP
|
|
|
|
@ -361,16 +362,43 @@ public interface CommonConstant {
|
|
|
|
|
/**String 类型的空值*/
|
|
|
|
|
String STRING_NULL = "null";
|
|
|
|
|
|
|
|
|
|
/**java.util.Date 包*/
|
|
|
|
|
String JAVA_UTIL_DATE = "java.util.Date";
|
|
|
|
|
/**前端vue3版本Header参数名*/
|
|
|
|
|
String VERSION="X-Version";
|
|
|
|
|
|
|
|
|
|
/**.do*/
|
|
|
|
|
String SPOT_DO = ".do";
|
|
|
|
|
/**存储在线程变量里的动态表名*/
|
|
|
|
|
String DYNAMIC_TABLE_NAME="DYNAMIC_TABLE_NAME";
|
|
|
|
|
/**
|
|
|
|
|
* http:// http协议
|
|
|
|
|
*/
|
|
|
|
|
String HTTP_PROTOCOL = "http://";
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* https:// https协议
|
|
|
|
|
*/
|
|
|
|
|
String HTTPS_PROTOCOL = "https://";
|
|
|
|
|
|
|
|
|
|
/**前端vue版本标识*/
|
|
|
|
|
String VERSION="X-Version";
|
|
|
|
|
/** 部门表唯一key,id */
|
|
|
|
|
String DEPART_KEY_ID = "id";
|
|
|
|
|
/** 部门表唯一key,orgCode */
|
|
|
|
|
String DEPART_KEY_ORG_CODE = "orgCode";
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 发消息 会传递一些信息到map
|
|
|
|
|
*/
|
|
|
|
|
String NOTICE_MSG_SUMMARY = "NOTICE_MSG_SUMMARY";
|
|
|
|
|
|
|
|
|
|
/**前端vue版本*/
|
|
|
|
|
String VERSION_VUE3="vue3";
|
|
|
|
|
/**
|
|
|
|
|
* 发消息 会传递一个业务ID到map
|
|
|
|
|
*/
|
|
|
|
|
String NOTICE_MSG_BUS_ID = "NOTICE_MSG_BUS_ID";
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 邮箱消息中地址登录时地址后携带的token,需要替换成真实的token值
|
|
|
|
|
*/
|
|
|
|
|
String LOGIN_TOKEN = "{LOGIN_TOKEN}";
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 模板消息中 跳转地址的对应的key
|
|
|
|
|
*/
|
|
|
|
|
String MSG_HREF_URL = "url";
|
|
|
|
|
}
|
|
|
|
|