简要描述:
请求URL
/api/v1/brand
请求方式:
请求参数:
参数名 |
必选 |
示例 |
说明 |
brand_name |
否 |
诗莱 |
查询名称 |
limit |
否 |
12 |
条数,默认12条 |
page |
<span style="color:#ed6171;font-weight:700;">是</span> |
1 |
页数 |
返回示例
{
&quot;error_code&quot;: 0,
&quot;data&quot;: [
{
&quot;id&quot;: 6, //品牌id
&quot;brand_name&quot;: &quot;雅诗莱带qqq&quot;, //品牌名称
&quot;brand_img&quot;: &quot;https://hehetestoss.oss-cn-guangzhou.aliyuncs.com/supply/images/168396586642787374.jpg&quot;, //品牌图片
&quot;goods_count&quot;: 0 //品牌商品数量
}
],
&quot;current_page&quot;: 1,
&quot;per_page&quot;: 12,
&quot;last_page&quot;: 1,
&quot;total&quot;: 1,
&quot;route_code&quot;: null
}
返回参数说明:
参数名 |
参数名 |
说明 |
error_code |
Number |
成功:0 |
error_info |
String |
返回文字描述 |
data |
Object |
返回数据 |
current_page |
Number |
当前页数 |
per_page |
Number |
条数 |
last_page |
Number |
最后页数 |
total |
Number |
总数 |