简要描述:

  • 首页幻灯片列表

请求URL:

GET/plugin.appointment.frontend.carousel.get-list

参数:

参数名 是否必须 类型 说明

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "成功",
    "data": [
        {
            "id": 3,
            "uniacid": 8,
            "name": "幻灯片1",
            "link": "http://127.0.0.1:88/addons/yun_shop/?menu#/home?i=8",
            "thumb": "http://127.0.0.1:88/attachment/images/8/2019/12/KyyGZyF3ndbz7Fs3Yn3gt3cD33TSAC.jpg",
            "display_order": 0,
            "is_open": 1,
            "created_at": "2019-12-27 16:11:25",
            "updated_at": "2019-12-27 16:11:25",
            "deleted_at": null
        },
        {
            "id": 2,
            "uniacid": 8,
            "name": "幻灯片2",
            "link": "http://127.0.0.1:88/addons/yun_shop/?menu#/member?i=8",
            "thumb": "http://127.0.0.1:88/attachment/images/8/2019/12/s5AftfZuuMBvZw19ML1WDD39hzad5b.jpg",
            "display_order": 0,
            "is_open": 1,
            "created_at": "2019-12-27 16:10:38",
            "updated_at": "2019-12-27 16:10:38",
            "deleted_at": null
        }
    ]
}

错误时返回:

  

返回参数说明:

参数名 类型 说明
name string 幻灯片名称
link string 链接
thumb string 图片地址

备注:

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