文件服务

party-file


获取树结构目录列表

<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>{ &amp;quot;code&amp;quot;:0, &amp;quot;msg&amp;quot;:处理成功, &amp;quot;content&amp;quot;:[ { &amp;quot;id&amp;quot;:852, &amp;quot;url&amp;quot;:&amp;quot;www.xn---xn--6f4a-9h4qm03f.com&amp;quot;, &amp;quot;name&amp;quot;:&amp;quot;绍齐.毛&amp;quot;, &amp;quot;fileName&amp;quot;:&amp;quot;绍齐.毛&amp;quot;, &amp;quot;suffix&amp;quot;:&amp;quot;6qbp19&amp;quot;, &amp;quot;isImg&amp;quot;:true, &amp;quot;isDir&amp;quot;:true, &amp;quot;size&amp;quot;:356, &amp;quot;type&amp;quot;:&amp;quot;z7lvk7&amp;quot;, &amp;quot;putTime&amp;quot;:&amp;quot;2024-09-12&amp;quot;, &amp;quot;parentId&amp;quot;:549, &amp;quot;source&amp;quot;:&amp;quot;a4i2dh&amp;quot;, &amp;quot;userId&amp;quot;:114, &amp;quot;rename&amp;quot;:&amp;quot;绍齐.毛&amp;quot;, &amp;quot;dirIds&amp;quot;:&amp;quot;mlq9lx&amp;quot;, &amp;quot;iconClass&amp;quot;:&amp;quot;ip9f81&amp;quot;, &amp;quot;checkArr&amp;quot;:&amp;quot;te14cd&amp;quot;, &amp;quot;title&amp;quot;:&amp;quot;oz0iny&amp;quot;, &amp;quot;spread&amp;quot;:true, &amp;quot;children&amp;quot;:[ { &amp;quot;$ref&amp;quot;:&amp;quot;..&amp;quot; } ] } ] }</code></pre> <p><strong>备注</strong></p> <ul> <li>暂无错误代码描述信息</li> </ul>

页面列表

ITEM_HTML