查询年卡服务,最后到期的年卡
<p><strong>简要描述:</strong></p>
<ul>
<li>根据用户id数组 查询自己购买的 最后到期的年卡服务</li>
</ul>
<p><strong>请求URL:</strong></p>
<ul>
<li><code>/chronic/shopUserService/yearServiceByPatientIds</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST</li>
<li>application/json</li>
</ul>
<p><strong>参数:</strong></p>
<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;"></td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">List<Integer></td>
<td>需要查询的用户id数组</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
"retcode": "0000",
"errMsg": "操作成功",
"body": {
"14": {
"endTime": "2019-06-23 12:00:49",
"serviceName": "服务年卡"
},
"15": {
"endTime": "2019-06-25 12:00:49",
"serviceName": "服务年卡"
},
"16": null
}
}</code></pre>
<p><strong>返回参数说明</strong></p>
<ul>
<li>key是userid</li>
</ul>
<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;">endTime</td>
<td style="text-align: left;">date</td>
<td>年卡服务结束时间</td>
</tr>
<tr>
<td style="text-align: left;">serviceName</td>
<td style="text-align: left;">string</td>
<td>服务名</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong></p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>
<p>欢迎使用ShowDoc!</p>