feat(work): 新增微盘文件分块上传相关接口

This commit is contained in:
fudiwei
2022-12-03 19:55:09 +08:00
parent ab375b7cc1
commit 919c672d34
12 changed files with 245 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
{
"errcode": 0,
"errmsg": "ok",
"fileid": "FILEID"
}

View File

@@ -0,0 +1,9 @@
{
"spaceid": "SPACEID",
"fatherid": "FATHERID",
"selected_ticket": "SELECTED_TICKET",
"file_name": "FILE_NAME",
"size": 123,
"block_sha": ["STATE1", "STATE2"],
"skip_push_card": false
}

View File

@@ -0,0 +1,7 @@
{
"errcode": 0,
"errmsg": "ok",
"hit_exist": false,
"upload_key": "UPLOAD_KEY",
"fileid": "FILEID"
}

View File

@@ -0,0 +1,5 @@
{
"upload_key": "UPLOAD_KEY",
"index": 1,
"file_base64_content": "FILE_BASE64_CONTENT"
}