获取订单附件列表
<h1>获取万联产品信息</h1>
<ul>
<li>请求接口: POST /getFileList</li>
</ul>
<h1>请求参数</h1>
<table>
<thead>
<tr>
<th style="text-align: center;">参数</th>
<th style="text-align: center;">类型</th>
<th style="text-align: center;">必选</th>
<th style="text-align: center;">说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: center;">icid</td>
<td style="text-align: center;">number</td>
<td style="text-align: center;">是</td>
<td style="text-align: center;">用户icid</td>
</tr>
<tr>
<td style="text-align: center;">timeStamp</td>
<td style="text-align: center;">number</td>
<td style="text-align: center;">是</td>
<td style="text-align: center;">13位时间戳</td>
</tr>
<tr>
<td style="text-align: center;">MD5</td>
<td style="text-align: center;">string</td>
<td style="text-align: center;">是</td>
<td style="text-align: center;">MD5</td>
</tr>
<tr>
<td style="text-align: center;">cNum</td>
<td style="text-align: center;">string</td>
<td style="text-align: center;">是</td>
<td style="text-align: center;">系统单号或系统转单号</td>
</tr>
</tbody>
</table>
<p>*注释:MD5生成参考全局说明</p>
<h4>返回结果</h4>
<p>> 返回示例</p>
<p>> 200 Response</p>
<pre><code class="language-json">正确:
{
&quot;code&quot;: 2000,
&quot;data&quot;: {
&quot;cMess&quot;: &quot;&quot;,
&quot;confirm&quot;: true,
&quot;fileList&quot;: [
{
&quot;cNo&quot;: &quot;COSXJ731113206&quot;,
&quot;cNum&quot;: &quot;COSXJ731113206&quot;,
&quot;fileType&quot;: 28,
&quot;filename&quot;: &quot;COSZB731530051_17160185776311716183418042.xlsx&quot;,
&quot;fileurl&quot;: &quot;https://testadmin.cosex.cn/api/file/select/dGVzdC9maWxlL3VwbG9hZC94bHN4LzIwMjQwNTIw/COSZB731530051_1716018577631_1716183417935.xlsx&quot;,
&quot;time&quot;: &quot;1716183418203&quot;,
&quot;title&quot;: &quot;&quot;
}
]
},
&quot;msg&quot;: &quot;处理成功&quot;
}
错误一:
{
&quot;code&quot;: 1000,
&quot;data&quot;: null,
&quot;msg&quot;: &quot;MD5校验失败!icID 错误,未提供或小于1&quot;
}
错误二:
{
&quot;code&quot;: 2000,
&quot;data&quot;: {
&quot;cMess&quot;: &quot;请输入需要查询的单号信息!&quot;,
&quot;confirm&quot;: false,
&quot;fileList&quot;: [
]
},
&quot;msg&quot;: &quot;处理成功&quot;
}
</code></pre>
<h3>属性</h3>
<table>
<thead>
<tr>
<th>名称</th>
<th>类型</th>
<th>必选</th>
<th>约束</th>
<th>中文名</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>code</td>
<td>integer(int32)</td>
<td>false</td>
<td>none</td>
<td></td>
<td>2000是正确返回 其他均为错误</td>
</tr>
<tr>
<td>data</td>
<td>[[OrderReturn](<a href="#schemaorderreturn">OrderReturn</a>]</td>
<td>false</td>
<td>none</td>
<td></td>
<td>返回参数</td>
</tr>
<tr>
<td>msg</td>
<td>string</td>
<td>false</td>
<td>none</td>
<td></td>
<td>提示消息</td>
</tr>
</tbody>
</table>
<h3><a href="#schemaorderreturn">OrderReturn</a>属性</h3>
<table>
<thead>
<tr>
<th>名称</th>
<th>类型</th>
<th>必选</th>
<th>约束</th>
<th>中文名</th>
</tr>
</thead>
<tbody>
<tr>
<td>confirm</td>
<td>boolean</td>
<td>false</td>
<td>none</td>
<td>是否成功</td>
</tr>
<tr>
<td>cMess</td>
<td>string</td>
<td>false</td>
<td>none</td>
<td>错误信息</td>
</tr>
<tr>
<td>fileList</td>
<td>[<a href="OrderFile属性">OrderFile</a>]</td>
<td>false</td>
<td>none</td>
<td>运输方式-产品列表</td>
</tr>
</tbody>
</table>
<h3>OrderFile属性</h3>
<table>
<thead>
<tr>
<th>名称</th>
<th>类型</th>
<th>必选</th>
<th>约束</th>
<th>中文名</th>
</tr>
</thead>
<tbody>
<tr>
<td>title</td>
<td>string</td>
<td>false</td>
<td>none</td>
<td>标题</td>
</tr>
<tr>
<td>filename</td>
<td>string</td>
<td>false</td>
<td>none</td>
<td>文件名</td>
</tr>
<tr>
<td>fileurl</td>
<td>string</td>
<td>false</td>
<td>none</td>
<td>文件链接</td>
</tr>
<tr>
<td>time</td>
<td>long</td>
<td>false</td>
<td>none</td>
<td>上传时间(13位时间戳)</td>
</tr>
<tr>
<td>fileType</td>
<td>Integer</td>
<td>false</td>
<td>none</td>
<td>模板类型 1:发票,2 :箱单,3:报关单,4:报关委托书,5:申报要素,6:合同</td>
</tr>
<tr>
<td>cNum</td>
<td>string</td>
<td>false</td>
<td>none</td>
<td>系统单号</td>
</tr>
<tr>
<td>cNo</td>
<td>string</td>
<td>false</td>
<td>none</td>
<td>转单号</td>
</tr>
</tbody>
</table>