12345678910111213141516171819202122 |
- syntax = "proto3";
- import "v1/thirdparty.proto";
- // package声明符,用来防止不同的消息类型有命名冲突
- package pb.service;
- // 用于生成指定语言go的包名称
- option go_package = "property-system/pb";
- // The system service definition.
- service PropertyThirdparty {
- // 获取短信验证码
- rpc GetVcode(pb_v1.GetVcodeRequest) returns (pb_v1.GetVcodeReply){}
- // 校验短信验证码
- rpc CheckVcode(pb_v1.CheckVcodeRequest) returns (pb_v1.CheckVcodeReply){}
- // openIM 注册用户
- rpc OpenImRegister(pb_v1.OpenImRegisterRequest) returns (pb_v1.OpenImRegisterReply){}
- rpc RobotMsg(pb_v1.RobotMsgRequest) returns (pb_v1.RobotMsgReply){}
- }
|