规范统一openid的问题 #177

This commit is contained in:
Binary Wang
2017-04-10 10:24:32 +08:00
parent 66f04c48e0
commit bc0fbf76a5
3 changed files with 14 additions and 14 deletions

View File

@@ -14,8 +14,8 @@ public class WxMpUserList {
protected int total = -1;
protected int count = -1;
protected List<String> openIds = new ArrayList<>();
protected String nextOpenId;
protected List<String> openids = new ArrayList<>();
protected String nextOpenid;
public int getTotal() {
return this.total;
}
@@ -28,19 +28,19 @@ public class WxMpUserList {
public void setCount(int count) {
this.count = count;
}
public List<String> getOpenIds() {
return this.openIds;
public List<String> getOpenids() {
return this.openids;
}
public void setOpenIds(List<String> openIds) {
this.openIds = openIds;
public void setOpenids(List<String> openids) {
this.openids = openids;
}
public String getNextOpenId() {
return this.nextOpenId;
public String getNextOpenid() {
return this.nextOpenid;
}
public void setNextOpenId(String nextOpenId) {
this.nextOpenId = nextOpenId;
public void setNextOpenid(String nextOpenid) {
this.nextOpenid = nextOpenid;
}
public static WxMpUserList fromJson(String json) {
return WxMpGsonBuilder.INSTANCE.create().fromJson(json, WxMpUserList.class);
}