diff --git a/dinky-alert/dinky-alert-dingtalk/src/main/java/org/dinky/alert/dingtalk/params/DingTalkParams.java b/dinky-alert/dinky-alert-dingtalk/src/main/java/org/dinky/alert/dingtalk/params/DingTalkParams.java index 610321e330..4f115c134d 100644 --- a/dinky-alert/dinky-alert-dingtalk/src/main/java/org/dinky/alert/dingtalk/params/DingTalkParams.java +++ b/dinky-alert/dinky-alert-dingtalk/src/main/java/org/dinky/alert/dingtalk/params/DingTalkParams.java @@ -30,7 +30,7 @@ @Data @NoArgsConstructor -@AllArgsConstructor(onConstructor = @__(@JsonCreator)) +@AllArgsConstructor public class DingTalkParams { private String webhook = ""; diff --git a/dinky-alert/dinky-alert-email/src/main/java/org/dinky/alert/email/params/EmailParams.java b/dinky-alert/dinky-alert-email/src/main/java/org/dinky/alert/email/params/EmailParams.java index 723a6c8fd4..d6a7e48835 100644 --- a/dinky-alert/dinky-alert-email/src/main/java/org/dinky/alert/email/params/EmailParams.java +++ b/dinky-alert/dinky-alert-email/src/main/java/org/dinky/alert/email/params/EmailParams.java @@ -30,7 +30,7 @@ @Data @NoArgsConstructor -@AllArgsConstructor(onConstructor = @__(@JsonCreator)) +@AllArgsConstructor public class EmailParams { private List receivers = new ArrayList<>(); diff --git a/dinky-alert/dinky-alert-feishu/src/main/java/org/dinky/alert/feishu/params/FeiShuParams.java b/dinky-alert/dinky-alert-feishu/src/main/java/org/dinky/alert/feishu/params/FeiShuParams.java index 23f0ef91ee..07bf48467b 100644 --- a/dinky-alert/dinky-alert-feishu/src/main/java/org/dinky/alert/feishu/params/FeiShuParams.java +++ b/dinky-alert/dinky-alert-feishu/src/main/java/org/dinky/alert/feishu/params/FeiShuParams.java @@ -29,7 +29,7 @@ import lombok.NoArgsConstructor; @Data -@NoArgsConstructor(onConstructor = @__(@JsonCreator)) +@NoArgsConstructor @AllArgsConstructor public class FeiShuParams { diff --git a/dinky-alert/dinky-alert-http/src/main/java/org/dinky/alert/http/params/HttpParams.java b/dinky-alert/dinky-alert-http/src/main/java/org/dinky/alert/http/params/HttpParams.java index dfa19d825f..b50a591501 100644 --- a/dinky-alert/dinky-alert-http/src/main/java/org/dinky/alert/http/params/HttpParams.java +++ b/dinky-alert/dinky-alert-http/src/main/java/org/dinky/alert/http/params/HttpParams.java @@ -30,7 +30,7 @@ import lombok.NoArgsConstructor; @Data -@NoArgsConstructor(onConstructor = @__(@JsonCreator)) +@NoArgsConstructor @AllArgsConstructor public class HttpParams { diff --git a/dinky-alert/dinky-alert-wechat/src/main/java/org/dinky/alert/wechat/params/WechatParams.java b/dinky-alert/dinky-alert-wechat/src/main/java/org/dinky/alert/wechat/params/WechatParams.java index ead608b8fa..9f9c2ac1f2 100644 --- a/dinky-alert/dinky-alert-wechat/src/main/java/org/dinky/alert/wechat/params/WechatParams.java +++ b/dinky-alert/dinky-alert-wechat/src/main/java/org/dinky/alert/wechat/params/WechatParams.java @@ -29,7 +29,7 @@ import lombok.NoArgsConstructor; @Data -@NoArgsConstructor(onConstructor = @__(@JsonCreator)) +@NoArgsConstructor @AllArgsConstructor public class WechatParams {