修复用户扩展属性为空的bug
This commit is contained in:
parent
d4800dd3d4
commit
704d3fac32
@ -20,10 +20,6 @@ public class NameValue implements Serializable {
|
|||||||
private String name;
|
private String name;
|
||||||
private String value;
|
private String value;
|
||||||
|
|
||||||
public NameValue() {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
@JSONCreator
|
@JSONCreator
|
||||||
public NameValue(@JSONField(name = "name") String name,
|
public NameValue(@JSONField(name = "name") String name,
|
||||||
@JSONField(name = "value") String value) {
|
@JSONField(name = "value") String value) {
|
||||||
|
|||||||
@ -68,7 +68,7 @@ public class UserTest extends TokenTest {
|
|||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void list() throws WeixinException {
|
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());
|
Assert.assertFalse(userList.isEmpty());
|
||||||
System.out.println(userList);
|
System.out.println(userList);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user