列表
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>用户代茶饮药品列表接口</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>/drug/teadrinkList</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST</li>
</ul>
<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;">pate</td>
<td style="text-align: left;">选填</td>
<td style="text-align: left;">Integer</td>
<td>第几页</td>
</tr>
<tr>
<td style="text-align: left;">limit</td>
<td style="text-align: left;">选填</td>
<td style="text-align: left;">Integer</td>
<td>一页数量</td>
</tr>
<tr>
<td style="text-align: left;">drugName</td>
<td style="text-align: left;">选填</td>
<td style="text-align: left;">String</td>
<td>药品名称</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code>{
&quot;success&quot;: true,
&quot;code&quot;: 200,
&quot;msg&quot;: &quot;成功&quot;,
&quot;count&quot;: 14,
&quot;data&quot;: [
{
&quot;id&quot;: &quot;1&quot;,
&quot;drugName&quot;: &quot;首乌生发颗粒&quot;,
&quot;tradeName&quot;: null,
&quot;buyingPrice&quot;: 1.0,
&quot;drugMoney&quot;: 7.6,
&quot;dosisUnit&quot;: &quot;26g&quot;,
&quot;drugWeight&quot;: &quot;26&quot;,
&quot;letter6&quot;: &quot;swsfkl&quot;,
&quot;status&quot;: 0,
&quot;companyName&quot;: &quot;问问严选&quot;
},
{
&quot;id&quot;: &quot;2&quot;,
&quot;drugName&quot;: &quot;静心安神除烦颗粒&quot;,
&quot;tradeName&quot;: null,
&quot;buyingPrice&quot;: 1.0,
&quot;drugMoney&quot;: 12.5,
&quot;dosisUnit&quot;: &quot;65g&quot;,
&quot;drugWeight&quot;: &quot;65&quot;,
&quot;letter6&quot;: &quot;jxascfkl&quot;,
&quot;status&quot;: 0,
&quot;companyName&quot;: &quot;问问严选&quot;
},
{
&quot;id&quot;: &quot;3&quot;,
&quot;drugName&quot;: &quot;枣仁安神除烦颗粒&quot;,
&quot;tradeName&quot;: null,
&quot;buyingPrice&quot;: 1.0,
&quot;drugMoney&quot;: 17.6,
&quot;dosisUnit&quot;: &quot;65g&quot;,
&quot;drugWeight&quot;: &quot;65&quot;,
&quot;letter6&quot;: &quot;zrascfkl&quot;,
&quot;status&quot;: 0,
&quot;companyName&quot;: &quot;问问严选&quot;
},
{
&quot;id&quot;: &quot;4&quot;,
&quot;drugName&quot;: &quot;宁神安心颗粒&quot;,
&quot;tradeName&quot;: null,
&quot;buyingPrice&quot;: 1.0,
&quot;drugMoney&quot;: 15.2,
&quot;dosisUnit&quot;: &quot;106g&quot;,
&quot;drugWeight&quot;: &quot;106&quot;,
&quot;letter6&quot;: &quot;nsaxkl&quot;,
&quot;status&quot;: 0,
&quot;companyName&quot;: &quot;问问严选&quot;
},
{
&quot;id&quot;: &quot;5&quot;,
&quot;drugName&quot;: &quot;祛湿防风颗粒&quot;,
&quot;tradeName&quot;: null,
&quot;buyingPrice&quot;: 1.0,
&quot;drugMoney&quot;: 18.1,
&quot;dosisUnit&quot;: &quot;190g&quot;,
&quot;drugWeight&quot;: &quot;190&quot;,
&quot;letter6&quot;: &quot;qsffkl&quot;,
&quot;status&quot;: 0,
&quot;companyName&quot;: &quot;问问严选&quot;
},
{
&quot;id&quot;: &quot;6&quot;,
&quot;drugName&quot;: &quot;五草化湿颗粒&quot;,
&quot;tradeName&quot;: null,
&quot;buyingPrice&quot;: 1.0,
&quot;drugMoney&quot;: 7.3,
&quot;dosisUnit&quot;: &quot;48g&quot;,
&quot;drugWeight&quot;: &quot;48&quot;,
&quot;letter6&quot;: &quot;wchskl&quot;,
&quot;status&quot;: 0,
&quot;companyName&quot;: &quot;问问严选&quot;
},
{
&quot;id&quot;: &quot;7&quot;,
&quot;drugName&quot;: &quot;首乌生发饮&quot;,
&quot;tradeName&quot;: null,
&quot;buyingPrice&quot;: 1.0,
&quot;drugMoney&quot;: 12.6,
&quot;dosisUnit&quot;: &quot;26g&quot;,
&quot;drugWeight&quot;: &quot;26&quot;,
&quot;letter6&quot;: &quot;swsfy&quot;,
&quot;status&quot;: 0,
&quot;companyName&quot;: &quot;问问严选&quot;
},
{
&quot;id&quot;: &quot;8&quot;,
&quot;drugName&quot;: &quot;静心安神除烦饮&quot;,
&quot;tradeName&quot;: null,
&quot;buyingPrice&quot;: 1.0,
&quot;drugMoney&quot;: 23.3,
&quot;dosisUnit&quot;: &quot;65g&quot;,
&quot;drugWeight&quot;: &quot;65&quot;,
&quot;letter6&quot;: &quot;jxascfy&quot;,
&quot;status&quot;: 0,
&quot;companyName&quot;: &quot;问问严选&quot;
},
{
&quot;id&quot;: &quot;9&quot;,
&quot;drugName&quot;: &quot;枣仁安神除烦饮&quot;,
&quot;tradeName&quot;: null,
&quot;buyingPrice&quot;: 1.0,
&quot;drugMoney&quot;: 53.7,
&quot;dosisUnit&quot;: &quot;65g&quot;,
&quot;drugWeight&quot;: &quot;65&quot;,
&quot;letter6&quot;: &quot;zrascfy&quot;,
&quot;status&quot;: 0,
&quot;companyName&quot;: &quot;问问严选&quot;
},
{
&quot;id&quot;: &quot;10&quot;,
&quot;drugName&quot;: &quot;宁神安心饮&quot;,
&quot;tradeName&quot;: null,
&quot;buyingPrice&quot;: 1.0,
&quot;drugMoney&quot;: 17.8,
&quot;dosisUnit&quot;: &quot;106g&quot;,
&quot;drugWeight&quot;: &quot;106&quot;,
&quot;letter6&quot;: &quot;nsaxy&quot;,
&quot;status&quot;: 0,
&quot;companyName&quot;: &quot;问问严选&quot;
}
],
&quot;jwt&quot;: null,
&quot;refreshToken&quot;: null
}</code></pre>
<h5>返回参数data说明</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">id</td>
<td style="text-align: left;">String</td>
<td>药品ID</td>
</tr>
<tr>
<td style="text-align: left;">drugName</td>
<td style="text-align: left;">String</td>
<td>药品名称</td>
</tr>
<tr>
<td style="text-align: left;">tradeName</td>
<td style="text-align: left;">String</td>
<td>药品别名</td>
</tr>
<tr>
<td style="text-align: left;">buyingPrice</td>
<td style="text-align: left;">String</td>
<td>成本价</td>
</tr>
<tr>
<td style="text-align: left;">drugMoney</td>
<td style="text-align: left;">String</td>
<td>零售价</td>
</tr>
<tr>
<td style="text-align: left;">dosisUnit</td>
<td style="text-align: left;">String</td>
<td>规格</td>
</tr>
<tr>
<td style="text-align: left;">letter6</td>
<td style="text-align: left;">Double</td>
<td>拼音缩写</td>
</tr>
<tr>
<td style="text-align: left;">status</td>
<td style="text-align: left;">Integer</td>
<td>药品状态((0:上架 / 1:下架))</td>
</tr>
</tbody>
</table>
<h5>返回参数说明</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">success</td>
<td style="text-align: left;">boolean</td>
<td>是否成功</td>
</tr>
<tr>
<td style="text-align: left;">code</td>
<td style="text-align: left;">Integer</td>
<td>返回码</td>
</tr>
<tr>
<td style="text-align: left;">msg</td>
<td style="text-align: left;">String</td>
<td>返回信息</td>
</tr>
<tr>
<td style="text-align: left;">count</td>
<td style="text-align: left;">Long</td>
<td>总数</td>
</tr>
<tr>
<td style="text-align: left;">data</td>
<td style="text-align: left;">List<T></td>
<td>返回数据</td>
</tr>
<tr>
<td style="text-align: left;">jwt</td>
<td style="text-align: left;">String</td>
<td>token数据</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>