thirdparty_management.proto 708 B

1234567891011121314151617181920212223
  1. syntax = "proto3";
  2. import "v1/thirdparty.proto";
  3. // package声明符,用来防止不同的消息类型有命名冲突
  4. package pb;
  5. // 用于生成指定语言go的包名称
  6. option go_package = "smart-thirdparty/pb";
  7. service SmartSiteThirdparty {
  8. rpc GetVcode (v1.GetVcodeRequest) returns (v1.GetVcodeReply) {}
  9. // 手机号验证码验证
  10. rpc CheckVcode (v1.CheckVcodeRequest) returns (v1.CheckVcodeReply) {}
  11. // 发送告警
  12. rpc SendAlarm(v1.SendAlarmRequest) returns (v1.SendAlarmReply){}
  13. rpc SendEmail(v1.SendEmailRequest) returns (v1.SendEmailReply){}
  14. // 发送认证通过
  15. rpc SendThroughVerify(v1.SendThroughVerifyRequest) returns (v1.SendThroughVerifyReply) {}
  16. }