// Code generated by protoc-gen-go. DO NOT EDIT. // source: system_service.proto // package声明符,用来防止不同的消息类型有命名冲突 package pb import ( context "context" fmt "fmt" proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" math "math" v1 "property-system/pb/v1" ) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf // This is a compile-time assertion to ensure that this generated file // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package func init() { proto.RegisterFile("system_service.proto", fileDescriptor_5d35c01297e407e4) } var fileDescriptor_5d35c01297e407e4 = []byte{ // 1025 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x58, 0xdf, 0x6f, 0x23, 0x35, 0x10, 0xe6, 0x85, 0x03, 0xcc, 0x8f, 0x03, 0x37, 0xfd, 0x91, 0x50, 0xda, 0xa6, 0xbd, 0x7b, 0xa4, 0xa7, 0xc2, 0x03, 0x12, 0x12, 0x12, 0xbd, 0xf4, 0x38, 0x4e, 0xb4, 0xba, 0x2a, 0xd1, 0x49, 0x08, 0x24, 0x4e, 0x9b, 0xac, 0x49, 0x56, 0x4d, 0x76, 0xcd, 0xda, 0x29, 0xca, 0x5f, 0xc5, 0xbf, 0x88, 0xec, 0xb1, 0xbd, 0x9e, 0x59, 0x6f, 0xf2, 0xd8, 0xef, 0xfb, 0xe6, 0xb3, 0x33, 0x33, 0x9e, 0x1d, 0x95, 0xf5, 0xd4, 0x46, 0x69, 0xb1, 0x7a, 0xaf, 0x44, 0xfd, 0x58, 0xcc, 0xc4, 0xa5, 0xac, 0x2b, 0x5d, 0x71, 0x26, 0xa7, 0x97, 0x0e, 0x19, 0x3c, 0x7d, 0xbc, 0x7a, 0x01, 0x22, 0x20, 0xbf, 0xfb, 0x6f, 0xc8, 0x9e, 0x4c, 0x2c, 0xc0, 0x47, 0xec, 0xd3, 0xd7, 0x59, 0x9d, 0x8b, 0xf2, 0x4d, 0xf9, 0x77, 0xa5, 0x78, 0xff, 0x52, 0x4e, 0xdf, 0x3f, 0x5e, 0x5d, 0x46, 0xd8, 0x58, 0xfc, 0xb3, 0x16, 0x4a, 0x0f, 0x0e, 0x53, 0x94, 0x5c, 0x6e, 0xce, 0x3f, 0xe0, 0x3f, 0x33, 0x06, 0xe8, 0x6d, 0xa1, 0x34, 0x3f, 0x42, 0x42, 0x03, 0x79, 0x8b, 0x83, 0x04, 0x03, 0x0e, 0x3f, 0xb1, 0x4f, 0x9c, 0x6f, 0xae, 0x38, 0x39, 0x29, 0x0f, 0x57, 0xd8, 0x6f, 0x13, 0x24, 0xfc, 0x3a, 0xcf, 0x49, 0xf8, 0x75, 0x9e, 0xa7, 0xc3, 0x2d, 0x01, 0xe1, 0xbf, 0xb0, 0xcf, 0x00, 0x7b, 0x27, 0xf3, 0x4c, 0x0b, 0x3e, 0x40, 0x42, 0x00, 0xbd, 0xc9, 0x51, 0x92, 0x23, 0xd7, 0xb8, 0x11, 0x4b, 0x72, 0x8d, 0x1b, 0xb1, 0x4c, 0x5f, 0xc3, 0x12, 0x10, 0xfe, 0x27, 0xdb, 0x03, 0x6c, 0xb4, 0xc8, 0xca, 0xb9, 0x18, 0x55, 0x2b, 0x99, 0x95, 0x1b, 0x3e, 0x44, 0x7a, 0xc4, 0x79, 0xcb, 0xd3, 0x6d, 0x12, 0x30, 0x7f, 0xcb, 0x9e, 0x02, 0xfb, 0xaa, 0xcc, 0xa6, 0x4b, 0x31, 0x11, 0x9a, 0x7f, 0x83, 0xa2, 0x02, 0xee, 0x4d, 0xbf, 0xee, 0xa2, 0xc1, 0x30, 0x63, 0xfb, 0xc0, 0xfc, 0x5a, 0xad, 0x95, 0x18, 0x55, 0xeb, 0x52, 0xdf, 0x16, 0xab, 0x42, 0xf3, 0x0b, 0x14, 0x47, 0x58, 0x6f, 0x3e, 0xdc, 0x2e, 0x82, 0x23, 0x72, 0x76, 0x40, 0x79, 0xf8, 0x6d, 0xfc, 0x59, 0x47, 0x38, 0xd0, 0xfe, 0x90, 0xf3, 0x1d, 0x2a, 0x38, 0xe5, 0x8a, 0x7d, 0x78, 0x5b, 0xcd, 0x8b, 0x92, 0xef, 0x39, 0xb9, 0xfd, 0xcb, 0x7b, 0x7c, 0x85, 0xc1, 0x90, 0xcc, 0x7b, 0x51, 0xaf, 0x0a, 0xa5, 0x8a, 0xaa, 0x1c, 0x8b, 0x79, 0x94, 0x4c, 0x82, 0xd3, 0x64, 0xb6, 0xe8, 0xd0, 0x81, 0xf6, 0x80, 0x97, 0x9b, 0xfb, 0x45, 0x55, 0x36, 0x1d, 0x18, 0x83, 0xb4, 0x03, 0x31, 0x17, 0x5e, 0xe2, 0x68, 0x21, 0x66, 0x0f, 0xe0, 0xe2, 0x95, 0x0d, 0x44, 0x5f, 0x62, 0xcc, 0x80, 0xc3, 0x1b, 0xf6, 0xf9, 0x58, 0x28, 0xa1, 0xef, 0x33, 0xa5, 0xfe, 0xad, 0xea, 0x9c, 0xfb, 0x9b, 0x23, 0xd4, 0xfb, 0xf4, 0xd3, 0x24, 0x58, 0xdd, 0xb2, 0x2f, 0x20, 0xd3, 0xc1, 0xeb, 0x38, 0x1c, 0x1b, 0xc3, 0xde, 0x6c, 0xd0, 0xc1, 0x82, 0xdb, 0x0f, 0xec, 0xa3, 0x77, 0x4a, 0xd4, 0xe6, 0x85, 0xfb, 0x17, 0xe4, 0xfe, 0xf6, 0xf1, 0x7b, 0x14, 0x0e, 0x39, 0x31, 0x88, 0x7b, 0xdb, 0x47, 0x91, 0x08, 0xbf, 0xec, 0x83, 0x04, 0x83, 0x8e, 0x36, 0xaf, 0x3a, 0x3e, 0x3a, 0x7a, 0xd3, 0x7b, 0x14, 0x86, 0xc0, 0x1f, 0xd9, 0xc7, 0x06, 0xb1, 0x63, 0x31, 0xb6, 0x8f, 0x87, 0x62, 0xaf, 0x85, 0x43, 0xec, 0x98, 0x7d, 0x69, 0xa0, 0xf8, 0x49, 0xf3, 0x93, 0x48, 0x1b, 0x13, 0xde, 0xeb, 0xb8, 0x93, 0x07, 0xcf, 0xdf, 0x19, 0x77, 0x63, 0xe1, 0x55, 0xa9, 0xbd, 0x84, 0x9f, 0xf9, 0xbc, 0xb7, 0x28, 0xef, 0x7b, 0xb2, 0x45, 0x11, 0x7e, 0xe9, 0xeb, 0xba, 0x5a, 0x4b, 0x53, 0x9e, 0x30, 0xe6, 0x1d, 0x40, 0x7f, 0x69, 0x83, 0xe3, 0x58, 0x93, 0x5f, 0x14, 0x1b, 0x25, 0xb8, 0xd7, 0xc2, 0x9b, 0x91, 0x6b, 0x20, 0x9b, 0xe2, 0xc3, 0x58, 0x14, 0xe7, 0x78, 0xbf, 0x4d, 0xe0, 0x70, 0xf3, 0x39, 0xc3, 0xe1, 0x06, 0x49, 0x86, 0x03, 0x01, 0xe1, 0xe6, 0xeb, 0x69, 0x30, 0xd7, 0x5b, 0xfd, 0x58, 0x87, 0x9b, 0xeb, 0x30, 0x45, 0x85, 0xfe, 0x9c, 0xac, 0xa5, 0xa8, 0x2d, 0x15, 0xfa, 0xb3, 0x81, 0x68, 0x7f, 0xc6, 0x0c, 0x38, 0xfc, 0xc5, 0x7a, 0x50, 0x8d, 0x66, 0xba, 0xd8, 0x7c, 0xe0, 0xf9, 0x87, 0x49, 0xef, 0x7a, 0xb6, 0x55, 0x13, 0x66, 0xc2, 0x8d, 0x90, 0x59, 0xad, 0x57, 0xa2, 0xd4, 0xa6, 0xc2, 0x7e, 0x26, 0x20, 0x94, 0xce, 0x04, 0x42, 0x26, 0xac, 0x4c, 0xc1, 0xdb, 0x56, 0x51, 0xd5, 0xfb, 0x69, 0x32, 0x8c, 0x97, 0x06, 0xb7, 0xbf, 0xf7, 0xb8, 0x25, 0x8f, 0x7f, 0xe9, 0xa0, 0x83, 0x0d, 0xcf, 0xad, 0x21, 0x5c, 0x3d, 0x4f, 0x5a, 0x11, 0xb8, 0xa8, 0xc7, 0x9d, 0x3c, 0xf9, 0xa0, 0xff, 0x26, 0x36, 0xa6, 0x6d, 0xdc, 0x2b, 0xc6, 0xdf, 0x3e, 0xc4, 0xa5, 0x3f, 0xe8, 0x44, 0x02, 0xe6, 0x73, 0x76, 0x98, 0x60, 0x6d, 0x1e, 0x9e, 0x77, 0x47, 0xc7, 0x09, 0xb9, 0xd8, 0x25, 0x23, 0xdd, 0xe5, 0x14, 0xd7, 0x52, 0xd6, 0xd5, 0xa3, 0x20, 0xdd, 0x85, 0xc9, 0x74, 0x77, 0x51, 0x4d, 0x68, 0x09, 0xb7, 0x91, 0x39, 0x63, 0xbc, 0x78, 0x10, 0xc7, 0x7e, 0x9a, 0x24, 0x8b, 0xdc, 0x44, 0xe8, 0xbb, 0xd9, 0x82, 0x2c, 0x72, 0x00, 0xa6, 0x17, 0x39, 0xcf, 0x91, 0xc2, 0x01, 0x7c, 0x9f, 0x6d, 0xee, 0xaa, 0x9c, 0x16, 0x0e, 0x71, 0xe9, 0xc2, 0x11, 0x49, 0xc8, 0xa7, 0x9b, 0xa3, 0x77, 0xb3, 0x45, 0xb4, 0x37, 0x9f, 0xe3, 0x21, 0x8b, 0x48, 0x9a, 0xcf, 0xb4, 0x26, 0x5c, 0xfe, 0x5a, 0xca, 0x65, 0x31, 0xcb, 0x74, 0x51, 0x95, 0x6f, 0xeb, 0x1c, 0x3e, 0x9a, 0xfe, 0xf2, 0x09, 0x8e, 0x5e, 0x3e, 0x29, 0x09, 0x5d, 0xd7, 0x62, 0x5d, 0xd9, 0x9e, 0x77, 0x45, 0xe3, 0x02, 0x5e, 0xec, 0x92, 0x91, 0xf5, 0x32, 0xd2, 0xd9, 0x34, 0x5d, 0xd0, 0x06, 0x88, 0xd9, 0xf4, 0x7a, 0xd9, 0x12, 0x85, 0xf5, 0xb2, 0x75, 0x89, 0x95, 0xd9, 0x0f, 0xc3, 0x7a, 0x99, 0xa6, 0xe9, 0x7a, 0xd9, 0xa5, 0x6a, 0x76, 0xc5, 0x6c, 0xf6, 0x90, 0xcd, 0x45, 0x28, 0x45, 0xd8, 0x15, 0x31, 0xde, 0xda, 0x15, 0x29, 0x1d, 0xea, 0x8b, 0x18, 0x97, 0xfe, 0x61, 0x2a, 0x0a, 0xa7, 0xfe, 0x74, 0x9b, 0x84, 0x6e, 0x08, 0x4e, 0x64, 0x73, 0x4e, 0xda, 0x2e, 0xa2, 0x3a, 0x36, 0x04, 0xa4, 0x08, 0xce, 0xe8, 0x5c, 0xc8, 0xf4, 0x59, 0xea, 0x4a, 0x28, 0xcb, 0x27, 0x5b, 0x14, 0xe4, 0xb5, 0x8e, 0x45, 0xa9, 0x27, 0x62, 0xb9, 0xb4, 0x4b, 0x3e, 0x79, 0xad, 0x88, 0x4b, 0xbf, 0x56, 0x22, 0x09, 0xd7, 0xbe, 0x53, 0x73, 0x5a, 0x41, 0x7f, 0xed, 0x36, 0x45, 0xaf, 0x9d, 0x52, 0x84, 0xf6, 0xa3, 0xa4, 0x2b, 0xe5, 0xb3, 0x8e, 0x58, 0x5c, 0xcd, 0xf3, 0x1d, 0xaa, 0x90, 0x1c, 0x22, 0xb0, 0x15, 0x1d, 0xa6, 0x83, 0xe3, 0x92, 0x9e, 0x6e, 0x93, 0x84, 0x69, 0x40, 0xd8, 0x1b, 0x31, 0xab, 0x45, 0xa6, 0x9a, 0x69, 0xd0, 0xc1, 0xd3, 0x69, 0xd0, 0x29, 0xb3, 0x07, 0xbd, 0xec, 0xfd, 0xc1, 0x65, 0x5d, 0x49, 0x51, 0xeb, 0xcd, 0xb7, 0xf0, 0xaf, 0x8c, 0x17, 0x72, 0x3a, 0x7d, 0x62, 0xff, 0x9d, 0xf1, 0xfd, 0xff, 0x01, 0x00, 0x00, 0xff, 0xff, 0xe0, 0x7d, 0x67, 0xf1, 0x03, 0x11, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ grpc.ClientConnInterface // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. const _ = grpc.SupportPackageIsVersion6 // SystemClient is the client API for System service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type SystemClient interface { GardenInfos(ctx context.Context, in *v1.GardenInfosRequest, opts ...grpc.CallOption) (*v1.GardenInfosReply, error) GardenList(ctx context.Context, in *v1.GardenListRequest, opts ...grpc.CallOption) (*v1.GardenListReply, error) GardenIds(ctx context.Context, in *v1.GardenIdsRequest, opts ...grpc.CallOption) (*v1.GardenIdsReply, error) GardenAdd(ctx context.Context, in *v1.GardenAddRequest, opts ...grpc.CallOption) (*v1.GardenAddReply, error) GardenUpdate(ctx context.Context, in *v1.GardenUpdateRequest, opts ...grpc.CallOption) (*v1.GardenUpdateReply, error) GardenDel(ctx context.Context, in *v1.GardenDelRequest, opts ...grpc.CallOption) (*v1.GardenDelReply, error) GardenChangeCompany(ctx context.Context, in *v1.GardenChangeCompanyRequest, opts ...grpc.CallOption) (*v1.GardenChangeCompanyReply, error) GardenEnableSet(ctx context.Context, in *v1.GardenEnableSetRequest, opts ...grpc.CallOption) (*v1.GardenEnableSetReply, error) GardenHouseCountLimit(ctx context.Context, in *v1.GardenHouseCountLimitRequest, opts ...grpc.CallOption) (*v1.GardenHouseCountLimitReply, error) GardenHouseCountChange(ctx context.Context, in *v1.GardenHouseCountChangeRequest, opts ...grpc.CallOption) (*v1.GardenHouseCountChangeReply, error) // Login(ctx context.Context, in *v1.LoginRequest, opts ...grpc.CallOption) (*v1.LoginReply, error) // 权限变更后重新获取权限 PermissionReget(ctx context.Context, in *v1.PermissionRegetRequest, opts ...grpc.CallOption) (*v1.PermissionRegetReply, error) LoginByPhone(ctx context.Context, in *v1.LoginByPhoneRequest, opts ...grpc.CallOption) (*v1.LoginByPhoneReply, error) CheckPhone(ctx context.Context, in *v1.CheckPhoneRequest, opts ...grpc.CallOption) (*v1.CheckPhoneReply, error) ResetPassword(ctx context.Context, in *v1.ResetPasswordRequest, opts ...grpc.CallOption) (*v1.ResetPasswordReply, error) ChangePassword(ctx context.Context, in *v1.ChangePasswordRequest, opts ...grpc.CallOption) (*v1.ChangePasswordReply, error) UserAdd(ctx context.Context, in *v1.UserAddRequest, opts ...grpc.CallOption) (*v1.UserAddReply, error) UserUpdate(ctx context.Context, in *v1.UserUpdateRequest, opts ...grpc.CallOption) (*v1.UserUpdateReply, error) UserDel(ctx context.Context, in *v1.UserDelRequest, opts ...grpc.CallOption) (*v1.UserDelReply, error) UserList(ctx context.Context, in *v1.UserListRequest, opts ...grpc.CallOption) (*v1.UserListReply, error) UserGardenChange(ctx context.Context, in *v1.UserGardenChangeRequest, opts ...grpc.CallOption) (*v1.UserGardenChangeReply, error) // 公司账户进小区 CompanyEnterGarden(ctx context.Context, in *v1.CompanyEnterGardenRequest, opts ...grpc.CallOption) (*v1.CompanyEnterGardenReply, error) // 权限 GroupAdd(ctx context.Context, in *v1.GroupAddRequest, opts ...grpc.CallOption) (*v1.GroupAddReply, error) GroupDel(ctx context.Context, in *v1.GroupDelRequest, opts ...grpc.CallOption) (*v1.GroupDelReply, error) GroupList(ctx context.Context, in *v1.GroupListRequest, opts ...grpc.CallOption) (*v1.GroupListReply, error) GroupInfo(ctx context.Context, in *v1.GroupInfoRequest, opts ...grpc.CallOption) (*v1.GroupInfoReply, error) GroupUpdate(ctx context.Context, in *v1.GroupUpdateRequest, opts ...grpc.CallOption) (*v1.GroupUpdateReply, error) SuperGroup(ctx context.Context, in *v1.SuperGroupRequest, opts ...grpc.CallOption) (*v1.SuperGroupReply, error) GardenPermissionList(ctx context.Context, in *v1.GardenPermissionListRequest, opts ...grpc.CallOption) (*v1.GardenPermissionListReply, error) // 部门 DepartmentAdd(ctx context.Context, in *v1.DepartmentAddRequest, opts ...grpc.CallOption) (*v1.DepartmentAddReply, error) DepartmentDel(ctx context.Context, in *v1.DepartmentDelRequest, opts ...grpc.CallOption) (*v1.DepartmentDelReply, error) DepartmentList(ctx context.Context, in *v1.DepartmentListRequest, opts ...grpc.CallOption) (*v1.DepartmentListReply, error) DepartmentUpdate(ctx context.Context, in *v1.DepartmentUpdateRequest, opts ...grpc.CallOption) (*v1.DepartmentUpdateReply, error) // 修改小区关键信息提交申请 GardenKeyInfoChange(ctx context.Context, in *v1.GardenKeyInfoChangeRequest, opts ...grpc.CallOption) (*v1.GardenKeyInfoChangeReply, error) // 小区关键信息申请列表 GardenKeyInfoChangeList(ctx context.Context, in *v1.GardenKeyInfoChangeListRequest, opts ...grpc.CallOption) (*v1.GardenKeyInfoChangeListReply, error) // 对小区关键信息申请进行审批 GardenKeyInfoApprove(ctx context.Context, in *v1.GardenKeyInfoApproveRequest, opts ...grpc.CallOption) (*v1.GardenKeyInfoApproveReply, error) // 小区审批 GardenApprove(ctx context.Context, in *v1.GardenApproveRequest, opts ...grpc.CallOption) (*v1.GardenApproveReply, error) // 设置小区支付商户号 GardenSetMch(ctx context.Context, in *v1.GardenSetMchRequest, opts ...grpc.CallOption) (*v1.GardenSetMchReply, error) // 设置小区支付模式 GardenSetMchPayMode(ctx context.Context, in *v1.GardenSetMchPayModeRequest, opts ...grpc.CallOption) (*v1.GardenSetMchPayModeReply, error) // 获取公司下的小区支付模式信息 CompanyMchGardenList(ctx context.Context, in *v1.CompanyMchGardenListRequest, opts ...grpc.CallOption) (*v1.CompanyMchGardenListReply, error) // 应用相关 ApplicationOrderAdd(ctx context.Context, in *v1.ApplicationOrderAddRequest, opts ...grpc.CallOption) (*v1.ApplicationOrderAddReply, error) ApplicationOrderApprove(ctx context.Context, in *v1.ApplicationOrderApproveRequest, opts ...grpc.CallOption) (*v1.ApplicationOrderApproveReply, error) GardenApplicationList(ctx context.Context, in *v1.GardenApplicationListRequest, opts ...grpc.CallOption) (*v1.GardenApplicationListReply, error) ApplicationOrderAmount(ctx context.Context, in *v1.ApplicationOrderAmountRequest, opts ...grpc.CallOption) (*v1.ApplicationOrderAmountReply, error) // 套餐相关 PackageOrderAdd(ctx context.Context, in *v1.PackageOrderAddRequest, opts ...grpc.CallOption) (*v1.PackageOrderAddReply, error) PackageOrderApprove(ctx context.Context, in *v1.PackageOrderApproveRequest, opts ...grpc.CallOption) (*v1.PackageOrderApproveReply, error) CompanyPackageList(ctx context.Context, in *v1.CompanyPackageListRequest, opts ...grpc.CallOption) (*v1.CompanyPackageListReply, error) PackageOrderAmount(ctx context.Context, in *v1.PackageOrderAmountRequest, opts ...grpc.CallOption) (*v1.PackageOrderAmountReply, error) GardenRentSellCount(ctx context.Context, in *v1.GardenRentSellCountRequest, opts ...grpc.CallOption) (*v1.GardenRentSellCountReply, error) // 短信套餐相关 MsgPackageOrderAdd(ctx context.Context, in *v1.MsgPackageOrderAddRequest, opts ...grpc.CallOption) (*v1.MsgPackageOrderAddReply, error) MsgPackageOrderApprove(ctx context.Context, in *v1.MsgPackageOrderApproveRequest, opts ...grpc.CallOption) (*v1.MsgPackageOrderApproveReply, error) MsgPackageOrderList(ctx context.Context, in *v1.MsgPackageOrderListRequest, opts ...grpc.CallOption) (*v1.MsgPackageOrderListReply, error) MsgPackageOrderDecrease(ctx context.Context, in *v1.MsgPackageOrderDecreaseRequest, opts ...grpc.CallOption) (*v1.MsgPackageOrderDecreaseReply, error) } type systemClient struct { cc grpc.ClientConnInterface } func NewSystemClient(cc grpc.ClientConnInterface) SystemClient { return &systemClient{cc} } func (c *systemClient) GardenInfos(ctx context.Context, in *v1.GardenInfosRequest, opts ...grpc.CallOption) (*v1.GardenInfosReply, error) { out := new(v1.GardenInfosReply) err := c.cc.Invoke(ctx, "/pb.service.System/GardenInfos", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *systemClient) GardenList(ctx context.Context, in *v1.GardenListRequest, opts ...grpc.CallOption) (*v1.GardenListReply, error) { out := new(v1.GardenListReply) err := c.cc.Invoke(ctx, "/pb.service.System/GardenList", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *systemClient) GardenIds(ctx context.Context, in *v1.GardenIdsRequest, opts ...grpc.CallOption) (*v1.GardenIdsReply, error) { out := new(v1.GardenIdsReply) err := c.cc.Invoke(ctx, "/pb.service.System/GardenIds", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *systemClient) GardenAdd(ctx context.Context, in *v1.GardenAddRequest, opts ...grpc.CallOption) (*v1.GardenAddReply, error) { out := new(v1.GardenAddReply) err := c.cc.Invoke(ctx, "/pb.service.System/GardenAdd", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *systemClient) GardenUpdate(ctx context.Context, in *v1.GardenUpdateRequest, opts ...grpc.CallOption) (*v1.GardenUpdateReply, error) { out := new(v1.GardenUpdateReply) err := c.cc.Invoke(ctx, "/pb.service.System/GardenUpdate", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *systemClient) GardenDel(ctx context.Context, in *v1.GardenDelRequest, opts ...grpc.CallOption) (*v1.GardenDelReply, error) { out := new(v1.GardenDelReply) err := c.cc.Invoke(ctx, "/pb.service.System/GardenDel", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *systemClient) GardenChangeCompany(ctx context.Context, in *v1.GardenChangeCompanyRequest, opts ...grpc.CallOption) (*v1.GardenChangeCompanyReply, error) { out := new(v1.GardenChangeCompanyReply) err := c.cc.Invoke(ctx, "/pb.service.System/GardenChangeCompany", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *systemClient) GardenEnableSet(ctx context.Context, in *v1.GardenEnableSetRequest, opts ...grpc.CallOption) (*v1.GardenEnableSetReply, error) { out := new(v1.GardenEnableSetReply) err := c.cc.Invoke(ctx, "/pb.service.System/GardenEnableSet", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *systemClient) GardenHouseCountLimit(ctx context.Context, in *v1.GardenHouseCountLimitRequest, opts ...grpc.CallOption) (*v1.GardenHouseCountLimitReply, error) { out := new(v1.GardenHouseCountLimitReply) err := c.cc.Invoke(ctx, "/pb.service.System/GardenHouseCountLimit", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *systemClient) GardenHouseCountChange(ctx context.Context, in *v1.GardenHouseCountChangeRequest, opts ...grpc.CallOption) (*v1.GardenHouseCountChangeReply, error) { out := new(v1.GardenHouseCountChangeReply) err := c.cc.Invoke(ctx, "/pb.service.System/GardenHouseCountChange", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *systemClient) Login(ctx context.Context, in *v1.LoginRequest, opts ...grpc.CallOption) (*v1.LoginReply, error) { out := new(v1.LoginReply) err := c.cc.Invoke(ctx, "/pb.service.System/Login", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *systemClient) PermissionReget(ctx context.Context, in *v1.PermissionRegetRequest, opts ...grpc.CallOption) (*v1.PermissionRegetReply, error) { out := new(v1.PermissionRegetReply) err := c.cc.Invoke(ctx, "/pb.service.System/PermissionReget", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *systemClient) LoginByPhone(ctx context.Context, in *v1.LoginByPhoneRequest, opts ...grpc.CallOption) (*v1.LoginByPhoneReply, error) { out := new(v1.LoginByPhoneReply) err := c.cc.Invoke(ctx, "/pb.service.System/LoginByPhone", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *systemClient) CheckPhone(ctx context.Context, in *v1.CheckPhoneRequest, opts ...grpc.CallOption) (*v1.CheckPhoneReply, error) { out := new(v1.CheckPhoneReply) err := c.cc.Invoke(ctx, "/pb.service.System/CheckPhone", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *systemClient) ResetPassword(ctx context.Context, in *v1.ResetPasswordRequest, opts ...grpc.CallOption) (*v1.ResetPasswordReply, error) { out := new(v1.ResetPasswordReply) err := c.cc.Invoke(ctx, "/pb.service.System/ResetPassword", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *systemClient) ChangePassword(ctx context.Context, in *v1.ChangePasswordRequest, opts ...grpc.CallOption) (*v1.ChangePasswordReply, error) { out := new(v1.ChangePasswordReply) err := c.cc.Invoke(ctx, "/pb.service.System/ChangePassword", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *systemClient) UserAdd(ctx context.Context, in *v1.UserAddRequest, opts ...grpc.CallOption) (*v1.UserAddReply, error) { out := new(v1.UserAddReply) err := c.cc.Invoke(ctx, "/pb.service.System/UserAdd", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *systemClient) UserUpdate(ctx context.Context, in *v1.UserUpdateRequest, opts ...grpc.CallOption) (*v1.UserUpdateReply, error) { out := new(v1.UserUpdateReply) err := c.cc.Invoke(ctx, "/pb.service.System/UserUpdate", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *systemClient) UserDel(ctx context.Context, in *v1.UserDelRequest, opts ...grpc.CallOption) (*v1.UserDelReply, error) { out := new(v1.UserDelReply) err := c.cc.Invoke(ctx, "/pb.service.System/UserDel", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *systemClient) UserList(ctx context.Context, in *v1.UserListRequest, opts ...grpc.CallOption) (*v1.UserListReply, error) { out := new(v1.UserListReply) err := c.cc.Invoke(ctx, "/pb.service.System/UserList", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *systemClient) UserGardenChange(ctx context.Context, in *v1.UserGardenChangeRequest, opts ...grpc.CallOption) (*v1.UserGardenChangeReply, error) { out := new(v1.UserGardenChangeReply) err := c.cc.Invoke(ctx, "/pb.service.System/UserGardenChange", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *systemClient) CompanyEnterGarden(ctx context.Context, in *v1.CompanyEnterGardenRequest, opts ...grpc.CallOption) (*v1.CompanyEnterGardenReply, error) { out := new(v1.CompanyEnterGardenReply) err := c.cc.Invoke(ctx, "/pb.service.System/CompanyEnterGarden", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *systemClient) GroupAdd(ctx context.Context, in *v1.GroupAddRequest, opts ...grpc.CallOption) (*v1.GroupAddReply, error) { out := new(v1.GroupAddReply) err := c.cc.Invoke(ctx, "/pb.service.System/GroupAdd", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *systemClient) GroupDel(ctx context.Context, in *v1.GroupDelRequest, opts ...grpc.CallOption) (*v1.GroupDelReply, error) { out := new(v1.GroupDelReply) err := c.cc.Invoke(ctx, "/pb.service.System/GroupDel", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *systemClient) GroupList(ctx context.Context, in *v1.GroupListRequest, opts ...grpc.CallOption) (*v1.GroupListReply, error) { out := new(v1.GroupListReply) err := c.cc.Invoke(ctx, "/pb.service.System/GroupList", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *systemClient) GroupInfo(ctx context.Context, in *v1.GroupInfoRequest, opts ...grpc.CallOption) (*v1.GroupInfoReply, error) { out := new(v1.GroupInfoReply) err := c.cc.Invoke(ctx, "/pb.service.System/GroupInfo", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *systemClient) GroupUpdate(ctx context.Context, in *v1.GroupUpdateRequest, opts ...grpc.CallOption) (*v1.GroupUpdateReply, error) { out := new(v1.GroupUpdateReply) err := c.cc.Invoke(ctx, "/pb.service.System/GroupUpdate", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *systemClient) SuperGroup(ctx context.Context, in *v1.SuperGroupRequest, opts ...grpc.CallOption) (*v1.SuperGroupReply, error) { out := new(v1.SuperGroupReply) err := c.cc.Invoke(ctx, "/pb.service.System/SuperGroup", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *systemClient) GardenPermissionList(ctx context.Context, in *v1.GardenPermissionListRequest, opts ...grpc.CallOption) (*v1.GardenPermissionListReply, error) { out := new(v1.GardenPermissionListReply) err := c.cc.Invoke(ctx, "/pb.service.System/GardenPermissionList", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *systemClient) DepartmentAdd(ctx context.Context, in *v1.DepartmentAddRequest, opts ...grpc.CallOption) (*v1.DepartmentAddReply, error) { out := new(v1.DepartmentAddReply) err := c.cc.Invoke(ctx, "/pb.service.System/DepartmentAdd", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *systemClient) DepartmentDel(ctx context.Context, in *v1.DepartmentDelRequest, opts ...grpc.CallOption) (*v1.DepartmentDelReply, error) { out := new(v1.DepartmentDelReply) err := c.cc.Invoke(ctx, "/pb.service.System/DepartmentDel", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *systemClient) DepartmentList(ctx context.Context, in *v1.DepartmentListRequest, opts ...grpc.CallOption) (*v1.DepartmentListReply, error) { out := new(v1.DepartmentListReply) err := c.cc.Invoke(ctx, "/pb.service.System/DepartmentList", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *systemClient) DepartmentUpdate(ctx context.Context, in *v1.DepartmentUpdateRequest, opts ...grpc.CallOption) (*v1.DepartmentUpdateReply, error) { out := new(v1.DepartmentUpdateReply) err := c.cc.Invoke(ctx, "/pb.service.System/DepartmentUpdate", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *systemClient) GardenKeyInfoChange(ctx context.Context, in *v1.GardenKeyInfoChangeRequest, opts ...grpc.CallOption) (*v1.GardenKeyInfoChangeReply, error) { out := new(v1.GardenKeyInfoChangeReply) err := c.cc.Invoke(ctx, "/pb.service.System/GardenKeyInfoChange", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *systemClient) GardenKeyInfoChangeList(ctx context.Context, in *v1.GardenKeyInfoChangeListRequest, opts ...grpc.CallOption) (*v1.GardenKeyInfoChangeListReply, error) { out := new(v1.GardenKeyInfoChangeListReply) err := c.cc.Invoke(ctx, "/pb.service.System/GardenKeyInfoChangeList", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *systemClient) GardenKeyInfoApprove(ctx context.Context, in *v1.GardenKeyInfoApproveRequest, opts ...grpc.CallOption) (*v1.GardenKeyInfoApproveReply, error) { out := new(v1.GardenKeyInfoApproveReply) err := c.cc.Invoke(ctx, "/pb.service.System/GardenKeyInfoApprove", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *systemClient) GardenApprove(ctx context.Context, in *v1.GardenApproveRequest, opts ...grpc.CallOption) (*v1.GardenApproveReply, error) { out := new(v1.GardenApproveReply) err := c.cc.Invoke(ctx, "/pb.service.System/GardenApprove", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *systemClient) GardenSetMch(ctx context.Context, in *v1.GardenSetMchRequest, opts ...grpc.CallOption) (*v1.GardenSetMchReply, error) { out := new(v1.GardenSetMchReply) err := c.cc.Invoke(ctx, "/pb.service.System/GardenSetMch", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *systemClient) GardenSetMchPayMode(ctx context.Context, in *v1.GardenSetMchPayModeRequest, opts ...grpc.CallOption) (*v1.GardenSetMchPayModeReply, error) { out := new(v1.GardenSetMchPayModeReply) err := c.cc.Invoke(ctx, "/pb.service.System/GardenSetMchPayMode", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *systemClient) CompanyMchGardenList(ctx context.Context, in *v1.CompanyMchGardenListRequest, opts ...grpc.CallOption) (*v1.CompanyMchGardenListReply, error) { out := new(v1.CompanyMchGardenListReply) err := c.cc.Invoke(ctx, "/pb.service.System/CompanyMchGardenList", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *systemClient) ApplicationOrderAdd(ctx context.Context, in *v1.ApplicationOrderAddRequest, opts ...grpc.CallOption) (*v1.ApplicationOrderAddReply, error) { out := new(v1.ApplicationOrderAddReply) err := c.cc.Invoke(ctx, "/pb.service.System/ApplicationOrderAdd", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *systemClient) ApplicationOrderApprove(ctx context.Context, in *v1.ApplicationOrderApproveRequest, opts ...grpc.CallOption) (*v1.ApplicationOrderApproveReply, error) { out := new(v1.ApplicationOrderApproveReply) err := c.cc.Invoke(ctx, "/pb.service.System/ApplicationOrderApprove", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *systemClient) GardenApplicationList(ctx context.Context, in *v1.GardenApplicationListRequest, opts ...grpc.CallOption) (*v1.GardenApplicationListReply, error) { out := new(v1.GardenApplicationListReply) err := c.cc.Invoke(ctx, "/pb.service.System/GardenApplicationList", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *systemClient) ApplicationOrderAmount(ctx context.Context, in *v1.ApplicationOrderAmountRequest, opts ...grpc.CallOption) (*v1.ApplicationOrderAmountReply, error) { out := new(v1.ApplicationOrderAmountReply) err := c.cc.Invoke(ctx, "/pb.service.System/ApplicationOrderAmount", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *systemClient) PackageOrderAdd(ctx context.Context, in *v1.PackageOrderAddRequest, opts ...grpc.CallOption) (*v1.PackageOrderAddReply, error) { out := new(v1.PackageOrderAddReply) err := c.cc.Invoke(ctx, "/pb.service.System/PackageOrderAdd", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *systemClient) PackageOrderApprove(ctx context.Context, in *v1.PackageOrderApproveRequest, opts ...grpc.CallOption) (*v1.PackageOrderApproveReply, error) { out := new(v1.PackageOrderApproveReply) err := c.cc.Invoke(ctx, "/pb.service.System/PackageOrderApprove", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *systemClient) CompanyPackageList(ctx context.Context, in *v1.CompanyPackageListRequest, opts ...grpc.CallOption) (*v1.CompanyPackageListReply, error) { out := new(v1.CompanyPackageListReply) err := c.cc.Invoke(ctx, "/pb.service.System/CompanyPackageList", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *systemClient) PackageOrderAmount(ctx context.Context, in *v1.PackageOrderAmountRequest, opts ...grpc.CallOption) (*v1.PackageOrderAmountReply, error) { out := new(v1.PackageOrderAmountReply) err := c.cc.Invoke(ctx, "/pb.service.System/PackageOrderAmount", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *systemClient) GardenRentSellCount(ctx context.Context, in *v1.GardenRentSellCountRequest, opts ...grpc.CallOption) (*v1.GardenRentSellCountReply, error) { out := new(v1.GardenRentSellCountReply) err := c.cc.Invoke(ctx, "/pb.service.System/GardenRentSellCount", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *systemClient) MsgPackageOrderAdd(ctx context.Context, in *v1.MsgPackageOrderAddRequest, opts ...grpc.CallOption) (*v1.MsgPackageOrderAddReply, error) { out := new(v1.MsgPackageOrderAddReply) err := c.cc.Invoke(ctx, "/pb.service.System/MsgPackageOrderAdd", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *systemClient) MsgPackageOrderApprove(ctx context.Context, in *v1.MsgPackageOrderApproveRequest, opts ...grpc.CallOption) (*v1.MsgPackageOrderApproveReply, error) { out := new(v1.MsgPackageOrderApproveReply) err := c.cc.Invoke(ctx, "/pb.service.System/MsgPackageOrderApprove", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *systemClient) MsgPackageOrderList(ctx context.Context, in *v1.MsgPackageOrderListRequest, opts ...grpc.CallOption) (*v1.MsgPackageOrderListReply, error) { out := new(v1.MsgPackageOrderListReply) err := c.cc.Invoke(ctx, "/pb.service.System/MsgPackageOrderList", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *systemClient) MsgPackageOrderDecrease(ctx context.Context, in *v1.MsgPackageOrderDecreaseRequest, opts ...grpc.CallOption) (*v1.MsgPackageOrderDecreaseReply, error) { out := new(v1.MsgPackageOrderDecreaseReply) err := c.cc.Invoke(ctx, "/pb.service.System/MsgPackageOrderDecrease", in, out, opts...) if err != nil { return nil, err } return out, nil } // SystemServer is the server API for System service. type SystemServer interface { GardenInfos(context.Context, *v1.GardenInfosRequest) (*v1.GardenInfosReply, error) GardenList(context.Context, *v1.GardenListRequest) (*v1.GardenListReply, error) GardenIds(context.Context, *v1.GardenIdsRequest) (*v1.GardenIdsReply, error) GardenAdd(context.Context, *v1.GardenAddRequest) (*v1.GardenAddReply, error) GardenUpdate(context.Context, *v1.GardenUpdateRequest) (*v1.GardenUpdateReply, error) GardenDel(context.Context, *v1.GardenDelRequest) (*v1.GardenDelReply, error) GardenChangeCompany(context.Context, *v1.GardenChangeCompanyRequest) (*v1.GardenChangeCompanyReply, error) GardenEnableSet(context.Context, *v1.GardenEnableSetRequest) (*v1.GardenEnableSetReply, error) GardenHouseCountLimit(context.Context, *v1.GardenHouseCountLimitRequest) (*v1.GardenHouseCountLimitReply, error) GardenHouseCountChange(context.Context, *v1.GardenHouseCountChangeRequest) (*v1.GardenHouseCountChangeReply, error) // Login(context.Context, *v1.LoginRequest) (*v1.LoginReply, error) // 权限变更后重新获取权限 PermissionReget(context.Context, *v1.PermissionRegetRequest) (*v1.PermissionRegetReply, error) LoginByPhone(context.Context, *v1.LoginByPhoneRequest) (*v1.LoginByPhoneReply, error) CheckPhone(context.Context, *v1.CheckPhoneRequest) (*v1.CheckPhoneReply, error) ResetPassword(context.Context, *v1.ResetPasswordRequest) (*v1.ResetPasswordReply, error) ChangePassword(context.Context, *v1.ChangePasswordRequest) (*v1.ChangePasswordReply, error) UserAdd(context.Context, *v1.UserAddRequest) (*v1.UserAddReply, error) UserUpdate(context.Context, *v1.UserUpdateRequest) (*v1.UserUpdateReply, error) UserDel(context.Context, *v1.UserDelRequest) (*v1.UserDelReply, error) UserList(context.Context, *v1.UserListRequest) (*v1.UserListReply, error) UserGardenChange(context.Context, *v1.UserGardenChangeRequest) (*v1.UserGardenChangeReply, error) // 公司账户进小区 CompanyEnterGarden(context.Context, *v1.CompanyEnterGardenRequest) (*v1.CompanyEnterGardenReply, error) // 权限 GroupAdd(context.Context, *v1.GroupAddRequest) (*v1.GroupAddReply, error) GroupDel(context.Context, *v1.GroupDelRequest) (*v1.GroupDelReply, error) GroupList(context.Context, *v1.GroupListRequest) (*v1.GroupListReply, error) GroupInfo(context.Context, *v1.GroupInfoRequest) (*v1.GroupInfoReply, error) GroupUpdate(context.Context, *v1.GroupUpdateRequest) (*v1.GroupUpdateReply, error) SuperGroup(context.Context, *v1.SuperGroupRequest) (*v1.SuperGroupReply, error) GardenPermissionList(context.Context, *v1.GardenPermissionListRequest) (*v1.GardenPermissionListReply, error) // 部门 DepartmentAdd(context.Context, *v1.DepartmentAddRequest) (*v1.DepartmentAddReply, error) DepartmentDel(context.Context, *v1.DepartmentDelRequest) (*v1.DepartmentDelReply, error) DepartmentList(context.Context, *v1.DepartmentListRequest) (*v1.DepartmentListReply, error) DepartmentUpdate(context.Context, *v1.DepartmentUpdateRequest) (*v1.DepartmentUpdateReply, error) // 修改小区关键信息提交申请 GardenKeyInfoChange(context.Context, *v1.GardenKeyInfoChangeRequest) (*v1.GardenKeyInfoChangeReply, error) // 小区关键信息申请列表 GardenKeyInfoChangeList(context.Context, *v1.GardenKeyInfoChangeListRequest) (*v1.GardenKeyInfoChangeListReply, error) // 对小区关键信息申请进行审批 GardenKeyInfoApprove(context.Context, *v1.GardenKeyInfoApproveRequest) (*v1.GardenKeyInfoApproveReply, error) // 小区审批 GardenApprove(context.Context, *v1.GardenApproveRequest) (*v1.GardenApproveReply, error) // 设置小区支付商户号 GardenSetMch(context.Context, *v1.GardenSetMchRequest) (*v1.GardenSetMchReply, error) // 设置小区支付模式 GardenSetMchPayMode(context.Context, *v1.GardenSetMchPayModeRequest) (*v1.GardenSetMchPayModeReply, error) // 获取公司下的小区支付模式信息 CompanyMchGardenList(context.Context, *v1.CompanyMchGardenListRequest) (*v1.CompanyMchGardenListReply, error) // 应用相关 ApplicationOrderAdd(context.Context, *v1.ApplicationOrderAddRequest) (*v1.ApplicationOrderAddReply, error) ApplicationOrderApprove(context.Context, *v1.ApplicationOrderApproveRequest) (*v1.ApplicationOrderApproveReply, error) GardenApplicationList(context.Context, *v1.GardenApplicationListRequest) (*v1.GardenApplicationListReply, error) ApplicationOrderAmount(context.Context, *v1.ApplicationOrderAmountRequest) (*v1.ApplicationOrderAmountReply, error) // 套餐相关 PackageOrderAdd(context.Context, *v1.PackageOrderAddRequest) (*v1.PackageOrderAddReply, error) PackageOrderApprove(context.Context, *v1.PackageOrderApproveRequest) (*v1.PackageOrderApproveReply, error) CompanyPackageList(context.Context, *v1.CompanyPackageListRequest) (*v1.CompanyPackageListReply, error) PackageOrderAmount(context.Context, *v1.PackageOrderAmountRequest) (*v1.PackageOrderAmountReply, error) GardenRentSellCount(context.Context, *v1.GardenRentSellCountRequest) (*v1.GardenRentSellCountReply, error) // 短信套餐相关 MsgPackageOrderAdd(context.Context, *v1.MsgPackageOrderAddRequest) (*v1.MsgPackageOrderAddReply, error) MsgPackageOrderApprove(context.Context, *v1.MsgPackageOrderApproveRequest) (*v1.MsgPackageOrderApproveReply, error) MsgPackageOrderList(context.Context, *v1.MsgPackageOrderListRequest) (*v1.MsgPackageOrderListReply, error) MsgPackageOrderDecrease(context.Context, *v1.MsgPackageOrderDecreaseRequest) (*v1.MsgPackageOrderDecreaseReply, error) } // UnimplementedSystemServer can be embedded to have forward compatible implementations. type UnimplementedSystemServer struct { } func (*UnimplementedSystemServer) GardenInfos(ctx context.Context, req *v1.GardenInfosRequest) (*v1.GardenInfosReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GardenInfos not implemented") } func (*UnimplementedSystemServer) GardenList(ctx context.Context, req *v1.GardenListRequest) (*v1.GardenListReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GardenList not implemented") } func (*UnimplementedSystemServer) GardenIds(ctx context.Context, req *v1.GardenIdsRequest) (*v1.GardenIdsReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GardenIds not implemented") } func (*UnimplementedSystemServer) GardenAdd(ctx context.Context, req *v1.GardenAddRequest) (*v1.GardenAddReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GardenAdd not implemented") } func (*UnimplementedSystemServer) GardenUpdate(ctx context.Context, req *v1.GardenUpdateRequest) (*v1.GardenUpdateReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GardenUpdate not implemented") } func (*UnimplementedSystemServer) GardenDel(ctx context.Context, req *v1.GardenDelRequest) (*v1.GardenDelReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GardenDel not implemented") } func (*UnimplementedSystemServer) GardenChangeCompany(ctx context.Context, req *v1.GardenChangeCompanyRequest) (*v1.GardenChangeCompanyReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GardenChangeCompany not implemented") } func (*UnimplementedSystemServer) GardenEnableSet(ctx context.Context, req *v1.GardenEnableSetRequest) (*v1.GardenEnableSetReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GardenEnableSet not implemented") } func (*UnimplementedSystemServer) GardenHouseCountLimit(ctx context.Context, req *v1.GardenHouseCountLimitRequest) (*v1.GardenHouseCountLimitReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GardenHouseCountLimit not implemented") } func (*UnimplementedSystemServer) GardenHouseCountChange(ctx context.Context, req *v1.GardenHouseCountChangeRequest) (*v1.GardenHouseCountChangeReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GardenHouseCountChange not implemented") } func (*UnimplementedSystemServer) Login(ctx context.Context, req *v1.LoginRequest) (*v1.LoginReply, error) { return nil, status.Errorf(codes.Unimplemented, "method Login not implemented") } func (*UnimplementedSystemServer) PermissionReget(ctx context.Context, req *v1.PermissionRegetRequest) (*v1.PermissionRegetReply, error) { return nil, status.Errorf(codes.Unimplemented, "method PermissionReget not implemented") } func (*UnimplementedSystemServer) LoginByPhone(ctx context.Context, req *v1.LoginByPhoneRequest) (*v1.LoginByPhoneReply, error) { return nil, status.Errorf(codes.Unimplemented, "method LoginByPhone not implemented") } func (*UnimplementedSystemServer) CheckPhone(ctx context.Context, req *v1.CheckPhoneRequest) (*v1.CheckPhoneReply, error) { return nil, status.Errorf(codes.Unimplemented, "method CheckPhone not implemented") } func (*UnimplementedSystemServer) ResetPassword(ctx context.Context, req *v1.ResetPasswordRequest) (*v1.ResetPasswordReply, error) { return nil, status.Errorf(codes.Unimplemented, "method ResetPassword not implemented") } func (*UnimplementedSystemServer) ChangePassword(ctx context.Context, req *v1.ChangePasswordRequest) (*v1.ChangePasswordReply, error) { return nil, status.Errorf(codes.Unimplemented, "method ChangePassword not implemented") } func (*UnimplementedSystemServer) UserAdd(ctx context.Context, req *v1.UserAddRequest) (*v1.UserAddReply, error) { return nil, status.Errorf(codes.Unimplemented, "method UserAdd not implemented") } func (*UnimplementedSystemServer) UserUpdate(ctx context.Context, req *v1.UserUpdateRequest) (*v1.UserUpdateReply, error) { return nil, status.Errorf(codes.Unimplemented, "method UserUpdate not implemented") } func (*UnimplementedSystemServer) UserDel(ctx context.Context, req *v1.UserDelRequest) (*v1.UserDelReply, error) { return nil, status.Errorf(codes.Unimplemented, "method UserDel not implemented") } func (*UnimplementedSystemServer) UserList(ctx context.Context, req *v1.UserListRequest) (*v1.UserListReply, error) { return nil, status.Errorf(codes.Unimplemented, "method UserList not implemented") } func (*UnimplementedSystemServer) UserGardenChange(ctx context.Context, req *v1.UserGardenChangeRequest) (*v1.UserGardenChangeReply, error) { return nil, status.Errorf(codes.Unimplemented, "method UserGardenChange not implemented") } func (*UnimplementedSystemServer) CompanyEnterGarden(ctx context.Context, req *v1.CompanyEnterGardenRequest) (*v1.CompanyEnterGardenReply, error) { return nil, status.Errorf(codes.Unimplemented, "method CompanyEnterGarden not implemented") } func (*UnimplementedSystemServer) GroupAdd(ctx context.Context, req *v1.GroupAddRequest) (*v1.GroupAddReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GroupAdd not implemented") } func (*UnimplementedSystemServer) GroupDel(ctx context.Context, req *v1.GroupDelRequest) (*v1.GroupDelReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GroupDel not implemented") } func (*UnimplementedSystemServer) GroupList(ctx context.Context, req *v1.GroupListRequest) (*v1.GroupListReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GroupList not implemented") } func (*UnimplementedSystemServer) GroupInfo(ctx context.Context, req *v1.GroupInfoRequest) (*v1.GroupInfoReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GroupInfo not implemented") } func (*UnimplementedSystemServer) GroupUpdate(ctx context.Context, req *v1.GroupUpdateRequest) (*v1.GroupUpdateReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GroupUpdate not implemented") } func (*UnimplementedSystemServer) SuperGroup(ctx context.Context, req *v1.SuperGroupRequest) (*v1.SuperGroupReply, error) { return nil, status.Errorf(codes.Unimplemented, "method SuperGroup not implemented") } func (*UnimplementedSystemServer) GardenPermissionList(ctx context.Context, req *v1.GardenPermissionListRequest) (*v1.GardenPermissionListReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GardenPermissionList not implemented") } func (*UnimplementedSystemServer) DepartmentAdd(ctx context.Context, req *v1.DepartmentAddRequest) (*v1.DepartmentAddReply, error) { return nil, status.Errorf(codes.Unimplemented, "method DepartmentAdd not implemented") } func (*UnimplementedSystemServer) DepartmentDel(ctx context.Context, req *v1.DepartmentDelRequest) (*v1.DepartmentDelReply, error) { return nil, status.Errorf(codes.Unimplemented, "method DepartmentDel not implemented") } func (*UnimplementedSystemServer) DepartmentList(ctx context.Context, req *v1.DepartmentListRequest) (*v1.DepartmentListReply, error) { return nil, status.Errorf(codes.Unimplemented, "method DepartmentList not implemented") } func (*UnimplementedSystemServer) DepartmentUpdate(ctx context.Context, req *v1.DepartmentUpdateRequest) (*v1.DepartmentUpdateReply, error) { return nil, status.Errorf(codes.Unimplemented, "method DepartmentUpdate not implemented") } func (*UnimplementedSystemServer) GardenKeyInfoChange(ctx context.Context, req *v1.GardenKeyInfoChangeRequest) (*v1.GardenKeyInfoChangeReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GardenKeyInfoChange not implemented") } func (*UnimplementedSystemServer) GardenKeyInfoChangeList(ctx context.Context, req *v1.GardenKeyInfoChangeListRequest) (*v1.GardenKeyInfoChangeListReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GardenKeyInfoChangeList not implemented") } func (*UnimplementedSystemServer) GardenKeyInfoApprove(ctx context.Context, req *v1.GardenKeyInfoApproveRequest) (*v1.GardenKeyInfoApproveReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GardenKeyInfoApprove not implemented") } func (*UnimplementedSystemServer) GardenApprove(ctx context.Context, req *v1.GardenApproveRequest) (*v1.GardenApproveReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GardenApprove not implemented") } func (*UnimplementedSystemServer) GardenSetMch(ctx context.Context, req *v1.GardenSetMchRequest) (*v1.GardenSetMchReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GardenSetMch not implemented") } func (*UnimplementedSystemServer) GardenSetMchPayMode(ctx context.Context, req *v1.GardenSetMchPayModeRequest) (*v1.GardenSetMchPayModeReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GardenSetMchPayMode not implemented") } func (*UnimplementedSystemServer) CompanyMchGardenList(ctx context.Context, req *v1.CompanyMchGardenListRequest) (*v1.CompanyMchGardenListReply, error) { return nil, status.Errorf(codes.Unimplemented, "method CompanyMchGardenList not implemented") } func (*UnimplementedSystemServer) ApplicationOrderAdd(ctx context.Context, req *v1.ApplicationOrderAddRequest) (*v1.ApplicationOrderAddReply, error) { return nil, status.Errorf(codes.Unimplemented, "method ApplicationOrderAdd not implemented") } func (*UnimplementedSystemServer) ApplicationOrderApprove(ctx context.Context, req *v1.ApplicationOrderApproveRequest) (*v1.ApplicationOrderApproveReply, error) { return nil, status.Errorf(codes.Unimplemented, "method ApplicationOrderApprove not implemented") } func (*UnimplementedSystemServer) GardenApplicationList(ctx context.Context, req *v1.GardenApplicationListRequest) (*v1.GardenApplicationListReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GardenApplicationList not implemented") } func (*UnimplementedSystemServer) ApplicationOrderAmount(ctx context.Context, req *v1.ApplicationOrderAmountRequest) (*v1.ApplicationOrderAmountReply, error) { return nil, status.Errorf(codes.Unimplemented, "method ApplicationOrderAmount not implemented") } func (*UnimplementedSystemServer) PackageOrderAdd(ctx context.Context, req *v1.PackageOrderAddRequest) (*v1.PackageOrderAddReply, error) { return nil, status.Errorf(codes.Unimplemented, "method PackageOrderAdd not implemented") } func (*UnimplementedSystemServer) PackageOrderApprove(ctx context.Context, req *v1.PackageOrderApproveRequest) (*v1.PackageOrderApproveReply, error) { return nil, status.Errorf(codes.Unimplemented, "method PackageOrderApprove not implemented") } func (*UnimplementedSystemServer) CompanyPackageList(ctx context.Context, req *v1.CompanyPackageListRequest) (*v1.CompanyPackageListReply, error) { return nil, status.Errorf(codes.Unimplemented, "method CompanyPackageList not implemented") } func (*UnimplementedSystemServer) PackageOrderAmount(ctx context.Context, req *v1.PackageOrderAmountRequest) (*v1.PackageOrderAmountReply, error) { return nil, status.Errorf(codes.Unimplemented, "method PackageOrderAmount not implemented") } func (*UnimplementedSystemServer) GardenRentSellCount(ctx context.Context, req *v1.GardenRentSellCountRequest) (*v1.GardenRentSellCountReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GardenRentSellCount not implemented") } func (*UnimplementedSystemServer) MsgPackageOrderAdd(ctx context.Context, req *v1.MsgPackageOrderAddRequest) (*v1.MsgPackageOrderAddReply, error) { return nil, status.Errorf(codes.Unimplemented, "method MsgPackageOrderAdd not implemented") } func (*UnimplementedSystemServer) MsgPackageOrderApprove(ctx context.Context, req *v1.MsgPackageOrderApproveRequest) (*v1.MsgPackageOrderApproveReply, error) { return nil, status.Errorf(codes.Unimplemented, "method MsgPackageOrderApprove not implemented") } func (*UnimplementedSystemServer) MsgPackageOrderList(ctx context.Context, req *v1.MsgPackageOrderListRequest) (*v1.MsgPackageOrderListReply, error) { return nil, status.Errorf(codes.Unimplemented, "method MsgPackageOrderList not implemented") } func (*UnimplementedSystemServer) MsgPackageOrderDecrease(ctx context.Context, req *v1.MsgPackageOrderDecreaseRequest) (*v1.MsgPackageOrderDecreaseReply, error) { return nil, status.Errorf(codes.Unimplemented, "method MsgPackageOrderDecrease not implemented") } func RegisterSystemServer(s *grpc.Server, srv SystemServer) { s.RegisterService(&_System_serviceDesc, srv) } func _System_GardenInfos_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.GardenInfosRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SystemServer).GardenInfos(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.System/GardenInfos", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SystemServer).GardenInfos(ctx, req.(*v1.GardenInfosRequest)) } return interceptor(ctx, in, info, handler) } func _System_GardenList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.GardenListRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SystemServer).GardenList(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.System/GardenList", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SystemServer).GardenList(ctx, req.(*v1.GardenListRequest)) } return interceptor(ctx, in, info, handler) } func _System_GardenIds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.GardenIdsRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SystemServer).GardenIds(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.System/GardenIds", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SystemServer).GardenIds(ctx, req.(*v1.GardenIdsRequest)) } return interceptor(ctx, in, info, handler) } func _System_GardenAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.GardenAddRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SystemServer).GardenAdd(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.System/GardenAdd", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SystemServer).GardenAdd(ctx, req.(*v1.GardenAddRequest)) } return interceptor(ctx, in, info, handler) } func _System_GardenUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.GardenUpdateRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SystemServer).GardenUpdate(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.System/GardenUpdate", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SystemServer).GardenUpdate(ctx, req.(*v1.GardenUpdateRequest)) } return interceptor(ctx, in, info, handler) } func _System_GardenDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.GardenDelRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SystemServer).GardenDel(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.System/GardenDel", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SystemServer).GardenDel(ctx, req.(*v1.GardenDelRequest)) } return interceptor(ctx, in, info, handler) } func _System_GardenChangeCompany_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.GardenChangeCompanyRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SystemServer).GardenChangeCompany(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.System/GardenChangeCompany", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SystemServer).GardenChangeCompany(ctx, req.(*v1.GardenChangeCompanyRequest)) } return interceptor(ctx, in, info, handler) } func _System_GardenEnableSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.GardenEnableSetRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SystemServer).GardenEnableSet(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.System/GardenEnableSet", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SystemServer).GardenEnableSet(ctx, req.(*v1.GardenEnableSetRequest)) } return interceptor(ctx, in, info, handler) } func _System_GardenHouseCountLimit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.GardenHouseCountLimitRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SystemServer).GardenHouseCountLimit(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.System/GardenHouseCountLimit", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SystemServer).GardenHouseCountLimit(ctx, req.(*v1.GardenHouseCountLimitRequest)) } return interceptor(ctx, in, info, handler) } func _System_GardenHouseCountChange_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.GardenHouseCountChangeRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SystemServer).GardenHouseCountChange(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.System/GardenHouseCountChange", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SystemServer).GardenHouseCountChange(ctx, req.(*v1.GardenHouseCountChangeRequest)) } return interceptor(ctx, in, info, handler) } func _System_Login_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.LoginRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SystemServer).Login(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.System/Login", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SystemServer).Login(ctx, req.(*v1.LoginRequest)) } return interceptor(ctx, in, info, handler) } func _System_PermissionReget_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.PermissionRegetRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SystemServer).PermissionReget(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.System/PermissionReget", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SystemServer).PermissionReget(ctx, req.(*v1.PermissionRegetRequest)) } return interceptor(ctx, in, info, handler) } func _System_LoginByPhone_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.LoginByPhoneRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SystemServer).LoginByPhone(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.System/LoginByPhone", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SystemServer).LoginByPhone(ctx, req.(*v1.LoginByPhoneRequest)) } return interceptor(ctx, in, info, handler) } func _System_CheckPhone_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.CheckPhoneRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SystemServer).CheckPhone(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.System/CheckPhone", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SystemServer).CheckPhone(ctx, req.(*v1.CheckPhoneRequest)) } return interceptor(ctx, in, info, handler) } func _System_ResetPassword_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.ResetPasswordRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SystemServer).ResetPassword(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.System/ResetPassword", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SystemServer).ResetPassword(ctx, req.(*v1.ResetPasswordRequest)) } return interceptor(ctx, in, info, handler) } func _System_ChangePassword_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.ChangePasswordRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SystemServer).ChangePassword(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.System/ChangePassword", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SystemServer).ChangePassword(ctx, req.(*v1.ChangePasswordRequest)) } return interceptor(ctx, in, info, handler) } func _System_UserAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.UserAddRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SystemServer).UserAdd(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.System/UserAdd", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SystemServer).UserAdd(ctx, req.(*v1.UserAddRequest)) } return interceptor(ctx, in, info, handler) } func _System_UserUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.UserUpdateRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SystemServer).UserUpdate(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.System/UserUpdate", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SystemServer).UserUpdate(ctx, req.(*v1.UserUpdateRequest)) } return interceptor(ctx, in, info, handler) } func _System_UserDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.UserDelRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SystemServer).UserDel(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.System/UserDel", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SystemServer).UserDel(ctx, req.(*v1.UserDelRequest)) } return interceptor(ctx, in, info, handler) } func _System_UserList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.UserListRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SystemServer).UserList(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.System/UserList", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SystemServer).UserList(ctx, req.(*v1.UserListRequest)) } return interceptor(ctx, in, info, handler) } func _System_UserGardenChange_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.UserGardenChangeRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SystemServer).UserGardenChange(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.System/UserGardenChange", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SystemServer).UserGardenChange(ctx, req.(*v1.UserGardenChangeRequest)) } return interceptor(ctx, in, info, handler) } func _System_CompanyEnterGarden_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.CompanyEnterGardenRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SystemServer).CompanyEnterGarden(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.System/CompanyEnterGarden", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SystemServer).CompanyEnterGarden(ctx, req.(*v1.CompanyEnterGardenRequest)) } return interceptor(ctx, in, info, handler) } func _System_GroupAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.GroupAddRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SystemServer).GroupAdd(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.System/GroupAdd", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SystemServer).GroupAdd(ctx, req.(*v1.GroupAddRequest)) } return interceptor(ctx, in, info, handler) } func _System_GroupDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.GroupDelRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SystemServer).GroupDel(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.System/GroupDel", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SystemServer).GroupDel(ctx, req.(*v1.GroupDelRequest)) } return interceptor(ctx, in, info, handler) } func _System_GroupList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.GroupListRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SystemServer).GroupList(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.System/GroupList", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SystemServer).GroupList(ctx, req.(*v1.GroupListRequest)) } return interceptor(ctx, in, info, handler) } func _System_GroupInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.GroupInfoRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SystemServer).GroupInfo(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.System/GroupInfo", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SystemServer).GroupInfo(ctx, req.(*v1.GroupInfoRequest)) } return interceptor(ctx, in, info, handler) } func _System_GroupUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.GroupUpdateRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SystemServer).GroupUpdate(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.System/GroupUpdate", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SystemServer).GroupUpdate(ctx, req.(*v1.GroupUpdateRequest)) } return interceptor(ctx, in, info, handler) } func _System_SuperGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.SuperGroupRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SystemServer).SuperGroup(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.System/SuperGroup", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SystemServer).SuperGroup(ctx, req.(*v1.SuperGroupRequest)) } return interceptor(ctx, in, info, handler) } func _System_GardenPermissionList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.GardenPermissionListRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SystemServer).GardenPermissionList(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.System/GardenPermissionList", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SystemServer).GardenPermissionList(ctx, req.(*v1.GardenPermissionListRequest)) } return interceptor(ctx, in, info, handler) } func _System_DepartmentAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.DepartmentAddRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SystemServer).DepartmentAdd(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.System/DepartmentAdd", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SystemServer).DepartmentAdd(ctx, req.(*v1.DepartmentAddRequest)) } return interceptor(ctx, in, info, handler) } func _System_DepartmentDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.DepartmentDelRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SystemServer).DepartmentDel(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.System/DepartmentDel", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SystemServer).DepartmentDel(ctx, req.(*v1.DepartmentDelRequest)) } return interceptor(ctx, in, info, handler) } func _System_DepartmentList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.DepartmentListRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SystemServer).DepartmentList(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.System/DepartmentList", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SystemServer).DepartmentList(ctx, req.(*v1.DepartmentListRequest)) } return interceptor(ctx, in, info, handler) } func _System_DepartmentUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.DepartmentUpdateRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SystemServer).DepartmentUpdate(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.System/DepartmentUpdate", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SystemServer).DepartmentUpdate(ctx, req.(*v1.DepartmentUpdateRequest)) } return interceptor(ctx, in, info, handler) } func _System_GardenKeyInfoChange_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.GardenKeyInfoChangeRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SystemServer).GardenKeyInfoChange(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.System/GardenKeyInfoChange", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SystemServer).GardenKeyInfoChange(ctx, req.(*v1.GardenKeyInfoChangeRequest)) } return interceptor(ctx, in, info, handler) } func _System_GardenKeyInfoChangeList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.GardenKeyInfoChangeListRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SystemServer).GardenKeyInfoChangeList(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.System/GardenKeyInfoChangeList", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SystemServer).GardenKeyInfoChangeList(ctx, req.(*v1.GardenKeyInfoChangeListRequest)) } return interceptor(ctx, in, info, handler) } func _System_GardenKeyInfoApprove_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.GardenKeyInfoApproveRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SystemServer).GardenKeyInfoApprove(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.System/GardenKeyInfoApprove", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SystemServer).GardenKeyInfoApprove(ctx, req.(*v1.GardenKeyInfoApproveRequest)) } return interceptor(ctx, in, info, handler) } func _System_GardenApprove_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.GardenApproveRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SystemServer).GardenApprove(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.System/GardenApprove", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SystemServer).GardenApprove(ctx, req.(*v1.GardenApproveRequest)) } return interceptor(ctx, in, info, handler) } func _System_GardenSetMch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.GardenSetMchRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SystemServer).GardenSetMch(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.System/GardenSetMch", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SystemServer).GardenSetMch(ctx, req.(*v1.GardenSetMchRequest)) } return interceptor(ctx, in, info, handler) } func _System_GardenSetMchPayMode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.GardenSetMchPayModeRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SystemServer).GardenSetMchPayMode(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.System/GardenSetMchPayMode", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SystemServer).GardenSetMchPayMode(ctx, req.(*v1.GardenSetMchPayModeRequest)) } return interceptor(ctx, in, info, handler) } func _System_CompanyMchGardenList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.CompanyMchGardenListRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SystemServer).CompanyMchGardenList(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.System/CompanyMchGardenList", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SystemServer).CompanyMchGardenList(ctx, req.(*v1.CompanyMchGardenListRequest)) } return interceptor(ctx, in, info, handler) } func _System_ApplicationOrderAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.ApplicationOrderAddRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SystemServer).ApplicationOrderAdd(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.System/ApplicationOrderAdd", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SystemServer).ApplicationOrderAdd(ctx, req.(*v1.ApplicationOrderAddRequest)) } return interceptor(ctx, in, info, handler) } func _System_ApplicationOrderApprove_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.ApplicationOrderApproveRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SystemServer).ApplicationOrderApprove(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.System/ApplicationOrderApprove", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SystemServer).ApplicationOrderApprove(ctx, req.(*v1.ApplicationOrderApproveRequest)) } return interceptor(ctx, in, info, handler) } func _System_GardenApplicationList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.GardenApplicationListRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SystemServer).GardenApplicationList(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.System/GardenApplicationList", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SystemServer).GardenApplicationList(ctx, req.(*v1.GardenApplicationListRequest)) } return interceptor(ctx, in, info, handler) } func _System_ApplicationOrderAmount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.ApplicationOrderAmountRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SystemServer).ApplicationOrderAmount(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.System/ApplicationOrderAmount", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SystemServer).ApplicationOrderAmount(ctx, req.(*v1.ApplicationOrderAmountRequest)) } return interceptor(ctx, in, info, handler) } func _System_PackageOrderAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.PackageOrderAddRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SystemServer).PackageOrderAdd(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.System/PackageOrderAdd", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SystemServer).PackageOrderAdd(ctx, req.(*v1.PackageOrderAddRequest)) } return interceptor(ctx, in, info, handler) } func _System_PackageOrderApprove_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.PackageOrderApproveRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SystemServer).PackageOrderApprove(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.System/PackageOrderApprove", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SystemServer).PackageOrderApprove(ctx, req.(*v1.PackageOrderApproveRequest)) } return interceptor(ctx, in, info, handler) } func _System_CompanyPackageList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.CompanyPackageListRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SystemServer).CompanyPackageList(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.System/CompanyPackageList", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SystemServer).CompanyPackageList(ctx, req.(*v1.CompanyPackageListRequest)) } return interceptor(ctx, in, info, handler) } func _System_PackageOrderAmount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.PackageOrderAmountRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SystemServer).PackageOrderAmount(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.System/PackageOrderAmount", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SystemServer).PackageOrderAmount(ctx, req.(*v1.PackageOrderAmountRequest)) } return interceptor(ctx, in, info, handler) } func _System_GardenRentSellCount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.GardenRentSellCountRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SystemServer).GardenRentSellCount(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.System/GardenRentSellCount", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SystemServer).GardenRentSellCount(ctx, req.(*v1.GardenRentSellCountRequest)) } return interceptor(ctx, in, info, handler) } func _System_MsgPackageOrderAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.MsgPackageOrderAddRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SystemServer).MsgPackageOrderAdd(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.System/MsgPackageOrderAdd", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SystemServer).MsgPackageOrderAdd(ctx, req.(*v1.MsgPackageOrderAddRequest)) } return interceptor(ctx, in, info, handler) } func _System_MsgPackageOrderApprove_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.MsgPackageOrderApproveRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SystemServer).MsgPackageOrderApprove(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.System/MsgPackageOrderApprove", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SystemServer).MsgPackageOrderApprove(ctx, req.(*v1.MsgPackageOrderApproveRequest)) } return interceptor(ctx, in, info, handler) } func _System_MsgPackageOrderList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.MsgPackageOrderListRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SystemServer).MsgPackageOrderList(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.System/MsgPackageOrderList", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SystemServer).MsgPackageOrderList(ctx, req.(*v1.MsgPackageOrderListRequest)) } return interceptor(ctx, in, info, handler) } func _System_MsgPackageOrderDecrease_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.MsgPackageOrderDecreaseRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SystemServer).MsgPackageOrderDecrease(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.System/MsgPackageOrderDecrease", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SystemServer).MsgPackageOrderDecrease(ctx, req.(*v1.MsgPackageOrderDecreaseRequest)) } return interceptor(ctx, in, info, handler) } var _System_serviceDesc = grpc.ServiceDesc{ ServiceName: "pb.service.System", HandlerType: (*SystemServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GardenInfos", Handler: _System_GardenInfos_Handler, }, { MethodName: "GardenList", Handler: _System_GardenList_Handler, }, { MethodName: "GardenIds", Handler: _System_GardenIds_Handler, }, { MethodName: "GardenAdd", Handler: _System_GardenAdd_Handler, }, { MethodName: "GardenUpdate", Handler: _System_GardenUpdate_Handler, }, { MethodName: "GardenDel", Handler: _System_GardenDel_Handler, }, { MethodName: "GardenChangeCompany", Handler: _System_GardenChangeCompany_Handler, }, { MethodName: "GardenEnableSet", Handler: _System_GardenEnableSet_Handler, }, { MethodName: "GardenHouseCountLimit", Handler: _System_GardenHouseCountLimit_Handler, }, { MethodName: "GardenHouseCountChange", Handler: _System_GardenHouseCountChange_Handler, }, { MethodName: "Login", Handler: _System_Login_Handler, }, { MethodName: "PermissionReget", Handler: _System_PermissionReget_Handler, }, { MethodName: "LoginByPhone", Handler: _System_LoginByPhone_Handler, }, { MethodName: "CheckPhone", Handler: _System_CheckPhone_Handler, }, { MethodName: "ResetPassword", Handler: _System_ResetPassword_Handler, }, { MethodName: "ChangePassword", Handler: _System_ChangePassword_Handler, }, { MethodName: "UserAdd", Handler: _System_UserAdd_Handler, }, { MethodName: "UserUpdate", Handler: _System_UserUpdate_Handler, }, { MethodName: "UserDel", Handler: _System_UserDel_Handler, }, { MethodName: "UserList", Handler: _System_UserList_Handler, }, { MethodName: "UserGardenChange", Handler: _System_UserGardenChange_Handler, }, { MethodName: "CompanyEnterGarden", Handler: _System_CompanyEnterGarden_Handler, }, { MethodName: "GroupAdd", Handler: _System_GroupAdd_Handler, }, { MethodName: "GroupDel", Handler: _System_GroupDel_Handler, }, { MethodName: "GroupList", Handler: _System_GroupList_Handler, }, { MethodName: "GroupInfo", Handler: _System_GroupInfo_Handler, }, { MethodName: "GroupUpdate", Handler: _System_GroupUpdate_Handler, }, { MethodName: "SuperGroup", Handler: _System_SuperGroup_Handler, }, { MethodName: "GardenPermissionList", Handler: _System_GardenPermissionList_Handler, }, { MethodName: "DepartmentAdd", Handler: _System_DepartmentAdd_Handler, }, { MethodName: "DepartmentDel", Handler: _System_DepartmentDel_Handler, }, { MethodName: "DepartmentList", Handler: _System_DepartmentList_Handler, }, { MethodName: "DepartmentUpdate", Handler: _System_DepartmentUpdate_Handler, }, { MethodName: "GardenKeyInfoChange", Handler: _System_GardenKeyInfoChange_Handler, }, { MethodName: "GardenKeyInfoChangeList", Handler: _System_GardenKeyInfoChangeList_Handler, }, { MethodName: "GardenKeyInfoApprove", Handler: _System_GardenKeyInfoApprove_Handler, }, { MethodName: "GardenApprove", Handler: _System_GardenApprove_Handler, }, { MethodName: "GardenSetMch", Handler: _System_GardenSetMch_Handler, }, { MethodName: "GardenSetMchPayMode", Handler: _System_GardenSetMchPayMode_Handler, }, { MethodName: "CompanyMchGardenList", Handler: _System_CompanyMchGardenList_Handler, }, { MethodName: "ApplicationOrderAdd", Handler: _System_ApplicationOrderAdd_Handler, }, { MethodName: "ApplicationOrderApprove", Handler: _System_ApplicationOrderApprove_Handler, }, { MethodName: "GardenApplicationList", Handler: _System_GardenApplicationList_Handler, }, { MethodName: "ApplicationOrderAmount", Handler: _System_ApplicationOrderAmount_Handler, }, { MethodName: "PackageOrderAdd", Handler: _System_PackageOrderAdd_Handler, }, { MethodName: "PackageOrderApprove", Handler: _System_PackageOrderApprove_Handler, }, { MethodName: "CompanyPackageList", Handler: _System_CompanyPackageList_Handler, }, { MethodName: "PackageOrderAmount", Handler: _System_PackageOrderAmount_Handler, }, { MethodName: "GardenRentSellCount", Handler: _System_GardenRentSellCount_Handler, }, { MethodName: "MsgPackageOrderAdd", Handler: _System_MsgPackageOrderAdd_Handler, }, { MethodName: "MsgPackageOrderApprove", Handler: _System_MsgPackageOrderApprove_Handler, }, { MethodName: "MsgPackageOrderList", Handler: _System_MsgPackageOrderList_Handler, }, { MethodName: "MsgPackageOrderDecrease", Handler: _System_MsgPackageOrderDecrease_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "system_service.proto", }