thirdparty_service.proto 780 B

12345678910111213141516171819202122
  1. syntax = "proto3";
  2. import "v1/thirdparty.proto";
  3. // package声明符,用来防止不同的消息类型有命名冲突
  4. package pb.service;
  5. // 用于生成指定语言go的包名称
  6. option go_package = "property-system-gateway/pb";
  7. // The system service definition.
  8. service PropertyThirdparty {
  9. // 获取短信验证码
  10. rpc GetVcode(pb_v1.GetVcodeRequest) returns (pb_v1.GetVcodeReply){}
  11. // 校验短信验证码
  12. rpc CheckVcode(pb_v1.CheckVcodeRequest) returns (pb_v1.CheckVcodeReply){}
  13. rpc OpenImToken(pb_v1.OpenImTokenRequest) returns (pb_v1.OpenImTokenReply){}
  14. rpc OpenImUserInfo(pb_v1.OpenImUserInfoRequest) returns (pb_v1.OpenImUserInfoReply){}
  15. rpc OpenImUserSetFace(pb_v1.OpenImUserSetFaceRequest) returns (pb_v1.OpenImUserSetFaceReply){}
  16. }