简要描述:

  • 会员等级

请求域名:

  • http://test.yunzshop.com

请求URL:

post:member.member-level.search-goods

参数:

参数名 必传 类型 说明
keyword string 商品名称

返回示例:

{
    "result":1,
    "msg":"ok",
    "data":{
        "goods":{
            "current_page":1,
            "data":[
                {
                    "id":2,
                    "title":"\u6d4b\u8bd5",
                    "thumb":"http:\/\/www.shop.com\/static\/upload\/images\/1\/2019\/04\/tWMW4dK4vlxk2Zb29mGC922m82bwg2.jpg",
                    "market_price":"50.00",
                    "price":"128.00",
                    "real_sales":172,
                    "sku":"1",
                    "plugin_id":0,
                    "stock":100,
                    "status_name":null
                },
                Object{...},
                Object{...},
                Object{...},
                Object{...},
                Object{...},
                Object{...},
                Object{...},
                Object{...},
                Object{...},
                Object{...},
                Object{...},
                Object{...},
                Object{...},
                Object{...}
            ],
            "first_page_url":"http:\/\/www.shop.com\/admin\/shop?page=1",
            "from":1,
            "last_page":3,
            "last_page_url":"http:\/\/www.shop.com\/admin\/shop?page=3",
            "next_page_url":"http:\/\/www.shop.com\/admin\/shop?page=2",
            "path":"http:\/\/www.shop.com\/admin\/shop",
            "per_page":15,
            "prev_page_url":null,
            "to":15,
            "total":40
        }
    }
}

参数:

参数名 类型 说明
title string 商品名称
thumb string 商品图片
market_price string 原价
price string 现价
real_sales int 实际出售数量
sku int 商品单位 unit
plugin_id int 插件商品标识
stock int int 商品库存

备注: