feat(work): 新增通讯录搜索相关接口

This commit is contained in:
Fu Diwei
2022-10-12 19:32:39 +08:00
parent 0cd1af3f24
commit ed9dd4da75
11 changed files with 458 additions and 2 deletions

View File

@@ -0,0 +1,14 @@
{
"auth_corpid": "wwxxxxxx",
"agentid": 1000046,
"query_request_list": [
{
"query_word": "zhangsan",
"query_type": 1,
"query_range": 1,
"limit": 50,
"full_match_field": 1,
"cursor": "CURSOR"
}
]
}

View File

@@ -0,0 +1,29 @@
{
"errcode": 0,
"errmsg": "ok",
"query_result_list": [
{
"query_request": {
"query_word": "zhangsan",
"query_type": 1,
"limit": 50,
"cursor": "CURSOR"
},
"query_result": {
"user": {
"userid": ["zhangshan", "lisi"],
"open_userid": ["wwxxxx", "wwxxxa"]
},
"party": {
"department_id": [1, 2, 3]
},
"dismiss_user": {
"userid": ["zhangshan", "lisi"],
"open_userid": ["wwxxxx", "wwxxxa"]
}
},
"is_last": false,
"next_cursor": "NEXT_CURSOR"
}
]
}

View File

@@ -0,0 +1,10 @@
{
"auth_corpid": "wwxxxxxx",
"query_word": "zhangsan",
"query_type": 1,
"query_range": 1,
"agentid": 1000046,
"limit": 50,
"full_match_field": 1,
"cursor": "CURSOR"
}

View File

@@ -0,0 +1,19 @@
{
"errcode": 0,
"errmsg": "ok",
"query_result": {
"user": {
"userid": ["zhangshan", "lisi"],
"open_userid": ["wwxxxx", "wwxxxa"]
},
"party": {
"department_id": [1, 2, 3]
},
"dismiss_user": {
"userid": ["zhangshan", "lisi"],
"open_userid": ["wwxxxx", "wwxxxa"]
}
},
"is_last": false,
"next_cursor": "NEXT_CURSOR"
}