文档
测试

获取文章列表

POST
http://192.168.177.128/upload/mobile/index.php?act=other&op=articleList

接口描述

获取文章的列表

请求参数

参数名
类型
描述
必填
ac_id
示例:(可选填)功能分类(1公告,2帮助,3店主之家,4支付方式,5售后,6客服中心,7关于我们)
必填
article_show
示例:(可选填)是否为设置为显示的文章(1显示,0不显示的)
必填
article_position
示例:(可选填)显示位置:1默认网站前台,2买家,3卖家,4全站
必填

响应参数

参数名
类型
描述
必填
code
number
示例:200
必填
datas
array
数据列表
必填
article_id
string
示例:35//文章id
必填
ac_id
string
示例:1 //朱分类id
必填
article_url
string
示例:http://www.shopnc.net/ ///文章关联的地址
必填
article_show
string
示例:1 //是否被设置为可以显示的文章
必填
article_position
string
示例:1 //文章的可以显示的位置
必填
article_sort
string
示例:1 /文章排序的序号
必填
article_title
string
示例:火爆销售中 /文章标题
必填
article_content
string
示例:<img src="/upload/data/upload/shop/editor/20200102111442_72473.png" alt="" />火爆销售中<br /> //文章内容直接使用页面嵌套
必填
article_time
string
示例:1432522192//文章的产生时间
必填
ac_code
string
示例:notice //文章的code,分类的标识
必填
ac_name
string
示例:商城公告 /文章分类的名称
必填
ac_parent_id
string
示例:0 //文章的父级分类id,
必填
ac_sort
string
示例:1文章的分类排序
必填