文档
测试

排行榜

POST
http://192.168.1.192:9081/v1.5.0/api/pointsRanking

响应参数

参数名
类型
描述
必填
code
int
示例:200
必填
data
object
数据字典
必填
petsRankingVos
array
数据列表
必填
id
int
示例:10
必填
name
string
示例:呆呆
必填
userId
int
示例:1230142
必填
createTime
int
示例:1675734545000
必填
score
int
示例:3628
必填
ranking
object
示例:null
必填
user
object
数据字典
必填
id
int
示例:1230142
必填
url
object
示例:null
必填
userName
string
示例:用户-xGkia
必填
type
int
示例:0
必填
createTime
int
示例:1675678679000
必填
portraitUrl
string
示例:http://my-week.oss-cn-chengdu.aliyuncs.com/test/touxiang/%E9%BB%98%E8%AE%A4.png
必填
ranking
int
示例:2
必填
petsRankingVo
object
数据字典
必填
id
int
示例:1
必填
name
string
示例:熊二狗1
必填
userId
int
示例:1230138
必填
createTime
int
示例:1675147452000
必填
score
int
示例:1944
必填
ranking
object
示例:null
必填
user
object
数据字典
必填
id
int
示例:1230138
必填
url
object
示例:null
必填
userName
string
示例:用户-BlyTx
必填
type
int
示例:3
必填
createTime
int
示例:1675319733000
必填
portraitUrl
object
示例:null
必填
message
string
示例:操作成功
必填

说明 / 示例

@TableId(value = "id", type = IdType.AUTO) private Integer id; /** * 宠物名 */ private String name; /** * 用户id */ private Integer userId; /** * 创建时间 */ private Date createTime; /** * 积分 */ private Integer score; /** * 排名 */ private Integer ranking; /** * 用户信息 */ private User user;