adminMessage - TimYi/FengHuang GitHub Wiki
请求URL
http://101.200.229.135:8080/api/admin/message
字段说明
字段分为显示和保存两部分。
保存字段会有一些关联实体的id,显示字段会把一些关联实体的内容扁平化显示。
显示字段
id:id
content:留言内容
user:用户信息,详情见user相关接口
readed:是否已读
传参字段
id
content
userid
系统不可以修改留言是否已经读取
返回示例
{
"result": {
"totalCount": 1,
"totalPages": 1,
"page": 1,
"size": 8,
"result": [
{
"id": "404040e64dd668df014dd669007f0000",
"content": "您有一条消息",
"user": {
"id": "404040e64d89ca84014d89cb492d0000",
"username": "18612444098",
"verified": false,
"cnname": null,
"realName": null,
"ename": null,
"sex": null,
"mobile": null,
"intro": null,
"email": null,
"qqnum": null,
"qqid": null,
"weixinnum": null,
"weixinid": null,
"birthDay": null,
"bloodType": null,
"constellation": null,
"avatar": null,
"trade": null,
"address": null,
"expVal": null,
"integra": null,
"regTime": null,
"regIp": null,
"loginTime": null,
"loginip": null,
"weiboid": null,
"infoComplete": false
},
"readed": false
}
]
},
"status": "OK"
}