tazhe

他者


获取商品列表接口

<p>[TOC]</p> <h5>简要描述</h5> <ul> <li>获取商品列表</li> </ul> <h5>请求URL</h5> <ul> <li><code>http://xx.com/app/product/page</code></li> </ul> <h5>请求方式</h5> <ul> <li>GET </li> </ul> <h5>header参数</h5> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">必选</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">Authorization</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>登录之后返回token</td> </tr> </tbody> </table> <h5>参数</h5> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">必选</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">pageNum</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>分页位置</td> </tr> <tr> <td style="text-align: left;">pageSize</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>每页大小</td> </tr> </tbody> </table> <h5>返回示例</h5> <pre><code> { &amp;quot;code&amp;quot;: 200, &amp;quot;msg&amp;quot;: &amp;quot;成功或失败消息&amp;quot;, &amp;quot;data&amp;quot;: [ { &amp;quot;name&amp;quot;:&amp;quot;商品名称&amp;quot;, &amp;quot;picture&amp;quot;: &amp;quot;商品图片存在多张时逗号隔开&amp;quot;, &amp;quot;price&amp;quot;: &amp;quot;商品原价&amp;quot;, &amp;quot;vipPrice&amp;quot;: &amp;quot;会员价&amp;quot;, &amp;quot;type&amp;quot;: &amp;quot;商品类型字符串(理发,烫发)&amp;quot;, &amp;quot;productDesc&amp;quot;: &amp;quot;产品描述&amp;quot;, &amp;quot;duration&amp;quot;: &amp;quot;服务时长(分钟)&amp;quot;, &amp;quot;picture&amp;quot;: &amp;quot;商品图片 (xxx.jpg,xxx.jpg)&amp;quot; } ] }</code></pre> <h5>返回参数说明</h5> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> </tbody> </table> <h5>备注</h5> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul>

页面列表

ITEM_HTML