JSON
Response
格式
单个对象时
{
"status": 200,
"msg" : "ok",
"data" : {
"xxx": "yyy"
}
}
多个对象-列表对象
{
"status": 200,
"msg" : "ok",
"data" : [
{
"xxx": "yyy"
},
{
"xxx": "yyy"
}
]
}
备注:记录一下个人在restful的一些返回格式