From f0376f72170c2eb236bec5560b8c5734edd222f1 Mon Sep 17 00:00:00 2001 From: kaiyu <404897439@qq.com> Date: Wed, 31 Mar 2021 17:16:40 +0800 Subject: [PATCH] common模块: 增加了convert工具类,驼峰和下划线相互转换 更新了Date工具类,添加根据Date,day获取目标date的方法 更新WebUtils工具类,添加获取请求Ip方法 manage模块: 组织和后台用户增删改查模块全部完成 增加aop用作日志插入 --- screen-common/src/main/java/com/moral/constant/Constants.java | 107 ++++++++++++++++++++++++++++++++++------------------- 1 files changed, 68 insertions(+), 39 deletions(-) diff --git a/screen-common/src/main/java/com/moral/constant/Constants.java b/screen-common/src/main/java/com/moral/constant/Constants.java index 5c17ba4..0227b33 100644 --- a/screen-common/src/main/java/com/moral/constant/Constants.java +++ b/screen-common/src/main/java/com/moral/constant/Constants.java @@ -4,55 +4,84 @@ * ������������������ */ public class Constants { - - /** - * ������������ - */ - public static final String MSG_OPERATION_SUCCESS = "���������������"; - - /** - * ������������ - */ - public static final String MSG_OPERATION_FAILED = "���������������"; + /* + * ��������������� + * */ + public static final String DELETE = "1"; /* - * token������ - * */ - public static final String MSG_TOKEN_ERROR = "token������������������������"; + * ��������������� + * */ + public static final String NOT_DELETE = "0"; /* - * token������������ - * */ - public static final String MSG_TOKEN_CREATE_ERROR = "token���������������������������������"; + * ��������������������������������� + * */ + public static final String MANAGE_VERIFICATIONCODE_COLUMN = "type"; /* - * ��������������������������� - * */ - public static final String MSG_PARAMETER_IS_MISSING = "������������"; - - /** - * ������������code - */ - public static final int CODE_OPERATION_SUCCESS = 0; - /** - * ������������code - */ - public static final int CODE_OPERATION_FAILED = -1; + * ������������������������������������ + * */ + public static final String MANAGE_VERIFICATIONCODE_VALUE = "manage_verificationCode"; /* - * ��������������������������� - * */ - public static final int CODE_PARAMETER_IS_MISSING = -2; - - /** - * token������������ - */ - public static final int CODE_TOKEN_ERROR = -10; + * ��������������������� + * */ + public static final String VERFICATIONCODE_OPEN = "1"; /* - * token������������ - * */ - public static final int CODE_TOKEN_CREATE_ERROR = -11; + * ��������������������� + * */ + public static final String VERFICATIONCODE_CLOSE = "0"; + /* + * ������������������ + * */ + public static final String ORDER_ASC = "0"; + + /* + * ������������������ + * */ + public static final String ORDER_DESC = "1"; + + /* + * ��������������������� + * */ + public static final Integer DELETE_CHILDREN_ORG = 1; + + /* + * ��������������� + * */ + public static final Integer WEB_CHANNEL = 1; + + /* + * web������������������������ + * */ + public static final String VERIFICATION_TYPE = "front_verificationCode"; + + /* + * ������������������ + * */ + public static final String INSERT_OPERATE_TYPE = "������"; + + /* + * ������������������ + * */ + public static final String DELETE_OPERATE_TYPE = "������"; + + /* + * ������������������ + * */ + public static final String UPDATE_OPERATE_TYPE = "������"; + + /* + * ������������������ + * */ + public static final String QUERY_OPERATE_TYPE = "������"; + + /* + * Organization������������ + * */ + public static final String ORGANIZATION_MODULE_NAME = "������"; } -- Gitblit v1.8.0