修复用户扩展属性为空的bug

This commit is contained in:
jinyu 2016-01-22 15:40:23 +08:00
parent d4800dd3d4
commit 704d3fac32
2 changed files with 1 additions and 5 deletions

View File

@ -20,10 +20,6 @@ public class NameValue implements Serializable {
private String name;
private String value;
public NameValue() {
}
@JSONCreator
public NameValue(@JSONField(name = "name") String name,
@JSONField(name = "value") String value) {

View File

@ -68,7 +68,7 @@ public class UserTest extends TokenTest {
@Test
public void list() throws WeixinException {
List<User> userList = userApi.listUser(3, true, UserStatus.BOTH, true);
List<User> userList = userApi.listUser(1, true, UserStatus.BOTH, true);
Assert.assertFalse(userList.isEmpty());
System.out.println(userList);
}