🎨【企业微信】通讯录单个搜索接口支持next_cursor参数

This commit is contained in:
pi-laoban 2023-10-15 03:13:07 +00:00 committed by Binary Wang
parent bf49c9a152
commit 4e67c56450
2 changed files with 9 additions and 6 deletions

View File

@ -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.
*

View File

@ -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.
*/