简要描述:

  • 获取幻灯片

请求URL:

GET/plugin.store-cashier.frontend.store.get-default.get-index-data

参数:

参数名 是否必须 类型 说明

返回示例:

正确时返回:


{
    result: 1,
    msg: "获取数据成功",
    data: {
        carousels: [
            {
                id: 1,
                uniacid: 3,
                name: "12",
                link: "http://dev-yangyang.yunzshop.com/addons/yun_shop/?menu#/member/balance?i=3",
                thumb: "http://dev-yangyang.yunzshop.com/attachment/images/3/2017/09/B6iA6xyOppmxc6m5d65ACApmXPSGZ6.jpg",
                display_order: 1,
                is_open: 1,
                created_at: "2017-09-22 11:46:10",
                updated_at: "2017-09-22 11:49:00",
                deleted_at: null
            }
        ],
        advs: [
            {
                img: "http://dev-yangyang.yunzshop.com/attachment/images/3/2017/09/QU3UuJCJuC1UwcSsd6BesJc1sUeCB9.jpg",
                link: "1"
            },
            {
                img: "http://dev-yangyang.yunzshop.com/attachment/images/3/2017/09/ITi4TA8ZWWsAISLT7Sdtj6ISl8AWsd.jpg",
                link: "2"
            },
            {
                img: "http://dev-yangyang.yunzshop.com/attachment/images/3/2017/09/hm8scYcYSEz4SuJSU1hquMJu36a6XI.jpg",
                link: "3"
            },
            {
                img: "http://dev-yangyang.yunzshop.com/attachment/images/3/2017/09/RxEYJrXDcYCyExC0E0zryfEj9NXRty.jpg",
                link: "4"
            },
            {
                img: "http://dev-yangyang.yunzshop.com/attachment/images/3/2017/09/r4T03563gpP3a050n3603603NZN0sQ.jpg",
                link: "5"
            }
        ],
        banner: {
            img: "http://dev-yangyang.yunzshop.com/attachment/images/3/2017/09/gADYYasAh0phpp9k0pZ0tsS2Spx229.jpg",
            link: "6"
        }
    }
}

错误时返回:

  

返回参数说明:

参数名 类型 说明

备注:

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