简要描述:

  • 个人信息中心编辑

请求域名:

  • http://xx.com

请求URL:

POST:plugin.supplier.frontend.slide.list

参数:

参数名 是否必须 类型 说明
page int 页数

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "ok",
    "data": {
        "current_page": 1,
        "data": [
            {
                "id": 2,
                "slide_name": "2"
            }
        ],
        "first_page_url": "http:\/\/c8.com\/addons\/yun_shop\/api.php?page=1",
        "from": 1,
        "last_page": 1,
        "last_page_url": "http:\/\/c8.com\/addons\/yun_shop\/api.php?page=1",
        "links": [
            {
                "url": null,
                "label": "« \u4e0a\u4e00\u9875",
                "active": false
            },
            {
                "url": "http:\/\/c8.com\/addons\/yun_shop\/api.php?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "\u4e0b\u4e00\u9875 »",
                "active": false
            }
        ],
        "next_page_url": null,
        "path": "http:\/\/c8.com\/addons\/yun_shop\/api.php",
        "per_page": 20,
        "prev_page_url": null,
        "to": 1,
        "total": 1
    }
}

错误时返回:


返回参数说明:

参数名 类型 说明
id int 轮播图id
slide_name string 轮播图名称

备注:

  • 更多返回错误代码请看首页的错误代码描述