feat: use robot to migrate code

Signed-off-by: kubbot & kubecub <3293172751ysy@gmail.com>
This commit is contained in:
kubbot & kubecub
2023-06-30 09:45:02 +08:00
parent 2d41819008
commit 539e0fdfb6
529 changed files with 64588 additions and 54413 deletions
+15 -27
View File
@@ -1,38 +1,26 @@
syntax = "proto3";
import "Open_IM/pkg/proto/sdk_ws/ws.proto";
option go_package = "./push;pbPush";
package push;
package OpenIMServer.push;
import "sdkws/sdkws.proto";
option go_package = "github.com/OpenIMSDK/Open-IM-Server/pkg/proto/push";
message PushMsgReq {
string operationID = 1;
server_api_params.MsgData msgData = 2;
string pushToUserID = 3;
sdkws.MsgData msgData = 1;
string conversationID = 2;
}
message PushMsgResp{
int32 ResultCode = 1;
}
//message InternalPushMsgReq{
// int32 ReqIdentifier = 1;
// string Token = 2;
// string SendID = 3;
// string OperationID = 4;
// int32 MsgIncr = 5;
// int32 PlatformID = 6;
// int32 SessionType = 7;
// int32 MsgFrom = 8;
// int32 ContentType = 9;
// string RecvID = 10;
// repeated string ForceList = 11;
// string Content = 12;
// string Options = 13;
// string ClientMsgID = 14;
// string OffLineInfo = 15;
// string Ex = 16;
//
//}
message DelUserPushTokenReq{
string userID = 1;
int32 platformID = 2;
}
message DelUserPushTokenResp{
}
service PushMsgService {
rpc PushMsg(PushMsgReq) returns(PushMsgResp);
// rpc InternalPushMsg(InternalPushMsgReq)returns(PushMsgResp);
rpc DelUserPushToken(DelUserPushTokenReq) returns(DelUserPushTokenResp);
}