获取短消息内容接口

地址:

/MessageBox/Content

方法:

GET

是否需要登录:

参数说明:

参数名称 是否必选 参数类型 参数描述
id Integer 消息id

请求示例:

curl -d 'id=1' '/MessageBox/Content'

返回值说明:

参数名称 是否必选 参数类型 参数描述
messageContent MessageBoxDto 短消息的详细内容

返回示例:

{"code":200,"message":"请求成功","data":{"message":{"content":"消息8","sender":2,"receiver":1,"status":2,"title":"问候29","id":29,"createTime":"2016-06-25 20:56:50","updateTime":"2016-06-27 15:40:51"},"sender":{"username":"456@qq.com","nickname":"456@qq.com"},"receiver":{"username":"123@qq.com","nickname":"123@qq.com"}}}