system_service.proto 5.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. syntax = "proto3";
  2. import "v1/system.proto";
  3. // package声明符,用来防止不同的消息类型有命名冲突
  4. package pb.service;
  5. // 用于生成指定语言go的包名称
  6. option go_package = "property-system/pb";
  7. // The system service definition.
  8. service System {
  9. rpc GardenInfos(pb_v1.GardenInfosRequest) returns (pb_v1.GardenInfosReply){}
  10. rpc GardenList(pb_v1.GardenListRequest) returns (pb_v1.GardenListReply){}
  11. rpc GardenIds(pb_v1.GardenIdsRequest) returns (pb_v1.GardenIdsReply){}
  12. rpc GardenAdd(pb_v1.GardenAddRequest) returns (pb_v1.GardenAddReply){}
  13. rpc GardenUpdate(pb_v1.GardenUpdateRequest) returns (pb_v1.GardenUpdateReply){}
  14. rpc GardenDel(pb_v1.GardenDelRequest) returns (pb_v1.GardenDelReply){}
  15. rpc GardenChangeCompany(pb_v1.GardenChangeCompanyRequest) returns (pb_v1.GardenChangeCompanyReply){}
  16. rpc GardenEnableSet(pb_v1.GardenEnableSetRequest) returns (pb_v1.GardenEnableSetReply){}
  17. rpc GardenHouseCountLimit(pb_v1.GardenHouseCountLimitRequest) returns (pb_v1.GardenHouseCountLimitReply){}
  18. rpc GardenHouseCountChange(pb_v1.GardenHouseCountChangeRequest) returns (pb_v1.GardenHouseCountChangeReply){}
  19. //
  20. rpc Login(pb_v1.LoginRequest) returns (pb_v1.LoginReply){}
  21. // 权限变更后重新获取权限
  22. rpc PermissionReget(pb_v1.PermissionRegetRequest) returns (pb_v1.PermissionRegetReply){}
  23. rpc LoginByPhone(pb_v1.LoginByPhoneRequest) returns (pb_v1.LoginByPhoneReply){}
  24. rpc CheckPhone(pb_v1.CheckPhoneRequest) returns (pb_v1.CheckPhoneReply){}
  25. rpc ResetPassword(pb_v1.ResetPasswordRequest) returns (pb_v1.ResetPasswordReply){}
  26. rpc ChangePassword(pb_v1.ChangePasswordRequest) returns (pb_v1.ChangePasswordReply){}
  27. rpc UserAdd(pb_v1.UserAddRequest) returns (pb_v1.UserAddReply){}
  28. rpc UserUpdate(pb_v1.UserUpdateRequest) returns (pb_v1.UserUpdateReply){}
  29. rpc UserDel(pb_v1.UserDelRequest) returns (pb_v1.UserDelReply){}
  30. rpc UserList(pb_v1.UserListRequest) returns (pb_v1.UserListReply){}
  31. rpc UserGardenChange(pb_v1.UserGardenChangeRequest) returns (pb_v1.UserGardenChangeReply){}
  32. // 公司账户进小区
  33. rpc CompanyEnterGarden(pb_v1.CompanyEnterGardenRequest) returns (pb_v1.CompanyEnterGardenReply){}
  34. // 权限
  35. rpc GroupAdd(pb_v1.GroupAddRequest) returns (pb_v1.GroupAddReply){}
  36. rpc GroupDel(pb_v1.GroupDelRequest) returns (pb_v1.GroupDelReply){}
  37. rpc GroupList(pb_v1.GroupListRequest) returns (pb_v1.GroupListReply){}
  38. rpc GroupInfo(pb_v1.GroupInfoRequest) returns (pb_v1.GroupInfoReply){}
  39. rpc GroupUpdate(pb_v1.GroupUpdateRequest) returns (pb_v1.GroupUpdateReply){}
  40. rpc SuperGroup(pb_v1.SuperGroupRequest) returns (pb_v1.SuperGroupReply){}
  41. rpc GardenPermissionList(pb_v1.GardenPermissionListRequest) returns (pb_v1.GardenPermissionListReply){}
  42. // 部门
  43. rpc DepartmentAdd(pb_v1.DepartmentAddRequest) returns (pb_v1.DepartmentAddReply){}
  44. rpc DepartmentDel(pb_v1.DepartmentDelRequest) returns (pb_v1.DepartmentDelReply){}
  45. rpc DepartmentList(pb_v1.DepartmentListRequest) returns (pb_v1.DepartmentListReply){}
  46. rpc DepartmentUpdate(pb_v1.DepartmentUpdateRequest) returns (pb_v1.DepartmentUpdateReply){}
  47. // 修改小区关键信息提交申请
  48. rpc GardenKeyInfoChange(pb_v1.GardenKeyInfoChangeRequest) returns (pb_v1.GardenKeyInfoChangeReply){}
  49. // 小区关键信息申请列表
  50. rpc GardenKeyInfoChangeList(pb_v1.GardenKeyInfoChangeListRequest) returns (pb_v1.GardenKeyInfoChangeListReply){}
  51. // 对小区关键信息申请进行审批
  52. rpc GardenKeyInfoApprove(pb_v1.GardenKeyInfoApproveRequest) returns (pb_v1.GardenKeyInfoApproveReply){}
  53. // 小区审批
  54. rpc GardenApprove(pb_v1.GardenApproveRequest) returns (pb_v1.GardenApproveReply){}
  55. // 设置小区支付商户号
  56. rpc GardenSetMch(pb_v1.GardenSetMchRequest) returns (pb_v1.GardenSetMchReply){}
  57. // 设置小区支付模式
  58. rpc GardenSetMchPayMode(pb_v1.GardenSetMchPayModeRequest) returns (pb_v1.GardenSetMchPayModeReply){}
  59. // 获取公司下的小区支付模式信息
  60. rpc CompanyMchGardenList(pb_v1.CompanyMchGardenListRequest) returns (pb_v1.CompanyMchGardenListReply){}
  61. // 应用相关
  62. rpc ApplicationOrderAdd(pb_v1.ApplicationOrderAddRequest) returns (pb_v1.ApplicationOrderAddReply){}
  63. rpc ApplicationOrderApprove(pb_v1.ApplicationOrderApproveRequest) returns (pb_v1.ApplicationOrderApproveReply){}
  64. rpc GardenApplicationList(pb_v1.GardenApplicationListRequest) returns (pb_v1.GardenApplicationListReply){}
  65. rpc ApplicationOrderAmount(pb_v1.ApplicationOrderAmountRequest) returns (pb_v1.ApplicationOrderAmountReply){}
  66. // 套餐相关
  67. rpc PackageOrderAdd(pb_v1.PackageOrderAddRequest) returns (pb_v1.PackageOrderAddReply){}
  68. rpc PackageOrderApprove(pb_v1.PackageOrderApproveRequest) returns (pb_v1.PackageOrderApproveReply){}
  69. rpc CompanyPackageList(pb_v1.CompanyPackageListRequest) returns (pb_v1.CompanyPackageListReply){}
  70. rpc PackageOrderAmount(pb_v1.PackageOrderAmountRequest) returns (pb_v1.PackageOrderAmountReply){}
  71. rpc GardenRentSellCount(pb_v1.GardenRentSellCountRequest) returns (pb_v1.GardenRentSellCountReply){}
  72. // 短信套餐相关
  73. rpc MsgPackageOrderAdd(pb_v1.MsgPackageOrderAddRequest) returns (pb_v1.MsgPackageOrderAddReply){}
  74. rpc MsgPackageOrderApprove(pb_v1.MsgPackageOrderApproveRequest) returns (pb_v1.MsgPackageOrderApproveReply){}
  75. rpc MsgPackageOrderList(pb_v1.MsgPackageOrderListRequest) returns (pb_v1.MsgPackageOrderListReply){}
  76. rpc MsgPackageOrderDecrease(pb_v1.MsgPackageOrderDecreaseRequest) returns (pb_v1.MsgPackageOrderDecreaseReply){}
  77. }