This commit is contained in:
withchao 2023-04-21 16:39:04 +08:00
parent 9f523d980a
commit 9d8f86f778

View File

@ -4,12 +4,13 @@ import "sdkws/sdkws.proto";
option go_package = "github.com/OpenIMSDK/Open-IM-Server/pkg/proto/third"; option go_package = "github.com/OpenIMSDK/Open-IM-Server/pkg/proto/third";
message ApplyPutReq { message ApplyPutReq {
string name = 1; string putID = 1;
int64 size = 2; string name = 2;
string hash = 3; int64 size = 3;
string contentType = 4; string hash = 4;
int64 fragmentSize = 5; string contentType = 5;
int64 validTime = 6; // int64 fragmentSize = 6;
int64 validTime = 7; //
} }
message ApplyPutResp { message ApplyPutResp {
@ -58,15 +59,15 @@ message GetPutResp {
int64 fragmentSize = 4; int64 fragmentSize = 4;
string contentType = 5; string contentType = 5;
int64 validTime = 6; // int64 validTime = 6; //
// repeated GetPutFragment fragments = 7; // repeated GetPutFragment fragments = 7;
// string putURLsHash = 8; // string putURLsHash = 8;
// string putID = 2; // string putID = 2;
// int64 fragmentSize = 3; // int64 fragmentSize = 3;
// int64 validTime = 4;// // int64 validTime = 4;//
string putURLsHash = 7; string putURLsHash = 7;
repeated GetPutFragment fragments = 8; repeated GetPutFragment fragments = 8;
// repeated string putURLs = 6; // repeated string putURLs = 6;
// repeated GetPutFragment fragments = 7; // repeated GetPutFragment fragments = 7;
} }
message GetHashInfoReq { message GetHashInfoReq {