获取树结构目录列表
<p>欢迎使用July-Doc!</p>
<p><strong>控制器描述:</strong></p>
<ul>
<li>文件资源表 前端控制器</li>
</ul>
<p><strong>作者:</strong></p>
<ul>
<li>zengxueqi</li>
</ul>
<p><strong>创建时间:</strong></p>
<ul>
<li>2024/8/23</li>
</ul>
<p><strong>简要描述:</strong></p>
<ul>
<li>获取树结构目录列表</li>
</ul>
<p><strong>请求URL:</strong>
<code>http://127.0.0.1:8001/file/fileInfo/getDirTree</code></p>
<p><strong>请求方式:</strong>
<code>GET</code></p>
<p><strong>Content-Type:</strong>
<code>无</code></p>
<p><strong>参数:</strong></p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>类型</th>
<th>描述</th>
<th>必填项</th>
<th>版本</th>
</tr>
</thead>
<tbody>
<tr>
<td>updatedBy</td>
<td>string</td>
<td>鏇存柊鏁版嵁鐨勪汉</td>
<td>false</td>
<td>-</td>
</tr>
<tr>
<td>createdBy</td>
<td>string</td>
<td>鍒涘缓鏁版嵁鐨勪汉</td>
<td>false</td>
<td>-</td>
</tr>
<tr>
<td>updatedTime</td>
<td>int64</td>
<td>鏇存柊鏁版嵁鐨勬椂闂?(绉?)</td>
<td>false</td>
<td>-</td>
</tr>
<tr>
<td>createdTime</td>
<td>int64</td>
<td>鍒涘缓鏁版嵁鐨勬椂闂?(绉?)</td>
<td>false</td>
<td>-</td>
</tr>
<tr>
<td>deleted</td>
<td>int32</td>
<td>鍒犻櫎鏁版嵁鐨勬爣蹇?: 1 琛ㄧず宸茬粡鍒犻櫎锛?0 鏈垹闄?</td>
<td>false</td>
<td>-</td>
</tr>
<tr>
<td>id</td>
<td>int64</td>
<td>No comments found.</td>
<td>false</td>
<td>-</td>
</tr>
<tr>
<td>url</td>
<td>string</td>
<td>资源路径</td>
<td>false</td>
<td>-</td>
</tr>
<tr>
<td>name</td>
<td>string</td>
<td>资源原始名称</td>
<td>false</td>
<td>-</td>
</tr>
<tr>
<td>fileName</td>
<td>string</td>
<td>资源名称</td>
<td>false</td>
<td>-</td>
</tr>
<tr>
<td>suffix</td>
<td>string</td>
<td>后缀名</td>
<td>false</td>
<td>-</td>
</tr>
<tr>
<td>boolImg</td>
<td>int32</td>
<td>是否图片</td>
<td>false</td>
<td>-</td>
</tr>
<tr>
<td>size</td>
<td>int64</td>
<td>尺寸</td>
<td>false</td>
<td>-</td>
</tr>
<tr>
<td>type</td>
<td>string</td>
<td>文件展示类型,非后缀名</td>
<td>false</td>
<td>-</td>
</tr>
<tr>
<td>putTime</td>
<td>int64</td>
<td>上传时间</td>
<td>false</td>
<td>-</td>
</tr>
<tr>
<td>boolDir</td>
<td>int32</td>
<td>是否目录</td>
<td>false</td>
<td>-</td>
</tr>
<tr>
<td>parentId</td>
<td>int64</td>
<td>No comments found.</td>
<td>false</td>
<td>-</td>
</tr>
<tr>
<td>userId</td>
<td>string</td>
<td>用户id</td>
<td>false</td>
<td>-</td>
</tr>
<tr>
<td>source</td>
<td>string</td>
<td>来源</td>
<td>false</td>
<td>-</td>
</tr>
<tr>
<td>rename</td>
<td>string</td>
<td>重命名的名称值</td>
<td>false</td>
<td>-</td>
</tr>
<tr>
<td>dirIds</td>
<td>string</td>
<td>目录id拼接</td>
<td>false</td>
<td>-</td>
</tr>
</tbody>
</table>
<p><strong>参数示例:</strong></p>
<pre><code>July-doc can't support create form-data example,
It is recommended to use @RequestBody to receive parameters.</code></pre>
<p><strong>返回参数说明</strong></p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>类型</th>
<th>描述</th>
<th>版本</th>
</tr>
</thead>
<tbody>
<tr>
<td>code</td>
<td>int32</td>
<td>涓氬姟閿欒鐮?</td>
<td>-</td>
</tr>
<tr>
<td>msg</td>
<td>string</td>
<td>鎻忚堪</td>
<td>-</td>
</tr>
<tr>
<td>content</td>
<td>object</td>
<td>缁撴灉闆?</td>
<td>-</td>
</tr>
<tr>
<td>└─id</td>
<td>int64</td>
<td>自增id</td>
<td>-</td>
</tr>
<tr>
<td>└─url</td>
<td>string</td>
<td>文件路径</td>
<td>-</td>
</tr>
<tr>
<td>└─name</td>
<td>string</td>
<td>文件名称</td>
<td>-</td>
</tr>
<tr>
<td>└─fileName</td>
<td>string</td>
<td>文件uuid后的新名称</td>
<td>-</td>
</tr>
<tr>
<td>└─suffix</td>
<td>string</td>
<td>文件后缀名</td>
<td>-</td>
</tr>
<tr>
<td>└─isImg</td>
<td>boolean</td>
<td>是否图片 0否 1是</td>
<td>-</td>
</tr>
<tr>
<td>└─isDir</td>
<td>boolean</td>
<td>是否文件夹 0否 1是</td>
<td>-</td>
</tr>
<tr>
<td>└─size</td>
<td>int64</td>
<td>文件大小</td>
<td>-</td>
</tr>
<tr>
<td>└─type</td>
<td>string</td>
<td>文件展示类型</td>
<td>-</td>
</tr>
<tr>
<td>└─putTime</td>
<td>string</td>
<td>上传时间</td>
<td>-</td>
</tr>
<tr>
<td>└─parentId</td>
<td>int64</td>
<td>父id</td>
<td>-</td>
</tr>
<tr>
<td>└─source</td>
<td>string</td>
<td>来源</td>
<td>-</td>
</tr>
<tr>
<td>└─userId</td>
<td>int64</td>
<td>用户id</td>
<td>-</td>
</tr>
<tr>
<td>└─rename</td>
<td>string</td>
<td>重命名的名称值</td>
<td>-</td>
</tr>
<tr>
<td>└─dirIds</td>
<td>string</td>
<td>目录id拼接</td>
<td>-</td>
</tr>
<tr>
<td>└─iconClass</td>
<td>string</td>
<td>dtree自定义图标</td>
<td>-</td>
</tr>
<tr>
<td>└─checkArr</td>
<td>string</td>
<td>dtree开启复选框</td>
<td>-</td>
</tr>
<tr>
<td>└─title</td>
<td>string</td>
<td>dtree节点名称</td>
<td>-</td>
</tr>
<tr>
<td>└─spread</td>
<td>boolean</td>
<td>是否展开节点</td>
<td>-</td>
</tr>
<tr>
<td>└─children</td>
<td>array</td>
<td>子集合</td>
<td>-</td>
</tr>
</tbody>
</table>
<p><strong>返回示例:</strong></p>
<pre><code>{
&quot;code&quot;:0,
&quot;msg&quot;:处理成功,
&quot;content&quot;:[
{
&quot;id&quot;:852,
&quot;url&quot;:&quot;www.xn---xn--6f4a-9h4qm03f.com&quot;,
&quot;name&quot;:&quot;绍齐.毛&quot;,
&quot;fileName&quot;:&quot;绍齐.毛&quot;,
&quot;suffix&quot;:&quot;6qbp19&quot;,
&quot;isImg&quot;:true,
&quot;isDir&quot;:true,
&quot;size&quot;:356,
&quot;type&quot;:&quot;z7lvk7&quot;,
&quot;putTime&quot;:&quot;2024-09-12&quot;,
&quot;parentId&quot;:549,
&quot;source&quot;:&quot;a4i2dh&quot;,
&quot;userId&quot;:114,
&quot;rename&quot;:&quot;绍齐.毛&quot;,
&quot;dirIds&quot;:&quot;mlq9lx&quot;,
&quot;iconClass&quot;:&quot;ip9f81&quot;,
&quot;checkArr&quot;:&quot;te14cd&quot;,
&quot;title&quot;:&quot;oz0iny&quot;,
&quot;spread&quot;:true,
&quot;children&quot;:[
{
&quot;$ref&quot;:&quot;..&quot;
}
]
}
]
}</code></pre>
<p><strong>备注</strong></p>
<ul>
<li>暂无错误代码描述信息</li>
</ul>