文档
测试

查询附近动态

POST
localhost/wutong/app/trends/queryNearbyTrends

请求头

参数名
类型
描述
必填
X-Access-Token
token
必填

请求参数

参数名
类型
描述
必填
pageNum
int
实例:1 (当前页)
必填
pageSize
int
实例:10 (结束页)
必填
longitude
实例:112.99342686248778 (经度)
必填
latitude
int
实例:28.170217107001235 (纬度)
必填
startAge
int
实例:18 (开始年龄)
可选
endAge
int
实例:22 (结束年龄)
可选
isOnline
int
实例 :1 (不传就是查询在线和不在线的 1就是查询在线的)
可选
sex
实例:0 (性别 0:男 1:女)
可选

响应参数

参数名
类型
描述
必填
total
int
示例:18
必填
data
array
数据列表
必填
trendsId
int
示例:125
必填
userId
int
示例:209
必填
content
string
示例:毒1龙
必填
fileNum
int
示例:0
必填
position
string
示例:湖南省长沙市沙湾公园
必填
createTime
string
示例:2021-01-18 18:03:07
必填
praiseNum
int
示例:0
必填
dateVo
object
示例:null
必填
userName
string
示例:jeremyWang
必填
age
int
示例:22
必填
avatar
string
示例:https://missjoy.obs.cn-north-4.myhuaweicloud.com:443/2020%2F12%2F15%2Fa38a6112-99e2-4db6-9c0a-14a94d680678.png
必填
sex
int
示例:0
必填
city
string
示例:长沙市
必填
birthday
string
示例:1998-07-06
必填
trendsAttachment
array
数据列表
必填
messageNum
int
示例:0
必填
trendsPraiseVo
object
数据字典
必填
praiseNum
int
示例:0
必填
userAvatarVoList
object
示例:null
必填
praise
boolean
示例:false
必填
isShowLocation
int
示例:0
必填
createTimeStamp
int
示例:1610964187
必填
constellation
string
示例:巨蟹座
必填
cityId
string
示例:430100
必填
cityName
string
示例:长沙市
必填
userAvatarVoList
array
数据列表
必填
isOnlyOwn
int
示例:1
必填
detailPosition
string
示例:沙湾公园
必填
fileType
object
示例:null
必填
integralNum
int
示例:310
必填
goddessStatus
int
示例:0
必填
realStatus
int
示例:0
必填
vipStatus
int
示例:1
必填
distance
float
示例:4843.036297432965 (距离)
必填
follow
boolean
示例:true
必填
code
int
示例:0
必填
msg
object
示例:null
必填
hasNextPage
boolean
示例:true
必填