http://127.0.0.1:8888/api/
参数名 | 必选 | 类型 | 说明 |
---|---|---|---|
type | 是 | int | 接口编号 |
userName | 是 | string | 企业微信用户wxid |
chatroomUserName | 否 | string | 群聊wxid,如果指定了此参数,将会通过群聊获取目标用户信息 |
获取企业好友的昵称 企业好友昵称结尾是@openim
{
"type": 84,
"userName": "xxxx@openim"
}
{
"type": 84,
"userName": "xxxx@openim",
"chatroomUserName": "xxx@chatroom"
}
{
"data": {
"status": 0,
"desc": "",
}
}
参数名 | 类型 | 说明 |
---|---|---|
error_code | int | 错误代码 |
description | string | 错误描述 |
data | json | 业务数据 |