system_service.proto 1.5 KB

1234567891011121314151617181920212223242526272829
  1. syntax = "proto3";
  2. import "v1/system.proto";
  3. // package声明符,用来防止不同的消息类型有命名冲突
  4. package pb.service;
  5. // 用于生成指定语言go的包名称
  6. option go_package = "property-garden/pb";
  7. // The system service definition.
  8. service System {
  9. //
  10. rpc Login(pb_v1.LoginRequest) returns (pb_v1.LoginReply){}
  11. rpc UserAdd(pb_v1.UserAddRequest) returns (pb_v1.UserAddReply){}
  12. rpc UserUpdate(pb_v1.UserUpdateRequest) returns (pb_v1.UserUpdateReply){}
  13. rpc UserDel(pb_v1.UserDelRequest) returns (pb_v1.UserDelReply){}
  14. rpc UserList(pb_v1.UserListRequest) returns (pb_v1.UserListReply){}
  15. rpc UserGardenChange(pb_v1.UserGardenChangeRequest) returns (pb_v1.UserGardenChangeReply){}
  16. rpc GroupAdd(pb_v1.GroupAddRequest) returns (pb_v1.GroupAddReply){}
  17. rpc SuperGroup(pb_v1.SuperGroupRequest) returns (pb_v1.SuperGroupReply){}
  18. rpc GardenInfos(pb_v1.GardenInfosRequest) returns (pb_v1.GardenInfosReply){}
  19. rpc GardenHouseCountChange(pb_v1.GardenHouseCountChangeRequest) returns (pb_v1.GardenHouseCountChangeReply){}
  20. rpc GardenHouseCountLimit(pb_v1.GardenHouseCountLimitRequest) returns (pb_v1.GardenHouseCountLimitReply){}
  21. rpc GardenRentSellCount(pb_v1.GardenRentSellCountRequest) returns (pb_v1.GardenRentSellCountReply){}
  22. rpc MsgPackageOrderList(pb_v1.MsgPackageOrderListRequest) returns (pb_v1.MsgPackageOrderListReply){}
  23. rpc MsgPackageOrderDecrease(pb_v1.MsgPackageOrderDecreaseRequest) returns (pb_v1.MsgPackageOrderDecreaseReply){}
  24. }