This commit is contained in:
menghaiwen@fusen.cn 2024-01-19 18:21:00 +08:00
parent e9a16ee7a2
commit 7b3228b6df

View File

@ -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; // :123
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; // :123
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=