diff --git a/hippo4j-message/src/main/java/cn/hippo4j/message/platform/DingSendMessageHandler.java b/hippo4j-message/src/main/java/cn/hippo4j/message/platform/DingSendMessageHandler.java index d7dd5691..b0f5b9d5 100644 --- a/hippo4j-message/src/main/java/cn/hippo4j/message/platform/DingSendMessageHandler.java +++ b/hippo4j-message/src/main/java/cn/hippo4j/message/platform/DingSendMessageHandler.java @@ -21,9 +21,10 @@ import cn.hippo4j.common.toolkit.StringUtil; import cn.hippo4j.message.dto.NotifyConfigDTO; import cn.hippo4j.message.enums.NotifyPlatformEnum; import cn.hippo4j.message.enums.NotifyTypeEnum; -import cn.hippo4j.message.service.SendMessageHandler; +import cn.hippo4j.message.platform.constant.DingAlarmConstants; import cn.hippo4j.message.request.AlarmNotifyRequest; import cn.hippo4j.message.request.ChangeParameterNotifyRequest; +import cn.hippo4j.message.service.SendMessageHandler; import cn.hutool.core.date.DateUtil; import cn.hutool.core.util.StrUtil; import com.dingtalk.api.DefaultDingTalkClient; @@ -42,7 +43,7 @@ import java.nio.charset.StandardCharsets; import java.util.List; import java.util.Objects; -import static cn.hippo4j.message.platform.DingAlarmConstants.*; +import static cn.hippo4j.message.platform.constant.DingAlarmConstants.*; /** * Send ding notification message. diff --git a/hippo4j-message/src/main/java/cn/hippo4j/message/platform/LarkSendMessageHandler.java b/hippo4j-message/src/main/java/cn/hippo4j/message/platform/LarkSendMessageHandler.java index 933bed5d..a2fd03ee 100644 --- a/hippo4j-message/src/main/java/cn/hippo4j/message/platform/LarkSendMessageHandler.java +++ b/hippo4j-message/src/main/java/cn/hippo4j/message/platform/LarkSendMessageHandler.java @@ -35,7 +35,7 @@ import java.util.Arrays; import java.util.Objects; import java.util.stream.Collectors; -import static cn.hippo4j.message.platform.LarkAlarmConstants.*; +import static cn.hippo4j.message.platform.constant.LarkAlarmConstants.*; /** * Send lark notification message. diff --git a/hippo4j-message/src/main/java/cn/hippo4j/message/platform/WeChatSendMessageHandler.java b/hippo4j-message/src/main/java/cn/hippo4j/message/platform/WeChatSendMessageHandler.java index f3959908..5afe9ecb 100644 --- a/hippo4j-message/src/main/java/cn/hippo4j/message/platform/WeChatSendMessageHandler.java +++ b/hippo4j-message/src/main/java/cn/hippo4j/message/platform/WeChatSendMessageHandler.java @@ -35,7 +35,7 @@ import lombok.extern.slf4j.Slf4j; import java.util.Objects; -import static cn.hippo4j.message.platform.WeChatAlarmConstants.*; +import static cn.hippo4j.message.platform.constant.WeChatAlarmConstants.*; /** * WeChat send message handler. diff --git a/hippo4j-message/src/main/java/cn/hippo4j/message/platform/DingAlarmConstants.java b/hippo4j-message/src/main/java/cn/hippo4j/message/platform/constant/DingAlarmConstants.java similarity index 99% rename from hippo4j-message/src/main/java/cn/hippo4j/message/platform/DingAlarmConstants.java rename to hippo4j-message/src/main/java/cn/hippo4j/message/platform/constant/DingAlarmConstants.java index 911c6a9a..92c131bc 100644 --- a/hippo4j-message/src/main/java/cn/hippo4j/message/platform/DingAlarmConstants.java +++ b/hippo4j-message/src/main/java/cn/hippo4j/message/platform/constant/DingAlarmConstants.java @@ -15,7 +15,7 @@ * limitations under the License. */ -package cn.hippo4j.message.platform; +package cn.hippo4j.message.platform.constant; /** * Ding alarm constants. diff --git a/hippo4j-message/src/main/java/cn/hippo4j/message/platform/LarkAlarmConstants.java b/hippo4j-message/src/main/java/cn/hippo4j/message/platform/constant/LarkAlarmConstants.java similarity index 99% rename from hippo4j-message/src/main/java/cn/hippo4j/message/platform/LarkAlarmConstants.java rename to hippo4j-message/src/main/java/cn/hippo4j/message/platform/constant/LarkAlarmConstants.java index 7cec00f6..fd0f164f 100644 --- a/hippo4j-message/src/main/java/cn/hippo4j/message/platform/LarkAlarmConstants.java +++ b/hippo4j-message/src/main/java/cn/hippo4j/message/platform/constant/LarkAlarmConstants.java @@ -15,7 +15,7 @@ * limitations under the License. */ -package cn.hippo4j.message.platform; +package cn.hippo4j.message.platform.constant; /** * Lark alarm constants. diff --git a/hippo4j-message/src/main/java/cn/hippo4j/message/platform/WeChatAlarmConstants.java b/hippo4j-message/src/main/java/cn/hippo4j/message/platform/constant/WeChatAlarmConstants.java similarity index 98% rename from hippo4j-message/src/main/java/cn/hippo4j/message/platform/WeChatAlarmConstants.java rename to hippo4j-message/src/main/java/cn/hippo4j/message/platform/constant/WeChatAlarmConstants.java index 3ab6e146..3394ad2e 100644 --- a/hippo4j-message/src/main/java/cn/hippo4j/message/platform/WeChatAlarmConstants.java +++ b/hippo4j-message/src/main/java/cn/hippo4j/message/platform/constant/WeChatAlarmConstants.java @@ -15,7 +15,7 @@ * limitations under the License. */ -package cn.hippo4j.message.platform; +package cn.hippo4j.message.platform.constant; /** * We chat alarm constants.