调整
This commit is contained in:
parent
e9a16ee7a2
commit
7b3228b6df
|
@ -154,38 +154,44 @@ message LogoCombineRes {
|
|||
/* 后端上传--分片上传 */
|
||||
message UploadFileBackendFragmentReq {
|
||||
string file_name = 1; // 文件名
|
||||
string file_type = 2; // 文件类型
|
||||
bytes file_content = 3; // 文件流
|
||||
bytes file_header = 4; // 文件头
|
||||
string file_data = 5; // base64
|
||||
int64 chunk_number = 6; // 当前分片号:1、2、3
|
||||
int64 total_chunks = 7; // 总分片数:3
|
||||
string file_key = 6; // 哈希
|
||||
|
||||
int64 api_type = 10; // 请求类型:1=对外,2=对内
|
||||
int64 upload_bucket = 11; // 上传桶类型:1=持久,2=缓存
|
||||
string file_key = 12; // 哈希
|
||||
string source = 13;// 来源
|
||||
bytes metadata = 14; // json格式
|
||||
int64 chunk_number = 7; // 当前分片号:1、2、3
|
||||
int64 total_chunks = 8; // 总分片数:3
|
||||
|
||||
|
||||
int64 upload_bucket = 10; // 上传桶类型:1=持久,2=缓存
|
||||
string upload_type = 11; // 上传方式:s3
|
||||
string upload_id = 12; // 分片上传id
|
||||
int64 api_type = 13; // 请求类型:1=对外,2=对内
|
||||
string source = 14;// 来源
|
||||
int64 refresh = 15; // 是否覆盖
|
||||
string resource_id = 16; // 资源ID
|
||||
string backup_type = 17; // 资源备份:oss
|
||||
string upload_type = 18; // 上传方式:s3
|
||||
bytes metadata = 18; // json格式
|
||||
|
||||
int64 cache_type = 100; // 缓存类型:0=不缓存 1=存储数据库
|
||||
int64 user_id = 101;
|
||||
int64 guest_id = 102;
|
||||
}
|
||||
message UploadFileBackendFragmentRes {
|
||||
string resource_type = 5; // 资源类型
|
||||
string resource_id = 4;// 资源ID
|
||||
string resource_url = 6;// 资源链接
|
||||
string upload_id = 1; // 分片上传id
|
||||
string resource_type = 2; // 资源类型
|
||||
string resource_id = 3;// 资源ID
|
||||
string resource_url = 4;// 资源链接
|
||||
}
|
||||
/* 后端上传--分片上传 */
|
||||
|
||||
/* 后端上传--单文件 */
|
||||
message UploadFileBackendReq {
|
||||
string file_name = 1; // 文件名
|
||||
bytes file_content = 2; // 文件流
|
||||
bytes file_header = 3; // 文件头
|
||||
string file_type = 2; // 文件类型
|
||||
bytes file_content = 3; // 文件流
|
||||
bytes file_header = 4; // 文件头
|
||||
string file_data = 6; // base64
|
||||
|
||||
int64 api_type = 10; // 请求类型:1=对外,2=对内
|
||||
|
|
Loading…
Reference in New Issue
Block a user