支持微信服务通知,调整方法

This commit is contained in:
2025-01-06 18:44:08 +08:00
parent afaac1bb0c
commit 9b32c2fd75
9 changed files with 98 additions and 4 deletions

View File

@@ -4,10 +4,19 @@ import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.HashMap;
import java.util.Map;
@Data
@NoArgsConstructor
@AllArgsConstructor
public class NotifyContent {
private String title;
private String content;
private Map<String, Object> params = new HashMap<>();
public NotifyContent(String title, String content) {
this.title = title;
this.content = content;
}
}