system_service.proto 3.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. syntax = "proto3";
  2. import "v1/system.proto";
  3. // package声明符,用来防止不同的消息类型有命名冲突
  4. package pb.service;
  5. // 用于生成指定语言go的包名称
  6. option go_package = "property-system-gateway/pb";
  7. // The system service definition.
  8. service System {
  9. //
  10. rpc Login(pb_v1.LoginRequest) returns (pb_v1.LoginReply){}
  11. // 权限变更后重新获取权限
  12. rpc PermissionReget(pb_v1.PermissionRegetRequest) returns (pb_v1.PermissionRegetReply){}
  13. rpc LoginByPhone(pb_v1.LoginByPhoneRequest) returns (pb_v1.LoginByPhoneReply){}
  14. rpc CheckPhone(pb_v1.CheckPhoneRequest) returns (pb_v1.CheckPhoneReply){}
  15. rpc UserAdd(pb_v1.UserAddRequest) returns (pb_v1.UserAddReply){}
  16. rpc UserUpdate(pb_v1.UserUpdateRequest) returns (pb_v1.UserUpdateReply){}
  17. rpc UserDel(pb_v1.UserDelRequest) returns (pb_v1.UserDelReply){}
  18. rpc UserList(pb_v1.UserListRequest) returns (pb_v1.UserListReply){}
  19. rpc UserGardenChange(pb_v1.UserGardenChangeRequest) returns (pb_v1.UserGardenChangeReply){}
  20. rpc GroupAdd(pb_v1.GroupAddRequest) returns (pb_v1.GroupAddReply){}
  21. rpc GroupDel(pb_v1.GroupDelRequest) returns (pb_v1.GroupDelReply){}
  22. rpc GroupList(pb_v1.GroupListRequest) returns (pb_v1.GroupListReply){}
  23. rpc GroupInfo(pb_v1.GroupInfoRequest) returns (pb_v1.GroupInfoReply){}
  24. rpc GroupUpdate(pb_v1.GroupUpdateRequest) returns (pb_v1.GroupUpdateReply){}
  25. rpc SuperGroup(pb_v1.SuperGroupRequest) returns (pb_v1.SuperGroupReply){}
  26. rpc ResetPassword(pb_v1.ResetPasswordRequest) returns (pb_v1.ResetPasswordReply){}
  27. rpc ChangePassword(pb_v1.ChangePasswordRequest) returns (pb_v1.ChangePasswordReply){}
  28. // 公司账户进小区
  29. rpc CompanyEnterGarden(pb_v1.CompanyEnterGardenRequest) returns (pb_v1.CompanyEnterGardenReply){}
  30. rpc GardenPermissionList(pb_v1.GardenPermissionListRequest) returns (pb_v1.GardenPermissionListReply){}
  31. // 部门
  32. rpc DepartmentAdd(pb_v1.DepartmentAddRequest) returns (pb_v1.DepartmentAddReply){}
  33. rpc DepartmentDel(pb_v1.DepartmentDelRequest) returns (pb_v1.DepartmentDelReply){}
  34. rpc DepartmentList(pb_v1.DepartmentListRequest) returns (pb_v1.DepartmentListReply){}
  35. rpc DepartmentUpdate(pb_v1.DepartmentUpdateRequest) returns (pb_v1.DepartmentUpdateReply){}
  36. rpc GardenInfos(pb_v1.GardenInfosRequest) returns (pb_v1.GardenInfosReply){}
  37. rpc GardenList(pb_v1.GardenListRequest) returns (pb_v1.GardenListReply){}
  38. rpc GardenAdd(pb_v1.GardenAddRequest) returns (pb_v1.GardenAddReply){}
  39. rpc GardenUpdate(pb_v1.GardenUpdateRequest) returns (pb_v1.GardenUpdateReply){}
  40. rpc GardenDel(pb_v1.GardenDelRequest) returns (pb_v1.GardenDelReply){}
  41. // 修改小区关键信息提交申请
  42. rpc GardenKeyInfoChange(pb_v1.GardenKeyInfoChangeRequest) returns (pb_v1.GardenKeyInfoChangeReply){}
  43. // 小区关键信息申请列表
  44. rpc GardenKeyInfoChangeList(pb_v1.GardenKeyInfoChangeListRequest) returns (pb_v1.GardenKeyInfoChangeListReply){}
  45. // 对小区关键信息申请进行审批
  46. rpc GardenKeyInfoApprove(pb_v1.GardenKeyInfoApproveRequest) returns (pb_v1.GardenKeyInfoApproveReply){}
  47. // 应用相关
  48. rpc ApplicationOrderAdd(pb_v1.ApplicationOrderAddRequest) returns (pb_v1.ApplicationOrderAddReply){}
  49. rpc GardenApplicationList(pb_v1.GardenApplicationListRequest) returns (pb_v1.GardenApplicationListReply){}
  50. // 短信套餐相关
  51. rpc MsgPackageOrderAdd(pb_v1.MsgPackageOrderAddRequest) returns (pb_v1.MsgPackageOrderAddReply){}
  52. rpc MsgPackageOrderList(pb_v1.MsgPackageOrderListRequest) returns (pb_v1.MsgPackageOrderListReply){}
  53. }