common_service.proto 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. syntax = "proto3";
  2. import "v1/common.proto";
  3. // package声明符,用来防止不同的消息类型有命名冲突
  4. package pb.service;
  5. // 用于生成指定语言go的包名称
  6. option go_package = "property-system/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 ProvinceCityArea(pb_v1.ProvinceCityAreaRequest) returns (pb_v1.ProvinceCityAreaReply){}
  20. // 街道社区
  21. rpc StreetCommittee(pb_v1.StreetCommitteeRequest) returns (pb_v1.StreetCommitteeReply){}
  22. // 对象存储删除无用的数据
  23. rpc OssObjDelNotExist(pb_v1.OssObjDelNotExistRequest) returns (pb_v1.OssObjDelNotExistReply){}
  24. // 对象存储添加到公共区
  25. rpc OssObjAdd(pb_v1.OssObjAddRequest) returns (pb_v1.OssObjAddReply){}
  26. // 应用
  27. rpc ApplicationList(pb_v1.ApplicationListRequest) returns (pb_v1.ApplicationListReply){}
  28. rpc ApplicationPermissions(pb_v1.ApplicationPermissionsRequest) returns (pb_v1.ApplicationPermissionsReply){}
  29. rpc ApplicationInfo(pb_v1.ApplicationInfoRequest) returns (pb_v1.ApplicationInfoReply){}
  30. // 套餐
  31. rpc PackageList(pb_v1.PackageListRequest) returns (pb_v1.PackageListReply){}
  32. rpc PackageInfo(pb_v1.PackageInfoRequest) returns (pb_v1.PackageInfoReply){}
  33. // 短信套餐
  34. rpc MsgPackageInfo(pb_v1.MsgPackageInfoRequest) returns (pb_v1.MsgPackageInfoReply){}
  35. }