文档
测试

后台文章获取接口

GET
http://192.168.177.128/upload/mobile/index.php?act=article&op=index&article_id=42

接口描述

后台添加文章后,调用接口获取对应文章

响应参数

参数名
类型
描述
必填
code
number
示例:200
必填
datas
object
数据字典
必填
article
object
数据字典
必填
article_id
string
示例:42
必填
ac_id
string
示例:2
必填
article_url
string
示例:
必填
article_show
string
示例:1
必填
article_position
string
示例:1
必填
article_sort
string
示例:255
必填
article_title
string
示例:成长值与成长值提升方法介绍
必填
article_content
string
示例:这里是成长的说明文档用于测试<img src="/upload/data/upload/shop/editor/20200102111524_58542.png" alt="" />
必填
article_time
string
示例:1577822161
必填

说明 / 示例

成功 { "code": 1000, "msg": "成功", "data": { "list": [ { "articleid": "72364", "shortid": 72, "articlename": "喜劫良缘,纨绔俏医妃", "author": "莉莉薇", "sortid": "4", "sortname": "穿越小说", "shortname": "穿越" },{} ], "total": 1, ///总页数 "page": 1, //当前页 "type": "dayvisit" //查询的那种排行 } } 没有数据 { "code": 1000, "msg": "成功", "data": { "list": [], "total": 1, ///总页数 "page": 1, //当前页 "type": "dayvisit" //查询的那种排行 } } 失败 { "code": 1001, "msg": "失败", "data": [] }