syntax = "proto3"; import "v1/thirdparty.proto"; // package声明符,用来防止不同的消息类型有命名冲突 package pb; // 用于生成指定语言go的包名称 option go_package = "smart-site-management-gateway/pb"; service SmartSiteThirdparty { rpc GetVcode (v1.GetVcodeRequest) returns (v1.GetVcodeReply) {} // 手机号验证码验证 rpc CheckVcode (v1.CheckVcodeRequest) returns (v1.CheckVcodeReply) {} rpc SendEmail(v1.SendEmailRequest) returns (v1.SendEmailReply){} }