接口文档

接口文档


出行人证件类型列表

<p>[TOC]</p> <h5>简要描述</h5> <ul> <li>证件类型列表</li> </ul> <h5>请求URL</h5> <ul> <li><code>http://xx.com/api/shop/getIdTypeList</code></li> </ul> <h5>请求方式</h5> <ul> <li>GET </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> </tbody> </table> <h5>返回示例</h5> <pre><code>{ &amp;quot;code&amp;quot;: 200, &amp;quot;data&amp;quot;: { &amp;quot;id_type_list&amp;quot;: [ { &amp;quot;id_type&amp;quot;: &amp;quot;id_card&amp;quot;, &amp;quot;id_type_name&amp;quot;: &amp;quot;身份证&amp;quot; }, { &amp;quot;id_type&amp;quot;: &amp;quot;passport&amp;quot;, &amp;quot;id_type_name&amp;quot;: &amp;quot;护照&amp;quot; }, { &amp;quot;id_type&amp;quot;: &amp;quot;hmt_passport&amp;quot;, &amp;quot;id_type_name&amp;quot;: &amp;quot;港澳台通行证&amp;quot; }, { &amp;quot;id_type&amp;quot;: &amp;quot;taiwan_passport&amp;quot;, &amp;quot;id_type_name&amp;quot;: &amp;quot;台湾通行证&amp;quot; }, { &amp;quot;id_type&amp;quot;: &amp;quot;soldier_card&amp;quot;, &amp;quot;id_type_name&amp;quot;: &amp;quot;军官证&amp;quot; }, { &amp;quot;id_type&amp;quot;: &amp;quot;police_card&amp;quot;, &amp;quot;id_type_name&amp;quot;: &amp;quot;警官证&amp;quot; } ] }, &amp;quot;message&amp;quot;: &amp;quot;&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> <tr> <td style="text-align: left;">id_type</td> <td style="text-align: left;">int</td> <td>证件类型</td> </tr> <tr> <td style="text-align: left;">id_type_name</td> <td style="text-align: left;">int</td> <td>证件类型名称</td> </tr> </tbody> </table> <h5>备注</h5> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul>

页面列表

ITEM_HTML