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 | 90 +++++++++++++++++++++++++++++++++++++-------- 1 files changed, 74 insertions(+), 16 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 d824510..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,26 +4,84 @@ * ������������������ */ public class Constants { + /* + * ��������������� + * */ + public static final String DELETE = "1"; - /** - * ������������ - */ - public static final String MSG_OPERATION_SUCCESS = "���������������"; + /* + * ��������������� + * */ + public static final String NOT_DELETE = "0"; - /** - * ������������ - */ - public static final String MSG_OPERATION_FAILED = "���������������"; + /* + * ��������������������������������� + * */ + public static final String MANAGE_VERIFICATIONCODE_COLUMN = "type"; - /** - * ������������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 String VERFICATIONCODE_OPEN = "1"; + /* + * ��������������������� + * */ + 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