简要描述:

  • 聚合页

请求域名:

  • http://xx.com

请求URL:

POST:plugin.supplier.frontend.shop.index.getSupplierList

参数:

参数名 是否必须 类型 说明
keyword string 店铺名
paginate int 分页数

返回示例:

正确时返回:

{
    "result":1,
    "msg":"查询成功",
    "data":{
        "list":{
            "current_page":1,
            "data":[
                {
                    "id":11,
                    "store_name":"null",
                    "logo":"",
                    "supplier_id":11,
                    "has_many_goods":[
                        {
                            "id":54,
                            "goods_id":266,
                            "supplier_id":11,
                            "has_one_goods":{
                                "id":266,
                                "title":"供应商商品呀",
                                "thumb":"http://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/images/25/2020/11/oHjkJINPDZtfYHjdEaTlhAZZndJOEb.png",
                                "price":"100.34",
                                "status_name":null
                            }
                        },
                        {
                            "id":55,
                            "goods_id":389,
                            "supplier_id":11,
                            "has_one_goods":{
                                "id":389,
                                "title":"前端发布商品呀",
                                "thumb":"http://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/newimage/069982ea97fe35142eb365b597e767d4.png",
                                "price":"1000.00",
                                "status_name":null
                            }
                        },
                        {
                            "id":56,
                            "goods_id":390,
                            "supplier_id":11,
                            "has_one_goods":{
                                "id":390,
                                "title":"件",
                                "thumb":"http://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/newimage/14143f294e8233bc72efcb3730313547.png",
                                "price":"100.00",
                                "status_name":null
                            }
                        },
                        {
                            "id":57,
                            "goods_id":391,
                            "supplier_id":11,
                            "has_one_goods":{
                                "id":391,
                                "title":"独立后台发布商品呀",
                                "thumb":"http://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/newimage/58aea3f481a2519609d1f6d353713f95.jpg",
                                "price":"0.00",
                                "status_name":null
                            }
                        },
                        {
                            "id":58,
                            "goods_id":392,
                            "supplier_id":11,
                            "has_one_goods":{
                                "id":392,
                                "title":"商品",
                                "thumb":"http://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/newimage/05cbf8614856515fc1da85537e78c16d.jpg",
                                "price":"100.00",
                                "status_name":null
                            }
                        },
                        {
                            "id":59,
                            "goods_id":394,
                            "supplier_id":11,
                            "has_one_goods":{
                                "id":394,
                                "title":"测试发布商品--详情",
                                "thumb":"http://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/newimage/3b1b376a837eadae4deaaed5696f4a4b.jpg",
                                "price":"101.00",
                                "status_name":null
                            }
                        },
                        {
                            "id":60,
                            "goods_id":395,
                            "supplier_id":11,
                            "has_one_goods":{
                                "id":395,
                                "title":"11111",
                                "thumb":"http://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/newimage/dbe86c183f269d535e5effc56aa7c82c.jpg",
                                "price":"1.00",
                                "status_name":null
                            }
                        },
                        {
                            "id":61,
                            "goods_id":396,
                            "supplier_id":11,
                            "has_one_goods":{
                                "id":396,
                                "title":"前端发布的",
                                "thumb":"http://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/newimage/439fbc960b1e74f6db0c5b7dd40492db.png",
                                "price":"100.00",
                                "status_name":null
                            }
                        },
                        {
                            "id":62,
                            "goods_id":397,
                            "supplier_id":11,
                            "has_one_goods":{
                                "id":397,
                                "title":"123",
                                "thumb":"http://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/newimage/dcb9f03785b9df3ed2705db00d8161e8.png",
                                "price":"12.00",
                                "status_name":null
                            }
                        },
                        {
                            "id":63,
                            "goods_id":398,
                            "supplier_id":11,
                            "has_one_goods":{
                                "id":398,
                                "title":"明",
                                "thumb":"http://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/newimage/4b54e5fa05816b990e2426eeefad38b0.jpg",
                                "price":"100.00",
                                "status_name":null
                            }
                        }
                    ]
                },
                {
                    "id":12,
                    "store_name":"null",
                    "logo":"images/25/2021/05/cKrIDrriND3riWwWIuPdRnp33nZRn1.jpg",
                    "supplier_id":12,
                    "has_many_goods":[
                        {
                            "id":64,
                            "goods_id":430,
                            "supplier_id":12,
                            "has_one_goods":{
                                "id":430,
                                "title":"供应商152 商品1",
                                "thumb":"http://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/images/25/2021/05/XycKcA55aDk8czdmpR0pkG8mc9WaDk.jpg",
                                "price":"0.01",
                                "status_name":null
                            }
                        },
                        {
                            "id":65,
                            "goods_id":431,
                            "supplier_id":12,
                            "has_one_goods":{
                                "id":431,
                                "title":"供应商152 商品2",
                                "thumb":"http://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/images/25/2021/05/cKrIDrriND3riWwWIuPdRnp33nZRn1.jpg",
                                "price":"1.00",
                                "status_name":null
                            }
                        },
                        {
                            "id":66,
                            "goods_id":432,
                            "supplier_id":12,
                            "has_one_goods":{
                                "id":432,
                                "title":"供应商152 商品3",
                                "thumb":"http://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/images/25/2021/05/YwIB7X99N9iW9mf9X53Wixa7i3btbs.jpeg",
                                "price":"10.00",
                                "status_name":null
                            }
                        },
                        {
                            "id":74,
                            "goods_id":474,
                            "supplier_id":12,
                            "has_one_goods":{
                                "id":474,
                                "title":"供应商152 特殊商品1",
                                "thumb":"http://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/image/15d68314d89bbee3161e5198f9312b5a.jpg",
                                "price":"100.00",
                                "status_name":null
                            }
                        },
                        {
                            "id":75,
                            "goods_id":475,
                            "supplier_id":12,
                            "has_one_goods":{
                                "id":475,
                                "title":"供应商152 特殊商品2",
                                "thumb":"http://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/image/bc7b60754be741b0a3f598d87ffe874c.jpeg",
                                "price":"200.00",
                                "status_name":null
                            }
                        }
                    ]
                },
                {
                    "id":13,
                    "store_name":"null",
                    "logo":"newimage/01749978aae51a9f88ccbf4b907d6cbc.jpeg",
                    "supplier_id":13,
                    "has_many_goods":[
                        {
                            "id":67,
                            "goods_id":465,
                            "supplier_id":13,
                            "has_one_goods":{
                                "id":465,
                                "title":"供应商195 商品1",
                                "thumb":"http://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/image/042dac6aac9337466491c4b92216bce6.jpeg",
                                "price":"0.01",
                                "status_name":null
                            }
                        },
                        {
                            "id":68,
                            "goods_id":466,
                            "supplier_id":13,
                            "has_one_goods":{
                                "id":466,
                                "title":"供应商195 商品2",
                                "thumb":"http://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/image/cccf307f07a52ffdf65cc2f80fa4ee78.jpg",
                                "price":"0.01",
                                "status_name":null
                            }
                        },
                        {
                            "id":69,
                            "goods_id":467,
                            "supplier_id":13,
                            "has_one_goods":{
                                "id":467,
                                "title":"供应商195 商品3",
                                "thumb":"http://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/image/6fbe11c32cdf304f0c47eafe8565a6f4.jpeg",
                                "price":"0.01",
                                "status_name":null
                            }
                        },
                        {
                            "id":70,
                            "goods_id":468,
                            "supplier_id":13,
                            "has_one_goods":{
                                "id":468,
                                "title":"供应商195 商品4",
                                "thumb":"http://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/image/0f65c0d10b557ea347b3b6b4bdd461d2.jpeg",
                                "price":"0.01",
                                "status_name":null
                            }
                        }
                    ]
                },
                {
                    "id":14,
                    "store_name":"丽唧唧",
                    "logo":"images/25/2021/06/kVXZ49h47a2s6Zz948l42X4ah9EEn7.jpg",
                    "supplier_id":14,
                    "has_many_goods":[
                        {
                            "id":71,
                            "goods_id":469,
                            "supplier_id":14,
                            "has_one_goods":{
                                "id":469,
                                "title":"供应商13210 商品1",
                                "thumb":"http://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/image/ccd45d991b9b0d67098df0e219964d7c.jpg",
                                "price":"0.01",
                                "status_name":null
                            }
                        }
                    ]
                },
                {
                    "id":15,
                    "store_name":"null",
                    "logo":"newimage/1c65a000855dc3b99932c49d94ae8d34.jpg",
                    "supplier_id":15,
                    "has_many_goods":[
                        {
                            "id":72,
                            "goods_id":470,
                            "supplier_id":15,
                            "has_one_goods":{
                                "id":470,
                                "title":"供应商13211 商品1",
                                "thumb":"http://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/image/4c79416cbfed6db292e6799830074f6d.jpeg",
                                "price":"0.01",
                                "status_name":null
                            }
                        }
                    ]
                },
                {
                    "id":16,
                    "store_name":"null",
                    "logo":"image/6fbe11c32cdf304f0c47eafe8565a6f4.jpeg",
                    "supplier_id":16,
                    "has_many_goods":[
                        {
                            "id":73,
                            "goods_id":471,
                            "supplier_id":16,
                            "has_one_goods":{
                                "id":471,
                                "title":"供应商13212 商品",
                                "thumb":"http://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/image/e6a6c49dfa467c72631c69f9a80ba605.jpg",
                                "price":"100.00",
                                "status_name":null
                            }
                        }
                    ]
                },
                {
                    "id":17,
                    "store_name":"null",
                    "logo":"",
                    "supplier_id":17,
                    "has_many_goods":[

                    ]
                }
            ],
            "first_page_url":"http://www.liao.com/admin/shop?page=1",
            "from":1,
            "last_page":1,
            "last_page_url":"http://www.liao.com/admin/shop?page=1",
            "next_page_url":null,
            "path":"http://www.liao.com/admin/shop",
            "per_page":15,
            "prev_page_url":null,
            "to":7,
            "total":7
        },
        "banners":{
            "banner1_img":"",
            "banner2_img":"",
            "banner3_img":""
        }
    }
}

返回参数说明:

参数名 类型 说明
data object 分类商品详情
banners object banner图
list object 店铺数据

返回参数说明:

参数名 类型 说明
banners object banner图
banner1_img string 图1
banner2_img string 图2
banner3_img string 图3

返回参数说明:

参数名 类型 说明
list object 店铺数据
id int id
store_name string 店铺名
logo string 店铺logo
supplier_id int 店铺id
has_many_goods object 商品数据
has_one_goods 商品关联数据

返回参数说明:

参数名 类型 说明
has_one_goods 商品关联数据
id int 商品id
title string 商品名
thumb string 商品图
price string 价格

备注:

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