-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
222 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
49 changes: 49 additions & 0 deletions
49
...in-java-miniapp/src/main/java/cn/binarywang/wx/miniapp/bean/live/WxMaAssistantResult.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; | ||
} | ||
} |
38 changes: 38 additions & 0 deletions
38
...-java-miniapp/src/main/java/cn/binarywang/wx/miniapp/bean/live/WxMaLiveAssistantInfo.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; | ||
|
||
} |