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