thirdparty_service.proto 668 B

123456789101112131415161718192021
  1. syntax = "proto3";
  2. import "v1/thirdparty.proto";
  3. // package声明符,用来防止不同的消息类型有命名冲突
  4. package pb;
  5. // 用于生成指定语言go的包名称
  6. option go_package = "smart-supplier-management/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. // 发送认证通过
  14. rpc SendThroughVerify(v1.SendThroughVerifyRequest) returns (v1.SendThroughVerifyReply) {}
  15. }