Merge pull request #403 from mabaiwan/develop

Notification alarm constant class migration
pull/406/head
小马哥 2 years ago committed by GitHub
commit 4ae24657e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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.

@ -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.

@ -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.

@ -15,7 +15,7 @@
* limitations under the License.
*/
package cn.hippo4j.message.platform;
package cn.hippo4j.message.platform.constant;
/**
* Ding alarm constants.

@ -15,7 +15,7 @@
* limitations under the License.
*/
package cn.hippo4j.message.platform;
package cn.hippo4j.message.platform.constant;
/**
* Lark alarm constants.

@ -15,7 +15,7 @@
* limitations under the License.
*/
package cn.hippo4j.message.platform;
package cn.hippo4j.message.platform.constant;
/**
* We chat alarm constants.
Loading…
Cancel
Save