Skip to content

Commit

Permalink
Update DingTalkSlasHandlerPlugin.java
Browse files Browse the repository at this point in the history
  • Loading branch information
leeoo authored Sep 9, 2024
1 parent 26ef4dd commit f6c2230
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,15 @@ public String getConfigSenderJson() {
InputParam webHook = InputParam.newBuilder("webHook", "webHook")
.addValidate(Validate.newBuilder().setRequired(true).build())
.build();
InputParam keyWord = InputParam.newBuilder("keyWord", "keyWord")
InputParam secret = InputParam.newBuilder("secret", "secret")
.addValidate(Validate.newBuilder().setRequired(true).build())
.build();
InputParam keyWord = InputParam.newBuilder("keyWord", "keyWord")
.addValidate(Validate.newBuilder().setRequired(false).build())
.build();

paramsList.add(webHook);
paramsList.add(secret);
paramsList.add(keyWord);

ObjectMapper mapper = new ObjectMapper();
Expand Down

0 comments on commit f6c2230

Please sign in to comment.