文档
测试

搜索好友

GET
http://visitor.daoben.tech/api/friend/searchFriend?keywords=%E9%83%AD%E4%B8%96%E6%B3%BD

请求头

参数名
类型
描述
必填
token
string
用户1
必填

请求参数

参数名
类型
描述
必填
keywords
string
示例:郭世泽
必填

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
msg
string
示例:ok
必填
time
string
示例:1606184652
必填
data
object
数据字典
必填
total
int
示例:1
必填
per_page
int
示例:10
必填
current_page
int
示例:1
必填
last_page
int
示例:1
必填
data
array
数据列表
必填
id
int
示例:2
必填
nickname
string
示例:郭世泽
必填
mobile
string
示例:13253517370
必填
avatar
string
示例:/uploads/20201118/1223cbc61ce160ac6b5a99457c05456c.png
必填
score
int
示例:0
必填
address
string
示例:null
必填
id_number
string
示例:7815432
必填
gender
int
示例:1
必填
birthday
string
示例:1990-01-01
必填
bio
object
示例:null
必填
background_image
string
示例:/uploads/20201118/6f00d1548b6e3ddd445ec42244428a73.png
必填
lat
string
示例:34.798856
必填
lng
string
示例:113.606045
必填
vip_expire_time
int
示例:0
必填
url
string
示例:/u/2
必填