mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2026-03-10 00:13:40 +08:00
✨ #1217 小程序增加校验图片/音频是否含有违法违规内容的接口
* 添加 微信内容异步检测接口 * 消息route 增加 title 参数
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
package cn.binarywang.wx.miniapp.bean;
|
||||
|
||||
import cn.binarywang.wx.miniapp.util.json.WxMaGsonBuilder;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import java.io.Serializable;
|
||||
|
||||
public class WxMaMediaAsyncCheckResult implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 3928132365399916183L;
|
||||
|
||||
/**
|
||||
* 任务id,用于匹配异步推送结果
|
||||
*/
|
||||
@SerializedName("trace_id")
|
||||
private String traceId;
|
||||
|
||||
|
||||
public static WxMaMediaAsyncCheckResult fromJson(String json) {
|
||||
return WxMaGsonBuilder.create().fromJson(json, WxMaMediaAsyncCheckResult.class);
|
||||
}
|
||||
|
||||
public String toJson() {
|
||||
return WxMaGsonBuilder.create().toJson(this);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user