mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2026-03-10 00:13:40 +08:00
🆕 #1869 【小程序】增加管理直播间小助手的相关接口
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
package cn.binarywang.wx.miniapp.bean.live;
|
||||
|
||||
import cn.binarywang.wx.miniapp.util.json.WxMaGsonBuilder;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 直播间小助手用户信息
|
||||
*/
|
||||
@Data
|
||||
public class WxMaAssistantResult implements Serializable {
|
||||
private static final long serialVersionUID = 5829108618580715870L;
|
||||
|
||||
private Integer count;
|
||||
private Integer maxCount;
|
||||
private Integer errcode;
|
||||
|
||||
private List<Assistant> list;
|
||||
|
||||
public static WxMaAssistantResult fromJson(String json) {
|
||||
return WxMaGsonBuilder.create().fromJson(json, WxMaAssistantResult.class);
|
||||
}
|
||||
@Data
|
||||
public static class Assistant implements Serializable {
|
||||
private static final long serialVersionUID = 6362128855371134033L;
|
||||
/**
|
||||
* 修改时间
|
||||
*/
|
||||
private Long timestamp;
|
||||
/**
|
||||
* 头像
|
||||
**/
|
||||
private String headimg;
|
||||
/**
|
||||
* 用户昵称
|
||||
**/
|
||||
private String nickname;
|
||||
/**
|
||||
* 微信号
|
||||
**/
|
||||
private String alias;
|
||||
/**
|
||||
* openid
|
||||
**/
|
||||
private String openid;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
package cn.binarywang.wx.miniapp.bean.live;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 直播间小助手用户信息
|
||||
*/
|
||||
@Data
|
||||
public class WxMaLiveAssistantInfo implements Serializable {
|
||||
private static final long serialVersionUID = -5603581848069320808L;
|
||||
/**
|
||||
* 修改时间
|
||||
*/
|
||||
private Long timestamp;
|
||||
/**
|
||||
* 头像
|
||||
**/
|
||||
private String headimg;
|
||||
/**
|
||||
* 用户微信号
|
||||
**/
|
||||
private String username;
|
||||
/**
|
||||
* 用户昵称
|
||||
**/
|
||||
private String nickname;
|
||||
/**
|
||||
* 微信号
|
||||
**/
|
||||
private String alias;
|
||||
/**
|
||||
* openid
|
||||
**/
|
||||
private String openid;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user