syntax = "proto3"; import "v1/system.proto"; // package声明符,用来防止不同的消息类型有命名冲突 package pb.service; // 用于生成指定语言go的包名称 option go_package = "property-system/pb"; // The system service definition. service System { rpc GardenInfos(pb_v1.GardenInfosRequest) returns (pb_v1.GardenInfosReply){} rpc GardenList(pb_v1.GardenListRequest) returns (pb_v1.GardenListReply){} rpc GardenIds(pb_v1.GardenIdsRequest) returns (pb_v1.GardenIdsReply){} rpc GardenAdd(pb_v1.GardenAddRequest) returns (pb_v1.GardenAddReply){} rpc GardenUpdate(pb_v1.GardenUpdateRequest) returns (pb_v1.GardenUpdateReply){} rpc GardenDel(pb_v1.GardenDelRequest) returns (pb_v1.GardenDelReply){} rpc GardenChangeCompany(pb_v1.GardenChangeCompanyRequest) returns (pb_v1.GardenChangeCompanyReply){} rpc GardenEnableSet(pb_v1.GardenEnableSetRequest) returns (pb_v1.GardenEnableSetReply){} rpc GardenHouseCountLimit(pb_v1.GardenHouseCountLimitRequest) returns (pb_v1.GardenHouseCountLimitReply){} rpc GardenHouseCountChange(pb_v1.GardenHouseCountChangeRequest) returns (pb_v1.GardenHouseCountChangeReply){} // rpc Login(pb_v1.LoginRequest) returns (pb_v1.LoginReply){} // 权限变更后重新获取权限 rpc PermissionReget(pb_v1.PermissionRegetRequest) returns (pb_v1.PermissionRegetReply){} rpc LoginByPhone(pb_v1.LoginByPhoneRequest) returns (pb_v1.LoginByPhoneReply){} rpc CheckPhone(pb_v1.CheckPhoneRequest) returns (pb_v1.CheckPhoneReply){} rpc ResetPassword(pb_v1.ResetPasswordRequest) returns (pb_v1.ResetPasswordReply){} rpc ChangePassword(pb_v1.ChangePasswordRequest) returns (pb_v1.ChangePasswordReply){} 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 CompanyEnterGarden(pb_v1.CompanyEnterGardenRequest) returns (pb_v1.CompanyEnterGardenReply){} // 权限 rpc GroupAdd(pb_v1.GroupAddRequest) returns (pb_v1.GroupAddReply){} rpc GroupDel(pb_v1.GroupDelRequest) returns (pb_v1.GroupDelReply){} rpc GroupList(pb_v1.GroupListRequest) returns (pb_v1.GroupListReply){} rpc GroupInfo(pb_v1.GroupInfoRequest) returns (pb_v1.GroupInfoReply){} rpc GroupUpdate(pb_v1.GroupUpdateRequest) returns (pb_v1.GroupUpdateReply){} rpc SuperGroup(pb_v1.SuperGroupRequest) returns (pb_v1.SuperGroupReply){} rpc GardenPermissionList(pb_v1.GardenPermissionListRequest) returns (pb_v1.GardenPermissionListReply){} // 部门 rpc DepartmentAdd(pb_v1.DepartmentAddRequest) returns (pb_v1.DepartmentAddReply){} rpc DepartmentDel(pb_v1.DepartmentDelRequest) returns (pb_v1.DepartmentDelReply){} rpc DepartmentList(pb_v1.DepartmentListRequest) returns (pb_v1.DepartmentListReply){} rpc DepartmentUpdate(pb_v1.DepartmentUpdateRequest) returns (pb_v1.DepartmentUpdateReply){} // 修改小区关键信息提交申请 rpc GardenKeyInfoChange(pb_v1.GardenKeyInfoChangeRequest) returns (pb_v1.GardenKeyInfoChangeReply){} // 小区关键信息申请列表 rpc GardenKeyInfoChangeList(pb_v1.GardenKeyInfoChangeListRequest) returns (pb_v1.GardenKeyInfoChangeListReply){} // 对小区关键信息申请进行审批 rpc GardenKeyInfoApprove(pb_v1.GardenKeyInfoApproveRequest) returns (pb_v1.GardenKeyInfoApproveReply){} // 小区审批 rpc GardenApprove(pb_v1.GardenApproveRequest) returns (pb_v1.GardenApproveReply){} // 设置小区支付商户号 rpc GardenSetMch(pb_v1.GardenSetMchRequest) returns (pb_v1.GardenSetMchReply){} // 设置小区支付模式 rpc GardenSetMchPayMode(pb_v1.GardenSetMchPayModeRequest) returns (pb_v1.GardenSetMchPayModeReply){} // 获取公司下的小区支付模式信息 rpc CompanyMchGardenList(pb_v1.CompanyMchGardenListRequest) returns (pb_v1.CompanyMchGardenListReply){} // 应用相关 rpc ApplicationOrderAdd(pb_v1.ApplicationOrderAddRequest) returns (pb_v1.ApplicationOrderAddReply){} rpc ApplicationOrderApprove(pb_v1.ApplicationOrderApproveRequest) returns (pb_v1.ApplicationOrderApproveReply){} rpc GardenApplicationList(pb_v1.GardenApplicationListRequest) returns (pb_v1.GardenApplicationListReply){} rpc ApplicationOrderAmount(pb_v1.ApplicationOrderAmountRequest) returns (pb_v1.ApplicationOrderAmountReply){} // 套餐相关 rpc PackageOrderAdd(pb_v1.PackageOrderAddRequest) returns (pb_v1.PackageOrderAddReply){} rpc PackageOrderApprove(pb_v1.PackageOrderApproveRequest) returns (pb_v1.PackageOrderApproveReply){} rpc CompanyPackageList(pb_v1.CompanyPackageListRequest) returns (pb_v1.CompanyPackageListReply){} rpc PackageOrderAmount(pb_v1.PackageOrderAmountRequest) returns (pb_v1.PackageOrderAmountReply){} rpc GardenRentSellCount(pb_v1.GardenRentSellCountRequest) returns (pb_v1.GardenRentSellCountReply){} // 短信套餐相关 rpc MsgPackageOrderAdd(pb_v1.MsgPackageOrderAddRequest) returns (pb_v1.MsgPackageOrderAddReply){} rpc MsgPackageOrderApprove(pb_v1.MsgPackageOrderApproveRequest) returns (pb_v1.MsgPackageOrderApproveReply){} rpc MsgPackageOrderList(pb_v1.MsgPackageOrderListRequest) returns (pb_v1.MsgPackageOrderListReply){} rpc MsgPackageOrderDecrease(pb_v1.MsgPackageOrderDecreaseRequest) returns (pb_v1.MsgPackageOrderDecreaseReply){} }