thirdparty_management.proto 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. syntax = "proto3";
  2. import "v1/thirdparty.proto";
  3. // package声明符,用来防止不同的消息类型有命名冲突
  4. package pb;
  5. // 用于生成指定语言go的包名称
  6. option go_package = "access-control-monitor/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. rpc SendEmail(v1.SendEmailRequest) returns (v1.SendEmailReply){}
  14. // 发送认证通过
  15. rpc SendThroughVerify(v1.SendThroughVerifyRequest) returns (v1.SendThroughVerifyReply) {}
  16. // 实时天气情况
  17. rpc WeatherCondition(v1.WeatherConditionRequest) returns (v1.WeatherConditionReply){}
  18. // 获取实时空气质量
  19. rpc WeatherEnviroment(v1.WeatherEnviromentRequest) returns (v1.WeatherEnviromentReply){}
  20. rpc WeatherForecast15(v1.WeatherForecast15Request) returns (v1.WeatherForecast15Reply){}
  21. // 省厅接口
  22. rpc ProvincialGetProjectCode(v1.ProvincialGetProjectCodeRequest) returns (v1.ProvincialGetProjectCodeReply) {}
  23. rpc ProvincialPostProject(v1.ProvincialPostProjectRequest) returns (v1.ProvincialPostProjectReply) {}
  24. rpc ProvincialPostDustDevice(v1.ProvincialPostDustDeviceRequest) returns (v1.ProvincialPostDustDeviceReply) {}
  25. rpc ProvincialPostDustData(v1.ProvincialPostDustDataRequest) returns (v1.ProvincialPostDustDataReply) {}
  26. rpc ProvincialVerifyData(v1.ProvincialVerifyDataRequest) returns (v1.ProvincialVerifyDataReply) {}
  27. rpc ProvincialPostTeam(v1.ProvincialPostTeamRequest) returns (v1.ProvincialPostTeamReply) {}
  28. rpc ProvincialPostStaff(v1.ProvincialPostStaffRequest) returns (v1.ProvincialPostStaffReply) {}
  29. rpc ProvincialPostStaffAttendance(v1.ProvincialPostStaffAttendanceRequest) returns (v1.ProvincialPostStaffAttendanceReply) {}
  30. }