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