mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-05-03 20:27:46 +08:00
🎨【企业微信】通讯录单个搜索接口支持next_cursor参数
This commit is contained in:
parent
bf49c9a152
commit
4e67c56450
@ -42,12 +42,6 @@ public class WxCpTpContactSearch implements Serializable {
|
||||
@SerializedName("agentid")
|
||||
private Integer agentId;
|
||||
|
||||
/**
|
||||
* 查询的偏移量,每次调用的offset在上一次offset基础上加上limit
|
||||
*/
|
||||
@SerializedName("offset")
|
||||
private Integer offset;
|
||||
|
||||
/**
|
||||
* 查询返回的最大数量,默认为50,最多为200,查询返回的数量可能小于limit指定的值
|
||||
*/
|
||||
@ -60,6 +54,12 @@ public class WxCpTpContactSearch implements Serializable {
|
||||
@SerializedName("full_match_field")
|
||||
private Integer fullMatchField;
|
||||
|
||||
/**
|
||||
* 用于分页查询的游标,字符串类型,由上一次调用返回,首次调用可不填
|
||||
*/
|
||||
@SerializedName("cursor")
|
||||
private String cursor;
|
||||
|
||||
/**
|
||||
* To json string.
|
||||
*
|
||||
|
@ -24,6 +24,9 @@ public class WxCpTpContactSearchResp extends WxCpBaseResp {
|
||||
@SerializedName("query_result")
|
||||
private QueryResult queryResult;
|
||||
|
||||
@SerializedName("next_cursor")
|
||||
private String nextCursor;
|
||||
|
||||
/**
|
||||
* The type Query result.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user