common_service.proto 1.2 KB

1234567891011121314151617181920212223242526272829303132
  1. syntax = "proto3";
  2. import "v1/common.proto";
  3. // package声明符,用来防止不同的消息类型有命名冲突
  4. package pb.service;
  5. // 用于生成指定语言go的包名称
  6. option go_package = "property-company-gateway/pb";
  7. // The system service definition.
  8. service Common {
  9. // 权限总列表
  10. rpc SystemPermissionList(pb_v1.SystemPermissionListRequest) returns (pb_v1.SystemPermissionListReply){}
  11. // 添加权限节点
  12. rpc SystemPermissionAdd(pb_v1.SystemPermissionAddRequest) returns (pb_v1.SystemPermissionAddReply){}
  13. // 更新权限节点
  14. rpc SystemPermissionUpdate(pb_v1.SystemPermissionUpdateRequest) returns (pb_v1.SystemPermissionUpdateReply){}
  15. // 删除权限节点
  16. rpc SystemPermissionDel(pb_v1.SystemPermissionDelRequest) returns (pb_v1.SystemPermissionDelReply){}
  17. // 省市区
  18. rpc ProvinceCityArea(pb_v1.ProvinceCityAreaRequest) returns (pb_v1.ProvinceCityAreaReply){}
  19. // 街道社区
  20. rpc StreetCommittee(pb_v1.StreetCommitteeRequest) returns (pb_v1.StreetCommitteeReply){}
  21. // 应用
  22. rpc ApplicationList(pb_v1.ApplicationListRequest) returns (pb_v1.ApplicationListReply){}
  23. // 套餐
  24. rpc PackageList(pb_v1.PackageListRequest) returns (pb_v1.PackageListReply){}
  25. }