common_service.proto 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. syntax = "proto3";
  2. import "v1/common.proto";
  3. // package声明符,用来防止不同的消息类型有命名冲突
  4. package pb.service;
  5. // 用于生成指定语言go的包名称
  6. option go_package = "property-household-gateway/pb";
  7. // The system service definition.
  8. service Common {
  9. // 权限总列表
  10. rpc SystemPermissionList(pb_v1.SystemPermissionListRequest) returns (pb_v1.SystemPermissionListReply){}
  11. rpc SystemPermissionsNotTree(pb_v1.SystemPermissionsNotTreeRequest) returns (pb_v1.SystemPermissionsNotTreeReply){}
  12. // 添加权限节点
  13. rpc SystemPermissionAdd(pb_v1.SystemPermissionAddRequest) returns (pb_v1.SystemPermissionAddReply){}
  14. // 更新权限节点
  15. rpc SystemPermissionUpdate(pb_v1.SystemPermissionUpdateRequest) returns (pb_v1.SystemPermissionUpdateReply){}
  16. // 删除权限节点
  17. rpc SystemPermissionDel(pb_v1.SystemPermissionDelRequest) returns (pb_v1.SystemPermissionDelReply){}
  18. // 获取权限节点路由和方法
  19. rpc SystemPermissionRouter(pb_v1.SystemPermissionRouterRequest) returns (pb_v1.SystemPermissionRouterReply){}
  20. // 省市区
  21. rpc ProvinceCityArea(pb_v1.ProvinceCityAreaRequest) returns (pb_v1.ProvinceCityAreaReply){}
  22. // 街道社区
  23. rpc StreetCommittee(pb_v1.StreetCommitteeRequest) returns (pb_v1.StreetCommitteeReply){}
  24. rpc City(pb_v1.CityRequest) returns (pb_v1.CityReply){}
  25. // 对象存储删除无用的数据
  26. rpc OssObjDelNotExist(pb_v1.OssObjDelNotExistRequest) returns (pb_v1.OssObjDelNotExistReply){}
  27. // 素材
  28. rpc MaterialInfo(pb_v1.MaterialInfoRequest) returns (pb_v1.MaterialInfoReply){}
  29. rpc MaterialList(pb_v1.MaterialListRequest) returns (pb_v1.MaterialListReply){}
  30. }