文档
测试

tagCertainFile

GET
/mtd/major/user/tagCertainFile

接口描述

使用场景:1. 上传时自动加标签失败,准备重新尝试 2. 用户想重新对某文件进行自动化标签操作

请求参数

参数名
类型
描述
必填
fileId
int
具体的fileId
必填

响应参数

参数名
类型
描述
必填
code
int
必填
msg
string
必填
data
fileDTO
必填

说明 / 示例

+ Response > 1. 当本来有tag的时候 ```json { "code": 0, "msg": "success", "data": { "fileId": 23466, "fileName": "ldyNB.docx", "fileTags": ["大佬","SE","CS"], //其中CS为新加的 "filePathNet": "https://www.baidu.com/sds.docx", "filePathLocal": "C:/sds.docx", "fileModTime": "2019-02-03 20:10" } ``` > 2. 当本来无tag的时候 ```json { "code": 0, "msg": "success", "data": { "fileId": 23466, "fileName": "ldyNB.docx", "fileTags": ["CS"], //其中CS为新加的 "filePathNet": "https://www.baidu.com/sds.docx", "filePathLocal": "C:/sds.docx", "fileModTime": "2019-02-03 20:10" } ```