文档
测试

modify_file

PUT
/mtd/major/user/modifyFiles

接口描述

更新指定文件

请求体

参数名
类型
描述
必填
fileId
int
文件id
必填
newFileName
string
新文件名
必填
newFileTags
array[string]
新标签列表
必填
newFilePathLocal
string
新的本地存放位置
必填

响应参数

参数名
类型
描述
必填
code
number
状态码
必填
msg
string
状态消息
必填

说明 / 示例

+ Request ```json { "fileId": 23466, "newFileName": "ldyNB.docx", "newFileTags": ["巨佬","强无敌"], "newFilePathLocal": "~/aaa/ldynb.docx" } ``` + Response ```json { "code": 0, "msg": "success", "data": null } ```