From 9d8f86f778177223f1bdc4bc03a59d71bdecc3f6 Mon Sep 17 00:00:00 2001 From: withchao <993506633@qq.com> Date: Fri, 21 Apr 2023 16:39:04 +0800 Subject: [PATCH] friend --- pkg/proto/third/third.proto | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/pkg/proto/third/third.proto b/pkg/proto/third/third.proto index b1729fc82..8bf1ab34b 100644 --- a/pkg/proto/third/third.proto +++ b/pkg/proto/third/third.proto @@ -4,12 +4,13 @@ import "sdkws/sdkws.proto"; option go_package = "github.com/OpenIMSDK/Open-IM-Server/pkg/proto/third"; message ApplyPutReq { - string name = 1; - int64 size = 2; - string hash = 3; - string contentType = 4; - int64 fragmentSize = 5; - int64 validTime = 6; // 文件有效时间 + string putID = 1; + string name = 2; + int64 size = 3; + string hash = 4; + string contentType = 5; + int64 fragmentSize = 6; + int64 validTime = 7; // 文件有效时间 } message ApplyPutResp { @@ -58,15 +59,15 @@ message GetPutResp { int64 fragmentSize = 4; string contentType = 5; int64 validTime = 6; // 上传地址的有效时间 -// repeated GetPutFragment fragments = 7; -// string putURLsHash = 8; -// string putID = 2; -// int64 fragmentSize = 3; -// int64 validTime = 4;// 上传地址的有效时间 + // repeated GetPutFragment fragments = 7; + // string putURLsHash = 8; + // string putID = 2; + // int64 fragmentSize = 3; + // int64 validTime = 4;// 上传地址的有效时间 string putURLsHash = 7; repeated GetPutFragment fragments = 8; -// repeated string putURLs = 6; -// repeated GetPutFragment fragments = 7; + // repeated string putURLs = 6; + // repeated GetPutFragment fragments = 7; } message GetHashInfoReq {