~~~[api]
get:/admin/article
int:page=1#说明文字
string:title= #标题
int:cateid=0#分类ID
int:userid=0#用户ID
int:hot=0#是否热门
<<<
success
{
"code": 0,
"data": {
"data": [
{
"id": 2,
"cateid": 2,
"title": "回家干活",
"thumb": "gggg",
"userid": 2,
"share": 0,
"view": 0,
"backid": 0,
"hot": 0,
"rand": 0,
"music": "",
"username": "admin",
"nickname": "超管1"
},
{
"id": 1,
"cateid": 1,
"title": "vfdsfds",
"thumb": "dsdfsdds ",
"userid": 1,
"share": 2,
"view": 2,
"backid": 0,
"hot": 0,
"rand": 0,
"music": "",
"username": "admin",
"nickname": "超管"
}
],
"total": 2,
"last_page": 1,
"per_page": 10,
"current_page": 1
},
"msg": "SUCCESS"
}
<<<
error
~~~