system_service.proto 2.8 KB

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