🎨 #2411【微信公众号】获取草稿列表接口新增两个字段

This commit is contained in:
qing Wang 2021-11-29 17:49:30 +08:00 committed by GitHub
parent cc6bc22c1d
commit 20011f8b7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -68,6 +68,16 @@ public class WxMpDraftArticles implements ToJson, Serializable {
*/
@SerializedName("only_fans_can_comment")
private Integer onlyFansCanComment;
/**
* 草稿的临时链接,点击图文消息跳转链接
*/
@SerializedName("url")
private String url;
/**
* 图文消息的封面url
*/
@SerializedName("thumb_url")
private String thumbUrl;
public static WxMpDraftArticles fromJson(String json) {
return WxGsonBuilder.create().fromJson(json, WxMpDraftArticles.class);