读取文件
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>根据扫描生成的任务id,查询对应的文件</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://ip:port/system/readFileInfo</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>
<tr>
<td style="text-align: left;">taskId</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>任务id</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code> {
&quot;status&quot;: 0,
&quot;errmsgfilter&quot;: false,
&quot;encrypted&quot;: false,
&quot;desc&quot;: &quot;读取成功&quot;,
&quot;result&quot;: {
&quot;totalSize&quot;: &quot;263.05M&quot;,
&quot;totalNum&quot;: 5,
&quot;fileInfo&quot;: {
&quot;log&quot;: {
&quot;totalSize&quot;: &quot;263.05M&quot;,
&quot;totalNum&quot;: 3,
&quot;Records&quot;: [
{
&quot;fileName&quot;: &quot;error.2022-11-02.log&quot;,
&quot;size&quot;: 0,
&quot;fileSize&quot;: &quot;0.00B&quot;,
&quot;filePath&quot;: &quot;WorkSpace\\2.服务端\\logs\\error.2022-11-02.log&quot;,
&quot;id&quot;: &quot;4f48104a-70ff-4ea2-854b-95fd01376425&quot;
},
{
&quot;fileName&quot;: &quot;info.2022-10-22.log&quot;,
&quot;size&quot;: 1747148,
&quot;fileSize&quot;: &quot;1.67M&quot;,
&quot;filePath&quot;: &quot;WorkSpace\\2.服务端\\logs\\info.2022-10-22.log&quot;,
&quot;id&quot;: &quot;d5623afd-6dd3-4f81-bf86-ecb309f65240&quot;
},
{
&quot;fileName&quot;: &quot;info.2022-10-25.log&quot;,
&quot;size&quot;: 108289,
&quot;fileSize&quot;: &quot;105.75K&quot;,
&quot;filePath&quot;: &quot;WorkSpace\\2.服务端\\logs\\info.2022-10-25.log&quot;,
&quot;id&quot;: &quot;e5107a18-f61e-4b98-87f0-aae18eb52926&quot;
},
]
},
&quot;error&quot;: {
&quot;totalSize&quot;: &quot;0.00B&quot;,
&quot;totalNum&quot;: 1,
&quot;Records&quot;: [
{
&quot;fileName&quot;: &quot;service_info.2022-10-20.error&quot;,
&quot;size&quot;: 0,
&quot;fileSize&quot;: &quot;0.00B&quot;,
&quot;filePath&quot;: &quot;WorkSpace\\2.服务端\\logs\\service_info.2022-10-20.error&quot;,
&quot;id&quot;: &quot;0c8ac111-62ed-4c54-ace7-741ecc42badc&quot;
}
]
},
&quot;info&quot;: {
&quot;totalSize&quot;: &quot;0.00B&quot;,
&quot;totalNum&quot;: 1,
&quot;Records&quot;: [
{
&quot;fileName&quot;: &quot;service_info.2022-10-20.info&quot;,
&quot;size&quot;: 0,
&quot;fileSize&quot;: &quot;0.00B&quot;,
&quot;filePath&quot;: &quot;WorkSpace\\2.服务端\\logs\\service_info.2022-10-20.info&quot;,
&quot;id&quot;: &quot;a07c60f0-7f27-40a4-911c-bc140e69c1ea&quot;
}
]
}
}
}
}</code></pre>
<h5>返回参数说明</h5>