添加群发支持
This commit is contained in:
33
src/main/java/chanjarster/weixin/bean/WxMassVideo.java
Normal file
33
src/main/java/chanjarster/weixin/bean/WxMassVideo.java
Normal file
@@ -0,0 +1,33 @@
|
||||
package chanjarster.weixin.bean;
|
||||
|
||||
import chanjarster.weixin.util.json.WxGsonBuilder;
|
||||
|
||||
/**
|
||||
* 群发时用到的视频素材
|
||||
* @author chanjarster
|
||||
*
|
||||
*/
|
||||
public class WxMassVideo {
|
||||
|
||||
protected String media_id;
|
||||
protected String title;
|
||||
protected String description;
|
||||
|
||||
public String getTitle() {
|
||||
return title;
|
||||
}
|
||||
public void setTitle(String title) {
|
||||
this.title = title;
|
||||
}
|
||||
public String getDescription() {
|
||||
return description;
|
||||
}
|
||||
public void setDescription(String description) {
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
public String toJson() {
|
||||
return WxGsonBuilder.INSTANCE.create().toJson(this);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user