文档
测试
POST
http://www.domain.com/index.php/Api/banner

接口描述

幻灯片

请求参数

参数名
类型
描述
必填
type
number
0-全部 1-PC 2-手机
必填
orderby
string
asc-正序 desc-倒序
必填
limit
number
必填

响应参数

参数名
类型
描述
必填
state
number
状态码
必填
info
string
描述
必填
data
array
结果集
必填

说明 / 示例

# 请求示例 `http://www.domain.com/index.php/api/banner` # 响应示例 ```language { "state": 200, "info": "请求成功", "data": [ { "id": 20, "title": "11", "pic": "\/\/www.yunucms.cn\/uploads\/image\/20170929\/c20ee6e4f167f19eb37754c6178d8f21.jpg", "fpic": "", "url": "#", "sort": 0, "type": 2 }, { "id": 19, "title": "11", "pic": "\/\/www.yunucms.cn\/uploads\/image\/20170929\/b6d3bf29720455ef16903e8689fcb4bb.jpg", "fpic": "", "url": "#", "sort": 0, "type": 2 }, { "id": 18, "title": "22", "pic": "\/\/www.yunucms.cn\/uploads\/image\/20170929\/a01b7740cb8c75cff837c8a8baad3c3e.jpg", "fpic": "", "url": "#", "sort": 0, "type": 1 }, { "id": 17, "title": "11", "pic": "\/\/www.yunucms.cn\/uploads\/image\/20170929\/eb242765015da7ac79987234e12b2d3c.jpg", "fpic": "", "url": "#", "sort": 0, "type": 1 }] } ```