syntax = "proto3"; import "v1/thirdparty.proto"; // package声明符,用来防止不同的消息类型有命名冲突 package pb; // 用于生成指定语言go的包名称 option go_package = "access-control-monitor/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) {} // 实时天气情况 rpc WeatherCondition(v1.WeatherConditionRequest) returns (v1.WeatherConditionReply){} // 获取实时空气质量 rpc WeatherEnviroment(v1.WeatherEnviromentRequest) returns (v1.WeatherEnviromentReply){} rpc WeatherForecast15(v1.WeatherForecast15Request) returns (v1.WeatherForecast15Reply){} // 省厅接口 rpc ProvincialGetProjectCode(v1.ProvincialGetProjectCodeRequest) returns (v1.ProvincialGetProjectCodeReply) {} rpc ProvincialPostProject(v1.ProvincialPostProjectRequest) returns (v1.ProvincialPostProjectReply) {} rpc ProvincialPostDustDevice(v1.ProvincialPostDustDeviceRequest) returns (v1.ProvincialPostDustDeviceReply) {} rpc ProvincialPostDustData(v1.ProvincialPostDustDataRequest) returns (v1.ProvincialPostDustDataReply) {} rpc ProvincialVerifyData(v1.ProvincialVerifyDataRequest) returns (v1.ProvincialVerifyDataReply) {} rpc ProvincialPostTeam(v1.ProvincialPostTeamRequest) returns (v1.ProvincialPostTeamReply) {} rpc ProvincialPostStaff(v1.ProvincialPostStaffRequest) returns (v1.ProvincialPostStaffReply) {} rpc ProvincialPostStaffAttendance(v1.ProvincialPostStaffAttendanceRequest) returns (v1.ProvincialPostStaffAttendanceReply) {} }