把各个owner的图片放到相应的位置
完成提交政务信息
效果预览:
getAllNodeList: _getAllNodesList, getHotestList: _getHotestList, getLatestList: _getHotestList, getNodeList: _getNodeList, getPassageDetail: _getPassageDetail, getCommentDetailList: _getCommentDetailList
/api/passages/latest
客户端url:getLatestList
ret:元组
[{
passage_id: 3,
title: "中国好",
owner: "大栅栏街道",
passage_type: "政策",
reply_number:33
},{
passage_id: 6,
title: "抬头巷修路",
owner: "建筑局",
passage_type: "工程",
reply_number:33
}]
/api/passages/hotest
客户端url:getHotestList
ret: 元组
[{
passage_id: 3,
title: "中国好",
owner: "大栅栏街道",
passage_type: "政策",
reply_number:33
},{
passage_id: 6,
title: "抬头巷修路",
owner: "建筑局",
passage_type: "工程",
reply_number:33
}]
/api/nodes
客户端url:getAllNodesList
ret: 元组
[
{
node_id: 2,
passage_type: "政策"
},{
node_id: 6,
passage_type: "工程"
}
]
/api/passages/node?node_id=3
客户端url:getNodeList
ret
[{
passage_id: 3,
title: "中国好",
owner: "大栅栏街道",
passage_type: "政策",
reply_number:33
},{
passage_id: 6,
title: "抬头巷修路",
owner: "建筑局",
passage_type: "工程",
reply_number:33
} ]
/api/detail/passage?passage_id=4
客户端url: getPassageDetail
ret
{
passage_id: 3,
title: "中国好",
owner: "大栅栏街道",
time: "2017-9-11",
passage_content: "今天习总书记好"
}
/api/detail/comment?passage_id=3
客户端url: getCommentDetailList
ret
[
{
comment_id: 2,
time: "2014-4-2"
username: 'root',
reply_content: "真棒"
},{
comment_id:4,
time: "2019-3-9",
username: 'root',
reply_content: "垃圾"
}
]