provincial_management.proto 1.1 KB

123456789101112131415161718192021
  1. syntax = "proto3";
  2. import "v1/provincial.proto";
  3. // package声明符,用来防止不同的消息类型有命名冲突
  4. package pb;
  5. // 用于生成指定语言go的包名称
  6. option go_package = "dust-monitor/pb";
  7. service SmartProvincial {
  8. // 省厅接口
  9. rpc ProvincialGetProjectCode(v1.ProvincialGetProjectCodeRequest) returns (v1.ProvincialGetProjectCodeReply) {}
  10. rpc ProvincialPostProject(v1.ProvincialPostProjectRequest) returns (v1.ProvincialPostProjectReply) {}
  11. rpc ProvincialPostDustDevice(v1.ProvincialPostDustDeviceRequest) returns (v1.ProvincialPostDustDeviceReply) {}
  12. rpc ProvincialPostDustData(v1.ProvincialPostDustDataRequest) returns (v1.ProvincialPostDustDataReply) {}
  13. rpc ProvincialVerifyData(v1.ProvincialVerifyDataRequest) returns (v1.ProvincialVerifyDataReply) {}
  14. rpc ProvincialPostTeam(v1.ProvincialPostTeamRequest) returns (v1.ProvincialPostTeamReply) {}
  15. rpc ProvincialPostStaff(v1.ProvincialPostStaffRequest) returns (v1.ProvincialPostStaffReply) {}
  16. rpc ProvincialPostStaffAttendance(v1.ProvincialPostStaffAttendanceRequest) returns (v1.ProvincialPostStaffAttendanceReply) {}
  17. }