文档
测试

v2.0好友列表

POST
http://localhost:8071/v2.0/api/connect/list

请求参数

参数名
类型
描述
必填
type
0:好友申请列表 1:好友列表
必填
pageNumber
必填
pageSize
必填

响应参数

参数名
类型
描述
必填
code
int
示例:200
必填
data
object
数据字典
必填
userConnect
array
数据列表
必填
id
int
示例:33
必填
customId
int
示例:1229683
必填
masterId
int
示例:1229702
必填
createTime
int
示例:1656034645000
必填
isBind
int
示例:0 // 绑定 0:未绑定 1:绑定
必填
status
int
示例:0 // 0:好友请求 1:好友
必填
friendId
int
示例:1229683
必填
friendInfo
object
数据字典 //好友信息
必填
id
int
示例:1229683
必填
userName
string
示例:波波冰
必填
createTime
string
示例:2022-06-14 15:03:17
必填
updateTime
object
示例:null
必填
loginTime
string
示例:2022-06-14 15:03:19
必填
channel
string
示例:branch360
必填
channelNumber
string
示例:branch360
必填
token
string
示例:4LdYPqUO0VK3vdOr9FtiMtojZ3KjFY6nLORNLWETryBEPskNI7yNrmsFqDKxUtrBUcx5Ribf28jy/xTprvplKveIDAiEb3m7nw4rrOFBJR4=
必填
coin
int
示例:0
必填
coinTotal
int
示例:0
必填
status
int
示例:1
必填
type
int
示例:0
必填
portrait
string
示例:http://qzapp.qlogo.cn/qzapp/102004593/ACD897F34EB65A607ADDDABAA9D98BAA/50
必填
openId
string
示例:ACD897F34EB65A607ADDDABAA9D98BAA
必填
expirationTime
object
示例:null
必填
sex
int
示例:0
必填
interactCount
object
示例:null
必填
friendCode
object
示例:null
必填
interact
object
示例:null
必填
maxFriend
int
最大好友数
必填
curFriend
int
现在好友数
必填
message
string
示例:操作成功
必填

说明 / 示例

{ "code": 200, "data": { "userConnect": [ { "id": 48, "customId": 1229603, "masterId": 1229701, "createTime": 1656334104000, "isSee": 0, "status": 1, "friendId": 1229603, "friendInfo": { "id": 1229603, "userName": "🇨🇳陈宇轩 🍙。", "createTime": "2022-05-11 14:25:49", "updateTime": "2022-06-30 21:51:07", "loginTime": "2022-05-27 19:59:54", "channel": "hqf", "channelNumber": "hqf", "token": "L1bB8bo6jt3XXglI8U2TZLb+AyAM5n8xzr4Kpv4H0iBCczUuUGZelgaSRje4kL6n7urp4vCce7yWWh2bO0q++nAAPM5Iz+WgYABeRCd2ASg=", "coin": 10, "coinTotal": 0, "status": 1, "type": 1, "portrait": "https://thirdwx.qlogo.cn/mmopen/vi_32/DYAIOgq83erib0wC5FsJFib9shzUy7qX1be2A6Oq2B4icxnjtnGelPeDXkx8gOuEkKaqwJVQS8F3SHBw9libxcrGIA/132", "openId": "oK3_Z5-SMBTWELrS85l2QOQCoibM", "expirationTime": "2022-06-10", "sex": 0, "interactCount": null, "friendCode": null }, "interact": null, "isBind": 1 } ], "maxFriend": 50, "curFriend": 2 }, "message": "操作成功" }