@big-bear
2017-04-26T02:57:25.000000Z
字数 1510
阅读 1060
云宝
api
String title; //标题
String contents; //内容
String picPath; //图片地址
Integer createTime;//开始时间
//新增字段
Customer customer;
Integer createTime; //创建时间
String title; //名称
String content; //内容
Integer checkScore; //签到分数
Integer mealScore; //膳食分数
Integer sportScore; //运动分数
Integer medicationScore; //用药分数
Integer recoveryScore; //康复分数
//新增字段
Customer customer
url
/api/physicalReport
参数
{
filter[customer][id]:74
sort[createTime]:desc
}
{
"data": [
{
"type": "physicalReport",
"id": "4",
"attributes": {
"contents": "123131",
"createTime": 1493049600,
"delStatus": 0,
"title": "111"
},
"relationships": {
...
},
"links": {
"self": "http://localhost:9080/api/physicalReport/4"
}
},
...
],
"included": []
}
url
/api/evaluateresult
参数
{
filter[customer][id]:74
sort[createDateTime]:desc
}
{
"data": [
{
"type": "evaluateresult",
"id": "41",
"attributes": {
"lastUpdateDateTime": 1491903947,
"score": "15",
"contents": "永恒岛开香炉的小盗贼",
"delStatus": 0,
"batch": 0,
"createDateTime": 1491903947
},
"relationships": {
...
},
"links": {
"self": "http://localhost:9080/api/evaluateresult/41"
}
},
...
],
"included": [
...
]
}
url
/api/executionReport
参数
{
filter[customer][id]:74
sort[createTime]:desc
}
{
"data": [
{
"type": "executionReport",
"id": "1",
"attributes": {
"checkScore": 1,
"medicationScore": 4,
"recoveryScore": 5,
"sportScore": 3,
"delStatus": 0,
"title": "asdf",
"mealScore": 2,
"content": "5456"
},
"relationships": {
...
},
"links": {
"self": "http://localhost:9080/api/executionReport/1"
}
},
...
],
"included": []
}