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