1.rename openId to openid 2.rename blackList to blacklist 3.refine blacklist test

This commit is contained in:
miller
2016-09-20 15:22:59 +08:00
parent b941a57ccd
commit 63c41d44ab
16 changed files with 143 additions and 139 deletions

View File

@@ -8,14 +8,14 @@ import java.util.List;
/**
* @author miller
*/
public class WxMpUserBlackListGetResult {
public class WxMpUserBlacklistGetResult {
protected int total = -1;
protected int count = -1;
protected List<String> openIds = new ArrayList<>();
protected String nextOpenId;
protected List<String> openidList = new ArrayList<>();
protected String nextOpenid;
public static WxMpUserBlackListGetResult fromJson(String json) {
return WxMpGsonBuilder.INSTANCE.create().fromJson(json, WxMpUserBlackListGetResult.class);
public static WxMpUserBlacklistGetResult fromJson(String json) {
return WxMpGsonBuilder.INSTANCE.create().fromJson(json, WxMpUserBlacklistGetResult.class);
}
public int getTotal() {
@@ -34,20 +34,20 @@ public class WxMpUserBlackListGetResult {
this.count = count;
}
public List<String> getOpenIds() {
return this.openIds;
public List<String> getOpenidList() {
return this.openidList;
}
public void setOpenIds(List<String> openIds) {
this.openIds = openIds;
public void setOpenidList(List<String> openidList) {
this.openidList = openidList;
}
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;
}
@Override