// 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-applete-gateway/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{ // 623 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x56, 0x5b, 0x6f, 0x12, 0x41, 0x14, 0xf6, 0xc5, 0xaa, 0xe3, 0xad, 0x0e, 0x50, 0x60, 0x8b, 0x58, 0x6b, 0x7c, 0x2c, 0x0d, 0xfa, 0x60, 0x62, 0x62, 0x62, 0x0b, 0xda, 0x34, 0xf2, 0xd0, 0xd0, 0x34, 0x31, 0x9a, 0xd8, 0x2c, 0xe5, 0x08, 0x44, 0xd8, 0x1d, 0x67, 0x07, 0x9a, 0xfd, 0x3f, 0xfe, 0x50, 0x33, 0x33, 0x3b, 0xb7, 0x9d, 0x59, 0xfa, 0xb8, 0xdf, 0xed, 0xec, 0x9c, 0xf9, 0xb6, 0x05, 0xd5, 0xb3, 0x3c, 0x63, 0xb0, 0xba, 0xce, 0x80, 0x6e, 0x16, 0x37, 0xd0, 0x23, 0x34, 0x65, 0x29, 0x46, 0x64, 0xd2, 0x2b, 0x90, 0xe8, 0xf9, 0xa6, 0x7f, 0x2c, 0x45, 0x92, 0x7c, 0xf7, 0x6f, 0x17, 0xed, 0x5c, 0x0a, 0x00, 0xf7, 0xd1, 0xfd, 0x51, 0x3a, 0x5b, 0x24, 0xb8, 0xd6, 0x23, 0x93, 0xeb, 0x4d, 0xbf, 0x27, 0x9e, 0xc6, 0xf0, 0x77, 0x0d, 0x19, 0x8b, 0x5e, 0xb8, 0x20, 0x59, 0xe6, 0x87, 0xf7, 0xf0, 0x57, 0xf4, 0x44, 0x3c, 0x9f, 0xe6, 0x17, 0xf3, 0x34, 0x01, 0x1c, 0xd9, 0xa2, 0x02, 0x54, 0x01, 0xad, 0x20, 0x27, 0x73, 0x3e, 0x23, 0x34, 0x98, 0xc3, 0xcd, 0x1f, 0x99, 0xa2, 0x94, 0x06, 0x52, 0x19, 0x7b, 0x01, 0x46, 0x26, 0x7c, 0x40, 0x0f, 0xae, 0x32, 0xa0, 0x27, 0xd3, 0x29, 0x6e, 0x14, 0xa2, 0xe2, 0x59, 0x79, 0x6b, 0x65, 0x58, 0x8f, 0xe6, 0xc8, 0x15, 0x99, 0xc6, 0xcc, 0x8c, 0x36, 0x50, 0x79, 0xb4, 0xcd, 0x38, 0xa3, 0x87, 0xb0, 0x74, 0x46, 0x0f, 0x61, 0x19, 0x1a, 0x2d, 0x60, 0x69, 0xfc, 0x88, 0x1e, 0x72, 0x64, 0xb4, 0xc8, 0x18, 0xb6, 0xe3, 0x39, 0xa0, 0xac, 0x75, 0x0f, 0x97, 0xde, 0x31, 0xda, 0xe5, 0xd0, 0x59, 0x4c, 0xa7, 0x90, 0x0c, 0xe6, 0x71, 0x32, 0x03, 0xdc, 0xb5, 0xb4, 0x36, 0xa1, 0xb2, 0x3a, 0x95, 0xbc, 0x7e, 0x9f, 0x33, 0x9a, 0xae, 0x09, 0x5f, 0xa2, 0x7a, 0x1f, 0x05, 0x94, 0xdf, 0xc7, 0xe0, 0xae, 0x97, 0x6f, 0xc1, 0xf1, 0x5a, 0x6b, 0xa8, 0x7b, 0xb8, 0xf4, 0x7e, 0x42, 0x8f, 0x04, 0x24, 0x16, 0xd1, 0xb4, 0x45, 0xf6, 0x26, 0x1a, 0x3e, 0xe1, 0xda, 0xcf, 0x93, 0xdf, 0xa9, 0x6b, 0xe7, 0x48, 0xd0, 0x2e, 0x09, 0x69, 0x1f, 0xa0, 0xc7, 0x02, 0x2b, 0x1a, 0xd0, 0xb6, 0x75, 0x6e, 0x05, 0x9a, 0x21, 0x4a, 0xb7, 0xe8, 0x72, 0x4d, 0x80, 0x0a, 0x4a, 0xb7, 0xc8, 0x40, 0xe5, 0x16, 0xd9, 0x8c, 0x4c, 0x38, 0x47, 0x4f, 0xc7, 0x90, 0x01, 0xbb, 0x88, 0xb3, 0xec, 0x36, 0xa5, 0x53, 0xbc, 0x5f, 0x48, 0x1d, 0x54, 0xe5, 0xb4, 0xc3, 0xa4, 0x8c, 0x1a, 0xa1, 0x67, 0xf2, 0x62, 0x75, 0x56, 0x47, 0x7f, 0x37, 0x36, 0xac, 0xc2, 0xa2, 0x0a, 0x56, 0xa6, 0x7d, 0x47, 0x78, 0x90, 0xae, 0x48, 0x9c, 0xe4, 0x5f, 0x12, 0xa6, 0x8a, 0x83, 0x0f, 0x94, 0xc7, 0xa3, 0x54, 0x6a, 0x77, 0x8b, 0x42, 0x1f, 0x79, 0x08, 0x24, 0xa6, 0x6c, 0x05, 0x09, 0xe3, 0xa5, 0x53, 0x47, 0x76, 0xd0, 0xf2, 0x91, 0x4b, 0x64, 0x20, 0x8a, 0x77, 0xd0, 0x8f, 0xb2, 0x8a, 0xd8, 0x0e, 0x93, 0x7a, 0x7b, 0x06, 0x17, 0x95, 0xec, 0x78, 0x72, 0xbb, 0x97, 0x51, 0x05, 0xab, 0xbf, 0x53, 0x43, 0x14, 0x15, 0xeb, 0x7a, 0x0e, 0xb7, 0x67, 0x9d, 0x4a, 0xde, 0x34, 0x56, 0x2c, 0x92, 0xd7, 0x38, 0x33, 0x8d, 0x35, 0x98, 0xd7, 0x58, 0x9b, 0xd2, 0x8d, 0x95, 0xa8, 0x38, 0x62, 0xcb, 0x11, 0xda, 0xc7, 0xdb, 0x0b, 0x30, 0xe6, 0xbb, 0x13, 0x20, 0xbf, 0x3a, 0x77, 0x92, 0x75, 0x6d, 0x0d, 0x9f, 0xd0, 0xff, 0x3b, 0x24, 0x56, 0x6c, 0x25, 0x72, 0x84, 0xee, 0x46, 0x5a, 0x41, 0xae, 0xf4, 0x1a, 0xfc, 0xda, 0xdd, 0xd7, 0xb0, 0xae, 0xbc, 0xe1, 0x13, 0xd2, 0xfe, 0x13, 0xd5, 0x24, 0xf6, 0x0d, 0x72, 0xbe, 0xa0, 0xe2, 0x6f, 0xe9, 0x6b, 0x47, 0xef, 0x70, 0x2a, 0xf2, 0xd5, 0x36, 0x89, 0x0c, 0x9f, 0xa1, 0x66, 0x80, 0x15, 0x1b, 0x7f, 0x5b, 0xed, 0xb6, 0xd7, 0xff, 0xe6, 0x2e, 0x99, 0x1c, 0xf4, 0x0b, 0xd5, 0x1d, 0xc5, 0x09, 0x21, 0x34, 0xdd, 0x00, 0x3e, 0x0c, 0xd9, 0x0b, 0x52, 0x8d, 0x38, 0xd8, 0xaa, 0x11, 0xf9, 0xa7, 0x2f, 0x7f, 0xec, 0x13, 0x9a, 0x12, 0xa0, 0x2c, 0x3f, 0x8a, 0x09, 0x59, 0x02, 0x83, 0xa3, 0x59, 0xcc, 0xe0, 0x36, 0xce, 0x8f, 0xc9, 0x64, 0xb2, 0x23, 0x7e, 0x4c, 0xbc, 0xff, 0x1f, 0x00, 0x00, 0xff, 0xff, 0xc9, 0xb3, 0xeb, 0x33, 0x81, 0x08, 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 { // Login(ctx context.Context, in *v1.LoginRequest, opts ...grpc.CallOption) (*v1.LoginReply, 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) 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) 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) 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) // 公司账户进小区 CompanyEnterGarden(ctx context.Context, in *v1.CompanyEnterGardenRequest, opts ...grpc.CallOption) (*v1.CompanyEnterGardenReply, 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) 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) 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) // 修改小区关键信息提交申请 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) } type systemClient struct { cc grpc.ClientConnInterface } func NewSystemClient(cc grpc.ClientConnInterface) SystemClient { return &systemClient{cc} } 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) 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) 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) 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) 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) 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) 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) 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) 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) 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 } // SystemServer is the server API for System service. type SystemServer interface { // Login(context.Context, *v1.LoginRequest) (*v1.LoginReply, error) LoginByPhone(context.Context, *v1.LoginByPhoneRequest) (*v1.LoginByPhoneReply, error) CheckPhone(context.Context, *v1.CheckPhoneRequest) (*v1.CheckPhoneReply, 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) 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) ResetPassword(context.Context, *v1.ResetPasswordRequest) (*v1.ResetPasswordReply, error) ChangePassword(context.Context, *v1.ChangePasswordRequest) (*v1.ChangePasswordReply, error) // 公司账户进小区 CompanyEnterGarden(context.Context, *v1.CompanyEnterGardenRequest) (*v1.CompanyEnterGardenReply, 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) GardenInfos(context.Context, *v1.GardenInfosRequest) (*v1.GardenInfosReply, error) GardenList(context.Context, *v1.GardenListRequest) (*v1.GardenListReply, 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) // 修改小区关键信息提交申请 GardenKeyInfoChange(context.Context, *v1.GardenKeyInfoChangeRequest) (*v1.GardenKeyInfoChangeReply, error) // 小区关键信息申请列表 GardenKeyInfoChangeList(context.Context, *v1.GardenKeyInfoChangeListRequest) (*v1.GardenKeyInfoChangeListReply, error) // 对小区关键信息申请进行审批 GardenKeyInfoApprove(context.Context, *v1.GardenKeyInfoApproveRequest) (*v1.GardenKeyInfoApproveReply, error) } // UnimplementedSystemServer can be embedded to have forward compatible implementations. type UnimplementedSystemServer struct { } func (*UnimplementedSystemServer) Login(ctx context.Context, req *v1.LoginRequest) (*v1.LoginReply, error) { return nil, status.Errorf(codes.Unimplemented, "method Login 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) 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) 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) 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) CompanyEnterGarden(ctx context.Context, req *v1.CompanyEnterGardenRequest) (*v1.CompanyEnterGardenReply, error) { return nil, status.Errorf(codes.Unimplemented, "method CompanyEnterGarden 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) 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) 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) 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 RegisterSystemServer(s *grpc.Server, srv SystemServer) { s.RegisterService(&_System_serviceDesc, srv) } 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_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_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_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_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_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_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_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_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_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) } var _System_serviceDesc = grpc.ServiceDesc{ ServiceName: "pb.service.System", HandlerType: (*SystemServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Login", Handler: _System_Login_Handler, }, { MethodName: "LoginByPhone", Handler: _System_LoginByPhone_Handler, }, { MethodName: "CheckPhone", Handler: _System_CheckPhone_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: "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: "ResetPassword", Handler: _System_ResetPassword_Handler, }, { MethodName: "ChangePassword", Handler: _System_ChangePassword_Handler, }, { MethodName: "CompanyEnterGarden", Handler: _System_CompanyEnterGarden_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: "GardenInfos", Handler: _System_GardenInfos_Handler, }, { MethodName: "GardenList", Handler: _System_GardenList_Handler, }, { MethodName: "GardenAdd", Handler: _System_GardenAdd_Handler, }, { MethodName: "GardenUpdate", Handler: _System_GardenUpdate_Handler, }, { MethodName: "GardenDel", Handler: _System_GardenDel_Handler, }, { MethodName: "GardenKeyInfoChange", Handler: _System_GardenKeyInfoChange_Handler, }, { MethodName: "GardenKeyInfoChangeList", Handler: _System_GardenKeyInfoChangeList_Handler, }, { MethodName: "GardenKeyInfoApprove", Handler: _System_GardenKeyInfoApprove_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "system_service.proto", }