You've already forked FrameTour-BE
支持微信服务通知,调整方法
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user