编辑相册/视频
<h2>编辑相册/视频</h2>
<p><strong>接口地址</strong>:<code>/photoFile/editFile</code></p>
<p><strong>请求方式</strong>:<code>POST</code></p>
<p><strong>请求数据类型</strong>:<code>application/x-www-form-urlencoded</code></p>
<p><strong>响应数据类型</strong>:<code>*/*</code></p>
<p><strong>接口描述</strong>:</p>
<p><strong>请求参数</strong>:</p>
<pre><code class="language-javascript">{
"fileName": "修改",
"id": 2,
"roleScope": "1"
"parentId": 0,
"updateUserId": 0,
"updateUserName": "xxx"
}</code></pre>
<p><strong>请求参数</strong>:</p>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>参数说明</th>
<th>请求类型</th>
<th>是否必须</th>
<th>数据类型</th>
</tr>
</thead>
<tbody>
<tr>
<td>fileName</td>
<td>文件名</td>
<td>query</td>
<td>true</td>
<td>string</td>
</tr>
<tr>
<td>id</td>
<td>id</td>
<td>query</td>
<td>true</td>
<td>Long</td>
</tr>
<tr>
<td>roleScope</td>
<td>公开范围, 0:所有人公开, 1:空间公开</td>
<td>query</td>
<td>true</td>
<td>byte</td>
</tr>
<tr>
<td>parentId</td>
<td>父级目录id</td>
<td>query</td>
<td>true</td>
<td>Integer</td>
</tr>
<tr>
<td>updateUserId</td>
<td>更新人ID</td>
<td>query</td>
<td>true</td>
<td>Integer</td>
</tr>
<tr>
<td>updateUserName</td>
<td>更新人名</td>
<td>query</td>
<td>true</td>
<td>string</td>
</tr>
</tbody>
</table>
<p><strong>响应状态</strong>:</p>
<table>
<thead>
<tr>
<th>状态码</th>
<th>说明</th>
<th>schema</th>
</tr>
</thead>
<tbody>
<tr>
<td>200</td>
<td>OK</td>
<td>PageResult«List«DistributionVo»»</td>
</tr>
<tr>
<td>201</td>
<td>Created</td>
</tr>
<tr>
<td>401</td>
<td>Unauthorized</td>
</tr>
<tr>
<td>403</td>
<td>Forbidden</td>
</tr>
<tr>
<td>404</td>
<td>Not Found</td>
</tr>
</tbody>
</table>
<p><strong>响应参数</strong>:</p>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>参数说明</th>
<th>类型</th>
<th>schema</th>
</tr>
</thead>
<tbody>
<tr>
<td>data</td>
<td>array</td>
<td>DistributionVo</td>
</tr>
</tbody>
</table>
<p><strong>响应示例</strong>:</p>
<pre><code class="language-javascript">{
"statusCode": 0,
"errorMessage": null,
"content": true,
"timestamp": 1642040510
}</code></pre>