文档
测试

新增资料文件

POST
/operation/1.1/document/save

请求头

参数名
类型
描述
必填
token
字符串
用户登录后返回的token
必填

示例

请求体: ``` { "fileName": "测试资料", "isDelete": null, "userName": "123", "createTime": "2020-09-11 21:24:14", "fileSize": 100, "filePath": [], "fileDir": null, "tenantId": null, "createUser": null, "id": null, "projectId": null, "categoryId": null, "fileSystemName": null, "fileType": null } ``` 响应体: ``` { "result":true } ```

请求参数说明

参数名
类型
描述
必填
fileName
string
示例:测试资料
必填
isDelete
object
示例:null
必填
userName
string
示例:123
必填
createTime
string
示例:2020-09-11 21:24:14
必填
fileSize
int
示例:100
必填
filePath
array
数据列表,根据上传文件得到的path集合
必填
fileDir
object
示例:null
必填
tenantId
object
示例:null
必填
createUser
object
示例:null
必填
id
object
示例:null
必填
projectId
object
如果是项目资料则对应项目id
必填
categoryId
object
对应分类id
必填
fileSystemName
object
示例:null
必填
fileType
object
示例:null
必填