1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405 |
- // 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-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{
- // 739 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x56, 0x5d, 0x6f, 0xd3, 0x30,
- 0x14, 0xe5, 0x85, 0x01, 0xe6, 0x63, 0x90, 0xb5, 0xfb, 0x08, 0x65, 0x5f, 0x88, 0xc7, 0x75, 0x1a,
- 0x3c, 0x20, 0x21, 0x21, 0xb1, 0x75, 0x30, 0x4d, 0x0c, 0xad, 0xea, 0x34, 0x09, 0x81, 0xc4, 0x94,
- 0xb6, 0x97, 0x2c, 0x5a, 0x9b, 0x98, 0xd8, 0xeb, 0x94, 0xff, 0xc8, 0x8f, 0x42, 0xf6, 0x8d, 0x3f,
- 0xe3, 0x96, 0xc7, 0x9e, 0x73, 0xee, 0xb1, 0x7d, 0x7c, 0xaf, 0x1b, 0xd2, 0x62, 0x15, 0xe3, 0x30,
- 0xbd, 0x62, 0x50, 0xce, 0xb2, 0x11, 0x74, 0x69, 0x59, 0xf0, 0x22, 0x22, 0x74, 0xd8, 0xad, 0x91,
- 0x78, 0x79, 0x76, 0xb0, 0x8f, 0x22, 0x24, 0xdf, 0xfe, 0x6d, 0x91, 0xa5, 0x0b, 0x09, 0x44, 0x07,
- 0xe4, 0xfe, 0x59, 0x91, 0x66, 0x79, 0xb4, 0xd2, 0xa5, 0xc3, 0xab, 0xd9, 0x41, 0x57, 0xfe, 0x1a,
- 0xc0, 0x9f, 0x5b, 0x60, 0x3c, 0x7e, 0xe1, 0x82, 0x74, 0x52, 0xed, 0xde, 0x8b, 0xce, 0xc9, 0x72,
- 0x1f, 0xca, 0x69, 0xc6, 0x58, 0x56, 0xe4, 0x03, 0x48, 0x81, 0x47, 0xaf, 0x6a, 0x9d, 0x87, 0x2b,
- 0x9b, 0x97, 0xf3, 0x68, 0x34, 0xfc, 0x42, 0x9e, 0xc8, 0x05, 0x8e, 0xaa, 0xfe, 0x75, 0x91, 0x43,
- 0x14, 0xdb, 0xab, 0xd6, 0xa0, 0xb2, 0x5a, 0x0f, 0x72, 0xe8, 0xf3, 0x89, 0x90, 0xde, 0x35, 0x8c,
- 0x6e, 0xd0, 0x45, 0x29, 0x0d, 0xa4, 0x3c, 0x56, 0x03, 0x0c, 0x3a, 0xbc, 0x27, 0x0f, 0x2e, 0x19,
- 0x94, 0x87, 0xe3, 0x71, 0xd4, 0xae, 0x45, 0xf5, 0x6f, 0x55, 0xbb, 0xe2, 0xc3, 0x7a, 0x69, 0x81,
- 0x5c, 0xd2, 0x71, 0xc2, 0xcd, 0xd2, 0x06, 0xf2, 0x97, 0xb6, 0x19, 0x67, 0xe9, 0x63, 0x98, 0x38,
- 0x4b, 0x1f, 0xc3, 0x24, 0xb4, 0xb4, 0x84, 0xb1, 0xf0, 0x03, 0x79, 0x28, 0x90, 0xb3, 0x8c, 0xf1,
- 0xc8, 0xb6, 0x17, 0x80, 0x2a, 0x6d, 0x35, 0x70, 0xac, 0x1d, 0x90, 0xe7, 0x02, 0x3a, 0x49, 0xca,
- 0x31, 0xe4, 0xbd, 0xeb, 0x24, 0x4f, 0x21, 0xda, 0xb4, 0xb4, 0x36, 0xa1, 0xbc, 0x3a, 0x73, 0x79,
- 0xbd, 0x9f, 0x93, 0xb2, 0xb8, 0xa5, 0x22, 0x44, 0xb5, 0x1f, 0x05, 0xf8, 0xfb, 0x31, 0xb8, 0x5b,
- 0x2b, 0x52, 0x70, 0x6a, 0xad, 0x18, 0x5a, 0x0d, 0x1c, 0x6b, 0x3f, 0x92, 0x47, 0x12, 0x92, 0x41,
- 0xac, 0xd9, 0x22, 0x3b, 0x89, 0x76, 0x93, 0x70, 0xcb, 0x4f, 0xf3, 0xdf, 0x85, 0x5b, 0x2e, 0x90,
- 0x60, 0x39, 0x12, 0x58, 0xde, 0x23, 0x8f, 0x25, 0x56, 0x77, 0xc0, 0x86, 0xad, 0x73, 0x5b, 0x60,
- 0x2d, 0x44, 0xe9, 0x2e, 0xba, 0xb8, 0xa5, 0x50, 0x4a, 0x4a, 0x77, 0x91, 0x81, 0xfc, 0x2e, 0xb2,
- 0x19, 0x74, 0x38, 0x25, 0x4f, 0x07, 0xc0, 0x80, 0xf7, 0x13, 0xc6, 0xee, 0x8a, 0x72, 0x1c, 0xa9,
- 0xd1, 0x73, 0x50, 0xe5, 0xb3, 0x11, 0x26, 0xd1, 0xea, 0x8c, 0x3c, 0xc3, 0x8b, 0xd5, 0x5e, 0x1d,
- 0x3d, 0x37, 0x36, 0xac, 0xcc, 0xe2, 0x39, 0x2c, 0xba, 0x7d, 0x27, 0x51, 0xaf, 0x98, 0xd2, 0x24,
- 0xaf, 0x3e, 0xe7, 0x5c, 0x35, 0x4e, 0xb4, 0xad, 0x6a, 0x1a, 0x94, 0x72, 0xdd, 0x5c, 0xa0, 0x40,
- 0xe7, 0x5f, 0xa4, 0x85, 0x80, 0x79, 0x5d, 0x64, 0x0b, 0xec, 0xaa, 0x9c, 0x03, 0xa4, 0x72, 0xdf,
- 0x5e, 0xa8, 0xd1, 0x91, 0x1e, 0x03, 0x4d, 0x4a, 0x3e, 0x85, 0x9c, 0x8b, 0xa6, 0x56, 0x91, 0x3a,
- 0xa8, 0x1f, 0xa9, 0x47, 0x06, 0xac, 0x44, 0x8f, 0x37, 0xad, 0xac, 0x46, 0xdf, 0x08, 0x93, 0xfa,
- 0x76, 0x0c, 0x2e, 0xcf, 0xdb, 0x69, 0xc8, 0xed, 0x93, 0xc6, 0x73, 0x58, 0xfd, 0x0e, 0x18, 0xa2,
- 0x6e, 0xe1, 0xcd, 0x46, 0x85, 0xdb, 0xc7, 0x9d, 0xb9, 0xbc, 0x99, 0x08, 0x19, 0xab, 0x18, 0x13,
- 0x66, 0x26, 0xc2, 0x60, 0x8d, 0x89, 0xb0, 0x29, 0x3d, 0x11, 0x88, 0xca, 0x23, 0xae, 0x3b, 0x42,
- 0xfb, 0x78, 0xab, 0x01, 0xc6, 0xcc, 0xb5, 0x04, 0xc5, 0xd5, 0xb9, 0x2b, 0x59, 0xd7, 0xd6, 0x6e,
- 0x12, 0xfa, 0xbf, 0x09, 0xb1, 0x3a, 0x95, 0xd8, 0x11, 0xba, 0x89, 0xac, 0x07, 0x39, 0x6f, 0x1b,
- 0xe2, 0xda, 0xdd, 0x6d, 0x58, 0x57, 0xde, 0x6e, 0x12, 0x58, 0xfe, 0x93, 0xac, 0x20, 0xf6, 0x15,
- 0x2a, 0x11, 0x50, 0xfd, 0x56, 0xef, 0x38, 0x7a, 0x87, 0x53, 0x96, 0x5b, 0x8b, 0x24, 0x68, 0x9e,
- 0x92, 0xb5, 0x00, 0x2b, 0x13, 0x7f, 0x33, 0xbf, 0xda, 0x8e, 0xff, 0xf5, 0xff, 0x64, 0xde, 0xa8,
- 0xd6, 0x8a, 0x43, 0x4a, 0xcb, 0x62, 0x06, 0xde, 0xa8, 0xba, 0x64, 0x78, 0x54, 0x7d, 0x8d, 0x4e,
- 0xe9, 0x90, 0xd2, 0x49, 0x36, 0x4a, 0x78, 0x56, 0xe4, 0xe7, 0xe5, 0x18, 0xff, 0xca, 0x55, 0x4a,
- 0x01, 0xce, 0x4f, 0x29, 0x28, 0x41, 0xf3, 0x84, 0xb4, 0xeb, 0xee, 0x30, 0x1a, 0x99, 0x91, 0x7b,
- 0x78, 0x8f, 0x55, 0x0b, 0xec, 0x2c, 0x16, 0xe9, 0x47, 0xf2, 0x1b, 0x4b, 0xfb, 0xc9, 0xe8, 0x26,
- 0x49, 0x41, 0x6f, 0x5f, 0x9d, 0xbc, 0x49, 0xf9, 0x8f, 0x64, 0x48, 0xa1, 0x93, 0xf1, 0x48, 0xb9,
- 0xf5, 0x9d, 0x70, 0xa1, 0xbd, 0xf1, 0xad, 0x45, 0x12, 0x69, 0x7e, 0xd4, 0xf9, 0x11, 0xd3, 0xb2,
- 0xa0, 0x50, 0xf2, 0x6a, 0x0f, 0xbf, 0x33, 0xf7, 0xd2, 0x84, 0xc3, 0x5d, 0x52, 0xed, 0xd3, 0xe1,
- 0x70, 0x49, 0x7e, 0x73, 0xbe, 0xfb, 0x17, 0x00, 0x00, 0xff, 0xff, 0xd7, 0x14, 0xc2, 0x99, 0xa8,
- 0x0a, 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)
- // 权限变更后重新获取权限
- 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)
- 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)
- 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)
- 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)
- // 应用相关
- ApplicationOrderAdd(ctx context.Context, in *v1.ApplicationOrderAddRequest, opts ...grpc.CallOption) (*v1.ApplicationOrderAddReply, error)
- GardenApplicationList(ctx context.Context, in *v1.GardenApplicationListRequest, opts ...grpc.CallOption) (*v1.GardenApplicationListReply, error)
- // 短信套餐相关
- MsgPackageOrderAdd(ctx context.Context, in *v1.MsgPackageOrderAddRequest, opts ...grpc.CallOption) (*v1.MsgPackageOrderAddReply, error)
- MsgPackageOrderList(ctx context.Context, in *v1.MsgPackageOrderListRequest, opts ...grpc.CallOption) (*v1.MsgPackageOrderListReply, 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) 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) 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) 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) 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
- }
- 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) 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) 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) 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
- }
- // SystemServer is the server API for System service.
- type SystemServer interface {
- //
- 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)
- 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)
- 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)
- 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)
- // 应用相关
- ApplicationOrderAdd(context.Context, *v1.ApplicationOrderAddRequest) (*v1.ApplicationOrderAddReply, error)
- GardenApplicationList(context.Context, *v1.GardenApplicationListRequest) (*v1.GardenApplicationListReply, error)
- // 短信套餐相关
- MsgPackageOrderAdd(context.Context, *v1.MsgPackageOrderAddRequest) (*v1.MsgPackageOrderAddReply, error)
- MsgPackageOrderList(context.Context, *v1.MsgPackageOrderListRequest) (*v1.MsgPackageOrderListReply, 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) 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) 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) 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) 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 (*UnimplementedSystemServer) ApplicationOrderAdd(ctx context.Context, req *v1.ApplicationOrderAddRequest) (*v1.ApplicationOrderAddReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ApplicationOrderAdd 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) MsgPackageOrderAdd(ctx context.Context, req *v1.MsgPackageOrderAddRequest) (*v1.MsgPackageOrderAddReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method MsgPackageOrderAdd 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 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_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_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_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_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)
- }
- 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_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_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_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)
- }
- var _System_serviceDesc = grpc.ServiceDesc{
- ServiceName: "pb.service.System",
- HandlerType: (*SystemServer)(nil),
- Methods: []grpc.MethodDesc{
- {
- 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: "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: "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: "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,
- },
- {
- MethodName: "ApplicationOrderAdd",
- Handler: _System_ApplicationOrderAdd_Handler,
- },
- {
- MethodName: "GardenApplicationList",
- Handler: _System_GardenApplicationList_Handler,
- },
- {
- MethodName: "MsgPackageOrderAdd",
- Handler: _System_MsgPackageOrderAdd_Handler,
- },
- {
- MethodName: "MsgPackageOrderList",
- Handler: _System_MsgPackageOrderList_Handler,
- },
- },
- Streams: []grpc.StreamDesc{},
- Metadata: "system_service.proto",
- }
|