system_service.pb.go 88 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: system_service.proto
  3. // package声明符,用来防止不同的消息类型有命名冲突
  4. package pb
  5. import (
  6. context "context"
  7. fmt "fmt"
  8. proto "github.com/golang/protobuf/proto"
  9. grpc "google.golang.org/grpc"
  10. codes "google.golang.org/grpc/codes"
  11. status "google.golang.org/grpc/status"
  12. math "math"
  13. v1 "property-system/pb/v1"
  14. )
  15. // Reference imports to suppress errors if they are not otherwise used.
  16. var _ = proto.Marshal
  17. var _ = fmt.Errorf
  18. var _ = math.Inf
  19. // This is a compile-time assertion to ensure that this generated file
  20. // is compatible with the proto package it is being compiled against.
  21. // A compilation error at this line likely means your copy of the
  22. // proto package needs to be updated.
  23. const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
  24. func init() {
  25. proto.RegisterFile("system_service.proto", fileDescriptor_5d35c01297e407e4)
  26. }
  27. var fileDescriptor_5d35c01297e407e4 = []byte{
  28. // 1025 bytes of a gzipped FileDescriptorProto
  29. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x58, 0xdf, 0x6f, 0x23, 0x35,
  30. 0x10, 0xe6, 0x85, 0x03, 0xcc, 0x8f, 0x03, 0x37, 0xfd, 0x91, 0x50, 0xda, 0xa6, 0xbd, 0x7b, 0xa4,
  31. 0xa7, 0xc2, 0x03, 0x12, 0x12, 0x12, 0xbd, 0xf4, 0x38, 0x4e, 0xb4, 0xba, 0x2a, 0xd1, 0x49, 0x08,
  32. 0x24, 0x4e, 0x9b, 0xac, 0x49, 0x56, 0x4d, 0x76, 0xcd, 0xda, 0x29, 0xca, 0x5f, 0xc5, 0xbf, 0x88,
  33. 0xec, 0xb1, 0xbd, 0x9e, 0x59, 0x6f, 0xf2, 0xd8, 0xef, 0xfb, 0xe6, 0xb3, 0x33, 0x33, 0x9e, 0x1d,
  34. 0x95, 0xf5, 0xd4, 0x46, 0x69, 0xb1, 0x7a, 0xaf, 0x44, 0xfd, 0x58, 0xcc, 0xc4, 0xa5, 0xac, 0x2b,
  35. 0x5d, 0x71, 0x26, 0xa7, 0x97, 0x0e, 0x19, 0x3c, 0x7d, 0xbc, 0x7a, 0x01, 0x22, 0x20, 0xbf, 0xfb,
  36. 0x6f, 0xc8, 0x9e, 0x4c, 0x2c, 0xc0, 0x47, 0xec, 0xd3, 0xd7, 0x59, 0x9d, 0x8b, 0xf2, 0x4d, 0xf9,
  37. 0x77, 0xa5, 0x78, 0xff, 0x52, 0x4e, 0xdf, 0x3f, 0x5e, 0x5d, 0x46, 0xd8, 0x58, 0xfc, 0xb3, 0x16,
  38. 0x4a, 0x0f, 0x0e, 0x53, 0x94, 0x5c, 0x6e, 0xce, 0x3f, 0xe0, 0x3f, 0x33, 0x06, 0xe8, 0x6d, 0xa1,
  39. 0x34, 0x3f, 0x42, 0x42, 0x03, 0x79, 0x8b, 0x83, 0x04, 0x03, 0x0e, 0x3f, 0xb1, 0x4f, 0x9c, 0x6f,
  40. 0xae, 0x38, 0x39, 0x29, 0x0f, 0x57, 0xd8, 0x6f, 0x13, 0x24, 0xfc, 0x3a, 0xcf, 0x49, 0xf8, 0x75,
  41. 0x9e, 0xa7, 0xc3, 0x2d, 0x01, 0xe1, 0xbf, 0xb0, 0xcf, 0x00, 0x7b, 0x27, 0xf3, 0x4c, 0x0b, 0x3e,
  42. 0x40, 0x42, 0x00, 0xbd, 0xc9, 0x51, 0x92, 0x23, 0xd7, 0xb8, 0x11, 0x4b, 0x72, 0x8d, 0x1b, 0xb1,
  43. 0x4c, 0x5f, 0xc3, 0x12, 0x10, 0xfe, 0x27, 0xdb, 0x03, 0x6c, 0xb4, 0xc8, 0xca, 0xb9, 0x18, 0x55,
  44. 0x2b, 0x99, 0x95, 0x1b, 0x3e, 0x44, 0x7a, 0xc4, 0x79, 0xcb, 0xd3, 0x6d, 0x12, 0x30, 0x7f, 0xcb,
  45. 0x9e, 0x02, 0xfb, 0xaa, 0xcc, 0xa6, 0x4b, 0x31, 0x11, 0x9a, 0x7f, 0x83, 0xa2, 0x02, 0xee, 0x4d,
  46. 0xbf, 0xee, 0xa2, 0xc1, 0x30, 0x63, 0xfb, 0xc0, 0xfc, 0x5a, 0xad, 0x95, 0x18, 0x55, 0xeb, 0x52,
  47. 0xdf, 0x16, 0xab, 0x42, 0xf3, 0x0b, 0x14, 0x47, 0x58, 0x6f, 0x3e, 0xdc, 0x2e, 0x82, 0x23, 0x72,
  48. 0x76, 0x40, 0x79, 0xf8, 0x6d, 0xfc, 0x59, 0x47, 0x38, 0xd0, 0xfe, 0x90, 0xf3, 0x1d, 0x2a, 0x38,
  49. 0xe5, 0x8a, 0x7d, 0x78, 0x5b, 0xcd, 0x8b, 0x92, 0xef, 0x39, 0xb9, 0xfd, 0xcb, 0x7b, 0x7c, 0x85,
  50. 0xc1, 0x90, 0xcc, 0x7b, 0x51, 0xaf, 0x0a, 0xa5, 0x8a, 0xaa, 0x1c, 0x8b, 0x79, 0x94, 0x4c, 0x82,
  51. 0xd3, 0x64, 0xb6, 0xe8, 0xd0, 0x81, 0xf6, 0x80, 0x97, 0x9b, 0xfb, 0x45, 0x55, 0x36, 0x1d, 0x18,
  52. 0x83, 0xb4, 0x03, 0x31, 0x17, 0x5e, 0xe2, 0x68, 0x21, 0x66, 0x0f, 0xe0, 0xe2, 0x95, 0x0d, 0x44,
  53. 0x5f, 0x62, 0xcc, 0x80, 0xc3, 0x1b, 0xf6, 0xf9, 0x58, 0x28, 0xa1, 0xef, 0x33, 0xa5, 0xfe, 0xad,
  54. 0xea, 0x9c, 0xfb, 0x9b, 0x23, 0xd4, 0xfb, 0xf4, 0xd3, 0x24, 0x58, 0xdd, 0xb2, 0x2f, 0x20, 0xd3,
  55. 0xc1, 0xeb, 0x38, 0x1c, 0x1b, 0xc3, 0xde, 0x6c, 0xd0, 0xc1, 0x82, 0xdb, 0x0f, 0xec, 0xa3, 0x77,
  56. 0x4a, 0xd4, 0xe6, 0x85, 0xfb, 0x17, 0xe4, 0xfe, 0xf6, 0xf1, 0x7b, 0x14, 0x0e, 0x39, 0x31, 0x88,
  57. 0x7b, 0xdb, 0x47, 0x91, 0x08, 0xbf, 0xec, 0x83, 0x04, 0x83, 0x8e, 0x36, 0xaf, 0x3a, 0x3e, 0x3a,
  58. 0x7a, 0xd3, 0x7b, 0x14, 0x86, 0xc0, 0x1f, 0xd9, 0xc7, 0x06, 0xb1, 0x63, 0x31, 0xb6, 0x8f, 0x87,
  59. 0x62, 0xaf, 0x85, 0x43, 0xec, 0x98, 0x7d, 0x69, 0xa0, 0xf8, 0x49, 0xf3, 0x93, 0x48, 0x1b, 0x13,
  60. 0xde, 0xeb, 0xb8, 0x93, 0x07, 0xcf, 0xdf, 0x19, 0x77, 0x63, 0xe1, 0x55, 0xa9, 0xbd, 0x84, 0x9f,
  61. 0xf9, 0xbc, 0xb7, 0x28, 0xef, 0x7b, 0xb2, 0x45, 0x11, 0x7e, 0xe9, 0xeb, 0xba, 0x5a, 0x4b, 0x53,
  62. 0x9e, 0x30, 0xe6, 0x1d, 0x40, 0x7f, 0x69, 0x83, 0xe3, 0x58, 0x93, 0x5f, 0x14, 0x1b, 0x25, 0xb8,
  63. 0xd7, 0xc2, 0x9b, 0x91, 0x6b, 0x20, 0x9b, 0xe2, 0xc3, 0x58, 0x14, 0xe7, 0x78, 0xbf, 0x4d, 0xe0,
  64. 0x70, 0xf3, 0x39, 0xc3, 0xe1, 0x06, 0x49, 0x86, 0x03, 0x01, 0xe1, 0xe6, 0xeb, 0x69, 0x30, 0xd7,
  65. 0x5b, 0xfd, 0x58, 0x87, 0x9b, 0xeb, 0x30, 0x45, 0x85, 0xfe, 0x9c, 0xac, 0xa5, 0xa8, 0x2d, 0x15,
  66. 0xfa, 0xb3, 0x81, 0x68, 0x7f, 0xc6, 0x0c, 0x38, 0xfc, 0xc5, 0x7a, 0x50, 0x8d, 0x66, 0xba, 0xd8,
  67. 0x7c, 0xe0, 0xf9, 0x87, 0x49, 0xef, 0x7a, 0xb6, 0x55, 0x13, 0x66, 0xc2, 0x8d, 0x90, 0x59, 0xad,
  68. 0x57, 0xa2, 0xd4, 0xa6, 0xc2, 0x7e, 0x26, 0x20, 0x94, 0xce, 0x04, 0x42, 0x26, 0xac, 0x4c, 0xc1,
  69. 0xdb, 0x56, 0x51, 0xd5, 0xfb, 0x69, 0x32, 0x8c, 0x97, 0x06, 0xb7, 0xbf, 0xf7, 0xb8, 0x25, 0x8f,
  70. 0x7f, 0xe9, 0xa0, 0x83, 0x0d, 0xcf, 0xad, 0x21, 0x5c, 0x3d, 0x4f, 0x5a, 0x11, 0xb8, 0xa8, 0xc7,
  71. 0x9d, 0x3c, 0xf9, 0xa0, 0xff, 0x26, 0x36, 0xa6, 0x6d, 0xdc, 0x2b, 0xc6, 0xdf, 0x3e, 0xc4, 0xa5,
  72. 0x3f, 0xe8, 0x44, 0x02, 0xe6, 0x73, 0x76, 0x98, 0x60, 0x6d, 0x1e, 0x9e, 0x77, 0x47, 0xc7, 0x09,
  73. 0xb9, 0xd8, 0x25, 0x23, 0xdd, 0xe5, 0x14, 0xd7, 0x52, 0xd6, 0xd5, 0xa3, 0x20, 0xdd, 0x85, 0xc9,
  74. 0x74, 0x77, 0x51, 0x4d, 0x68, 0x09, 0xb7, 0x91, 0x39, 0x63, 0xbc, 0x78, 0x10, 0xc7, 0x7e, 0x9a,
  75. 0x24, 0x8b, 0xdc, 0x44, 0xe8, 0xbb, 0xd9, 0x82, 0x2c, 0x72, 0x00, 0xa6, 0x17, 0x39, 0xcf, 0x91,
  76. 0xc2, 0x01, 0x7c, 0x9f, 0x6d, 0xee, 0xaa, 0x9c, 0x16, 0x0e, 0x71, 0xe9, 0xc2, 0x11, 0x49, 0xc8,
  77. 0xa7, 0x9b, 0xa3, 0x77, 0xb3, 0x45, 0xb4, 0x37, 0x9f, 0xe3, 0x21, 0x8b, 0x48, 0x9a, 0xcf, 0xb4,
  78. 0x26, 0x5c, 0xfe, 0x5a, 0xca, 0x65, 0x31, 0xcb, 0x74, 0x51, 0x95, 0x6f, 0xeb, 0x1c, 0x3e, 0x9a,
  79. 0xfe, 0xf2, 0x09, 0x8e, 0x5e, 0x3e, 0x29, 0x09, 0x5d, 0xd7, 0x62, 0x5d, 0xd9, 0x9e, 0x77, 0x45,
  80. 0xe3, 0x02, 0x5e, 0xec, 0x92, 0x91, 0xf5, 0x32, 0xd2, 0xd9, 0x34, 0x5d, 0xd0, 0x06, 0x88, 0xd9,
  81. 0xf4, 0x7a, 0xd9, 0x12, 0x85, 0xf5, 0xb2, 0x75, 0x89, 0x95, 0xd9, 0x0f, 0xc3, 0x7a, 0x99, 0xa6,
  82. 0xe9, 0x7a, 0xd9, 0xa5, 0x6a, 0x76, 0xc5, 0x6c, 0xf6, 0x90, 0xcd, 0x45, 0x28, 0x45, 0xd8, 0x15,
  83. 0x31, 0xde, 0xda, 0x15, 0x29, 0x1d, 0xea, 0x8b, 0x18, 0x97, 0xfe, 0x61, 0x2a, 0x0a, 0xa7, 0xfe,
  84. 0x74, 0x9b, 0x84, 0x6e, 0x08, 0x4e, 0x64, 0x73, 0x4e, 0xda, 0x2e, 0xa2, 0x3a, 0x36, 0x04, 0xa4,
  85. 0x08, 0xce, 0xe8, 0x5c, 0xc8, 0xf4, 0x59, 0xea, 0x4a, 0x28, 0xcb, 0x27, 0x5b, 0x14, 0xe4, 0xb5,
  86. 0x8e, 0x45, 0xa9, 0x27, 0x62, 0xb9, 0xb4, 0x4b, 0x3e, 0x79, 0xad, 0x88, 0x4b, 0xbf, 0x56, 0x22,
  87. 0x09, 0xd7, 0xbe, 0x53, 0x73, 0x5a, 0x41, 0x7f, 0xed, 0x36, 0x45, 0xaf, 0x9d, 0x52, 0x84, 0xf6,
  88. 0xa3, 0xa4, 0x2b, 0xe5, 0xb3, 0x8e, 0x58, 0x5c, 0xcd, 0xf3, 0x1d, 0xaa, 0x90, 0x1c, 0x22, 0xb0,
  89. 0x15, 0x1d, 0xa6, 0x83, 0xe3, 0x92, 0x9e, 0x6e, 0x93, 0x84, 0x69, 0x40, 0xd8, 0x1b, 0x31, 0xab,
  90. 0x45, 0xa6, 0x9a, 0x69, 0xd0, 0xc1, 0xd3, 0x69, 0xd0, 0x29, 0xb3, 0x07, 0xbd, 0xec, 0xfd, 0xc1,
  91. 0x65, 0x5d, 0x49, 0x51, 0xeb, 0xcd, 0xb7, 0xf0, 0xaf, 0x8c, 0x17, 0x72, 0x3a, 0x7d, 0x62, 0xff,
  92. 0x9d, 0xf1, 0xfd, 0xff, 0x01, 0x00, 0x00, 0xff, 0xff, 0xe0, 0x7d, 0x67, 0xf1, 0x03, 0x11, 0x00,
  93. 0x00,
  94. }
  95. // Reference imports to suppress errors if they are not otherwise used.
  96. var _ context.Context
  97. var _ grpc.ClientConnInterface
  98. // This is a compile-time assertion to ensure that this generated file
  99. // is compatible with the grpc package it is being compiled against.
  100. const _ = grpc.SupportPackageIsVersion6
  101. // SystemClient is the client API for System service.
  102. //
  103. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  104. type SystemClient interface {
  105. GardenInfos(ctx context.Context, in *v1.GardenInfosRequest, opts ...grpc.CallOption) (*v1.GardenInfosReply, error)
  106. GardenList(ctx context.Context, in *v1.GardenListRequest, opts ...grpc.CallOption) (*v1.GardenListReply, error)
  107. GardenIds(ctx context.Context, in *v1.GardenIdsRequest, opts ...grpc.CallOption) (*v1.GardenIdsReply, error)
  108. GardenAdd(ctx context.Context, in *v1.GardenAddRequest, opts ...grpc.CallOption) (*v1.GardenAddReply, error)
  109. GardenUpdate(ctx context.Context, in *v1.GardenUpdateRequest, opts ...grpc.CallOption) (*v1.GardenUpdateReply, error)
  110. GardenDel(ctx context.Context, in *v1.GardenDelRequest, opts ...grpc.CallOption) (*v1.GardenDelReply, error)
  111. GardenChangeCompany(ctx context.Context, in *v1.GardenChangeCompanyRequest, opts ...grpc.CallOption) (*v1.GardenChangeCompanyReply, error)
  112. GardenEnableSet(ctx context.Context, in *v1.GardenEnableSetRequest, opts ...grpc.CallOption) (*v1.GardenEnableSetReply, error)
  113. GardenHouseCountLimit(ctx context.Context, in *v1.GardenHouseCountLimitRequest, opts ...grpc.CallOption) (*v1.GardenHouseCountLimitReply, error)
  114. GardenHouseCountChange(ctx context.Context, in *v1.GardenHouseCountChangeRequest, opts ...grpc.CallOption) (*v1.GardenHouseCountChangeReply, error)
  115. //
  116. Login(ctx context.Context, in *v1.LoginRequest, opts ...grpc.CallOption) (*v1.LoginReply, error)
  117. // 权限变更后重新获取权限
  118. PermissionReget(ctx context.Context, in *v1.PermissionRegetRequest, opts ...grpc.CallOption) (*v1.PermissionRegetReply, error)
  119. LoginByPhone(ctx context.Context, in *v1.LoginByPhoneRequest, opts ...grpc.CallOption) (*v1.LoginByPhoneReply, error)
  120. CheckPhone(ctx context.Context, in *v1.CheckPhoneRequest, opts ...grpc.CallOption) (*v1.CheckPhoneReply, error)
  121. ResetPassword(ctx context.Context, in *v1.ResetPasswordRequest, opts ...grpc.CallOption) (*v1.ResetPasswordReply, error)
  122. ChangePassword(ctx context.Context, in *v1.ChangePasswordRequest, opts ...grpc.CallOption) (*v1.ChangePasswordReply, error)
  123. UserAdd(ctx context.Context, in *v1.UserAddRequest, opts ...grpc.CallOption) (*v1.UserAddReply, error)
  124. UserUpdate(ctx context.Context, in *v1.UserUpdateRequest, opts ...grpc.CallOption) (*v1.UserUpdateReply, error)
  125. UserDel(ctx context.Context, in *v1.UserDelRequest, opts ...grpc.CallOption) (*v1.UserDelReply, error)
  126. UserList(ctx context.Context, in *v1.UserListRequest, opts ...grpc.CallOption) (*v1.UserListReply, error)
  127. UserGardenChange(ctx context.Context, in *v1.UserGardenChangeRequest, opts ...grpc.CallOption) (*v1.UserGardenChangeReply, error)
  128. // 公司账户进小区
  129. CompanyEnterGarden(ctx context.Context, in *v1.CompanyEnterGardenRequest, opts ...grpc.CallOption) (*v1.CompanyEnterGardenReply, error)
  130. // 权限
  131. GroupAdd(ctx context.Context, in *v1.GroupAddRequest, opts ...grpc.CallOption) (*v1.GroupAddReply, error)
  132. GroupDel(ctx context.Context, in *v1.GroupDelRequest, opts ...grpc.CallOption) (*v1.GroupDelReply, error)
  133. GroupList(ctx context.Context, in *v1.GroupListRequest, opts ...grpc.CallOption) (*v1.GroupListReply, error)
  134. GroupInfo(ctx context.Context, in *v1.GroupInfoRequest, opts ...grpc.CallOption) (*v1.GroupInfoReply, error)
  135. GroupUpdate(ctx context.Context, in *v1.GroupUpdateRequest, opts ...grpc.CallOption) (*v1.GroupUpdateReply, error)
  136. SuperGroup(ctx context.Context, in *v1.SuperGroupRequest, opts ...grpc.CallOption) (*v1.SuperGroupReply, error)
  137. GardenPermissionList(ctx context.Context, in *v1.GardenPermissionListRequest, opts ...grpc.CallOption) (*v1.GardenPermissionListReply, error)
  138. // 部门
  139. DepartmentAdd(ctx context.Context, in *v1.DepartmentAddRequest, opts ...grpc.CallOption) (*v1.DepartmentAddReply, error)
  140. DepartmentDel(ctx context.Context, in *v1.DepartmentDelRequest, opts ...grpc.CallOption) (*v1.DepartmentDelReply, error)
  141. DepartmentList(ctx context.Context, in *v1.DepartmentListRequest, opts ...grpc.CallOption) (*v1.DepartmentListReply, error)
  142. DepartmentUpdate(ctx context.Context, in *v1.DepartmentUpdateRequest, opts ...grpc.CallOption) (*v1.DepartmentUpdateReply, error)
  143. // 修改小区关键信息提交申请
  144. GardenKeyInfoChange(ctx context.Context, in *v1.GardenKeyInfoChangeRequest, opts ...grpc.CallOption) (*v1.GardenKeyInfoChangeReply, error)
  145. // 小区关键信息申请列表
  146. GardenKeyInfoChangeList(ctx context.Context, in *v1.GardenKeyInfoChangeListRequest, opts ...grpc.CallOption) (*v1.GardenKeyInfoChangeListReply, error)
  147. // 对小区关键信息申请进行审批
  148. GardenKeyInfoApprove(ctx context.Context, in *v1.GardenKeyInfoApproveRequest, opts ...grpc.CallOption) (*v1.GardenKeyInfoApproveReply, error)
  149. // 小区审批
  150. GardenApprove(ctx context.Context, in *v1.GardenApproveRequest, opts ...grpc.CallOption) (*v1.GardenApproveReply, error)
  151. // 设置小区支付商户号
  152. GardenSetMch(ctx context.Context, in *v1.GardenSetMchRequest, opts ...grpc.CallOption) (*v1.GardenSetMchReply, error)
  153. // 设置小区支付模式
  154. GardenSetMchPayMode(ctx context.Context, in *v1.GardenSetMchPayModeRequest, opts ...grpc.CallOption) (*v1.GardenSetMchPayModeReply, error)
  155. // 获取公司下的小区支付模式信息
  156. CompanyMchGardenList(ctx context.Context, in *v1.CompanyMchGardenListRequest, opts ...grpc.CallOption) (*v1.CompanyMchGardenListReply, error)
  157. // 应用相关
  158. ApplicationOrderAdd(ctx context.Context, in *v1.ApplicationOrderAddRequest, opts ...grpc.CallOption) (*v1.ApplicationOrderAddReply, error)
  159. ApplicationOrderApprove(ctx context.Context, in *v1.ApplicationOrderApproveRequest, opts ...grpc.CallOption) (*v1.ApplicationOrderApproveReply, error)
  160. GardenApplicationList(ctx context.Context, in *v1.GardenApplicationListRequest, opts ...grpc.CallOption) (*v1.GardenApplicationListReply, error)
  161. ApplicationOrderAmount(ctx context.Context, in *v1.ApplicationOrderAmountRequest, opts ...grpc.CallOption) (*v1.ApplicationOrderAmountReply, error)
  162. // 套餐相关
  163. PackageOrderAdd(ctx context.Context, in *v1.PackageOrderAddRequest, opts ...grpc.CallOption) (*v1.PackageOrderAddReply, error)
  164. PackageOrderApprove(ctx context.Context, in *v1.PackageOrderApproveRequest, opts ...grpc.CallOption) (*v1.PackageOrderApproveReply, error)
  165. CompanyPackageList(ctx context.Context, in *v1.CompanyPackageListRequest, opts ...grpc.CallOption) (*v1.CompanyPackageListReply, error)
  166. PackageOrderAmount(ctx context.Context, in *v1.PackageOrderAmountRequest, opts ...grpc.CallOption) (*v1.PackageOrderAmountReply, error)
  167. GardenRentSellCount(ctx context.Context, in *v1.GardenRentSellCountRequest, opts ...grpc.CallOption) (*v1.GardenRentSellCountReply, error)
  168. // 短信套餐相关
  169. MsgPackageOrderAdd(ctx context.Context, in *v1.MsgPackageOrderAddRequest, opts ...grpc.CallOption) (*v1.MsgPackageOrderAddReply, error)
  170. MsgPackageOrderApprove(ctx context.Context, in *v1.MsgPackageOrderApproveRequest, opts ...grpc.CallOption) (*v1.MsgPackageOrderApproveReply, error)
  171. MsgPackageOrderList(ctx context.Context, in *v1.MsgPackageOrderListRequest, opts ...grpc.CallOption) (*v1.MsgPackageOrderListReply, error)
  172. MsgPackageOrderDecrease(ctx context.Context, in *v1.MsgPackageOrderDecreaseRequest, opts ...grpc.CallOption) (*v1.MsgPackageOrderDecreaseReply, error)
  173. }
  174. type systemClient struct {
  175. cc grpc.ClientConnInterface
  176. }
  177. func NewSystemClient(cc grpc.ClientConnInterface) SystemClient {
  178. return &systemClient{cc}
  179. }
  180. func (c *systemClient) GardenInfos(ctx context.Context, in *v1.GardenInfosRequest, opts ...grpc.CallOption) (*v1.GardenInfosReply, error) {
  181. out := new(v1.GardenInfosReply)
  182. err := c.cc.Invoke(ctx, "/pb.service.System/GardenInfos", in, out, opts...)
  183. if err != nil {
  184. return nil, err
  185. }
  186. return out, nil
  187. }
  188. func (c *systemClient) GardenList(ctx context.Context, in *v1.GardenListRequest, opts ...grpc.CallOption) (*v1.GardenListReply, error) {
  189. out := new(v1.GardenListReply)
  190. err := c.cc.Invoke(ctx, "/pb.service.System/GardenList", in, out, opts...)
  191. if err != nil {
  192. return nil, err
  193. }
  194. return out, nil
  195. }
  196. func (c *systemClient) GardenIds(ctx context.Context, in *v1.GardenIdsRequest, opts ...grpc.CallOption) (*v1.GardenIdsReply, error) {
  197. out := new(v1.GardenIdsReply)
  198. err := c.cc.Invoke(ctx, "/pb.service.System/GardenIds", in, out, opts...)
  199. if err != nil {
  200. return nil, err
  201. }
  202. return out, nil
  203. }
  204. func (c *systemClient) GardenAdd(ctx context.Context, in *v1.GardenAddRequest, opts ...grpc.CallOption) (*v1.GardenAddReply, error) {
  205. out := new(v1.GardenAddReply)
  206. err := c.cc.Invoke(ctx, "/pb.service.System/GardenAdd", in, out, opts...)
  207. if err != nil {
  208. return nil, err
  209. }
  210. return out, nil
  211. }
  212. func (c *systemClient) GardenUpdate(ctx context.Context, in *v1.GardenUpdateRequest, opts ...grpc.CallOption) (*v1.GardenUpdateReply, error) {
  213. out := new(v1.GardenUpdateReply)
  214. err := c.cc.Invoke(ctx, "/pb.service.System/GardenUpdate", in, out, opts...)
  215. if err != nil {
  216. return nil, err
  217. }
  218. return out, nil
  219. }
  220. func (c *systemClient) GardenDel(ctx context.Context, in *v1.GardenDelRequest, opts ...grpc.CallOption) (*v1.GardenDelReply, error) {
  221. out := new(v1.GardenDelReply)
  222. err := c.cc.Invoke(ctx, "/pb.service.System/GardenDel", in, out, opts...)
  223. if err != nil {
  224. return nil, err
  225. }
  226. return out, nil
  227. }
  228. func (c *systemClient) GardenChangeCompany(ctx context.Context, in *v1.GardenChangeCompanyRequest, opts ...grpc.CallOption) (*v1.GardenChangeCompanyReply, error) {
  229. out := new(v1.GardenChangeCompanyReply)
  230. err := c.cc.Invoke(ctx, "/pb.service.System/GardenChangeCompany", in, out, opts...)
  231. if err != nil {
  232. return nil, err
  233. }
  234. return out, nil
  235. }
  236. func (c *systemClient) GardenEnableSet(ctx context.Context, in *v1.GardenEnableSetRequest, opts ...grpc.CallOption) (*v1.GardenEnableSetReply, error) {
  237. out := new(v1.GardenEnableSetReply)
  238. err := c.cc.Invoke(ctx, "/pb.service.System/GardenEnableSet", in, out, opts...)
  239. if err != nil {
  240. return nil, err
  241. }
  242. return out, nil
  243. }
  244. func (c *systemClient) GardenHouseCountLimit(ctx context.Context, in *v1.GardenHouseCountLimitRequest, opts ...grpc.CallOption) (*v1.GardenHouseCountLimitReply, error) {
  245. out := new(v1.GardenHouseCountLimitReply)
  246. err := c.cc.Invoke(ctx, "/pb.service.System/GardenHouseCountLimit", in, out, opts...)
  247. if err != nil {
  248. return nil, err
  249. }
  250. return out, nil
  251. }
  252. func (c *systemClient) GardenHouseCountChange(ctx context.Context, in *v1.GardenHouseCountChangeRequest, opts ...grpc.CallOption) (*v1.GardenHouseCountChangeReply, error) {
  253. out := new(v1.GardenHouseCountChangeReply)
  254. err := c.cc.Invoke(ctx, "/pb.service.System/GardenHouseCountChange", in, out, opts...)
  255. if err != nil {
  256. return nil, err
  257. }
  258. return out, nil
  259. }
  260. func (c *systemClient) Login(ctx context.Context, in *v1.LoginRequest, opts ...grpc.CallOption) (*v1.LoginReply, error) {
  261. out := new(v1.LoginReply)
  262. err := c.cc.Invoke(ctx, "/pb.service.System/Login", in, out, opts...)
  263. if err != nil {
  264. return nil, err
  265. }
  266. return out, nil
  267. }
  268. func (c *systemClient) PermissionReget(ctx context.Context, in *v1.PermissionRegetRequest, opts ...grpc.CallOption) (*v1.PermissionRegetReply, error) {
  269. out := new(v1.PermissionRegetReply)
  270. err := c.cc.Invoke(ctx, "/pb.service.System/PermissionReget", in, out, opts...)
  271. if err != nil {
  272. return nil, err
  273. }
  274. return out, nil
  275. }
  276. func (c *systemClient) LoginByPhone(ctx context.Context, in *v1.LoginByPhoneRequest, opts ...grpc.CallOption) (*v1.LoginByPhoneReply, error) {
  277. out := new(v1.LoginByPhoneReply)
  278. err := c.cc.Invoke(ctx, "/pb.service.System/LoginByPhone", in, out, opts...)
  279. if err != nil {
  280. return nil, err
  281. }
  282. return out, nil
  283. }
  284. func (c *systemClient) CheckPhone(ctx context.Context, in *v1.CheckPhoneRequest, opts ...grpc.CallOption) (*v1.CheckPhoneReply, error) {
  285. out := new(v1.CheckPhoneReply)
  286. err := c.cc.Invoke(ctx, "/pb.service.System/CheckPhone", in, out, opts...)
  287. if err != nil {
  288. return nil, err
  289. }
  290. return out, nil
  291. }
  292. func (c *systemClient) ResetPassword(ctx context.Context, in *v1.ResetPasswordRequest, opts ...grpc.CallOption) (*v1.ResetPasswordReply, error) {
  293. out := new(v1.ResetPasswordReply)
  294. err := c.cc.Invoke(ctx, "/pb.service.System/ResetPassword", in, out, opts...)
  295. if err != nil {
  296. return nil, err
  297. }
  298. return out, nil
  299. }
  300. func (c *systemClient) ChangePassword(ctx context.Context, in *v1.ChangePasswordRequest, opts ...grpc.CallOption) (*v1.ChangePasswordReply, error) {
  301. out := new(v1.ChangePasswordReply)
  302. err := c.cc.Invoke(ctx, "/pb.service.System/ChangePassword", in, out, opts...)
  303. if err != nil {
  304. return nil, err
  305. }
  306. return out, nil
  307. }
  308. func (c *systemClient) UserAdd(ctx context.Context, in *v1.UserAddRequest, opts ...grpc.CallOption) (*v1.UserAddReply, error) {
  309. out := new(v1.UserAddReply)
  310. err := c.cc.Invoke(ctx, "/pb.service.System/UserAdd", in, out, opts...)
  311. if err != nil {
  312. return nil, err
  313. }
  314. return out, nil
  315. }
  316. func (c *systemClient) UserUpdate(ctx context.Context, in *v1.UserUpdateRequest, opts ...grpc.CallOption) (*v1.UserUpdateReply, error) {
  317. out := new(v1.UserUpdateReply)
  318. err := c.cc.Invoke(ctx, "/pb.service.System/UserUpdate", in, out, opts...)
  319. if err != nil {
  320. return nil, err
  321. }
  322. return out, nil
  323. }
  324. func (c *systemClient) UserDel(ctx context.Context, in *v1.UserDelRequest, opts ...grpc.CallOption) (*v1.UserDelReply, error) {
  325. out := new(v1.UserDelReply)
  326. err := c.cc.Invoke(ctx, "/pb.service.System/UserDel", in, out, opts...)
  327. if err != nil {
  328. return nil, err
  329. }
  330. return out, nil
  331. }
  332. func (c *systemClient) UserList(ctx context.Context, in *v1.UserListRequest, opts ...grpc.CallOption) (*v1.UserListReply, error) {
  333. out := new(v1.UserListReply)
  334. err := c.cc.Invoke(ctx, "/pb.service.System/UserList", in, out, opts...)
  335. if err != nil {
  336. return nil, err
  337. }
  338. return out, nil
  339. }
  340. func (c *systemClient) UserGardenChange(ctx context.Context, in *v1.UserGardenChangeRequest, opts ...grpc.CallOption) (*v1.UserGardenChangeReply, error) {
  341. out := new(v1.UserGardenChangeReply)
  342. err := c.cc.Invoke(ctx, "/pb.service.System/UserGardenChange", in, out, opts...)
  343. if err != nil {
  344. return nil, err
  345. }
  346. return out, nil
  347. }
  348. func (c *systemClient) CompanyEnterGarden(ctx context.Context, in *v1.CompanyEnterGardenRequest, opts ...grpc.CallOption) (*v1.CompanyEnterGardenReply, error) {
  349. out := new(v1.CompanyEnterGardenReply)
  350. err := c.cc.Invoke(ctx, "/pb.service.System/CompanyEnterGarden", in, out, opts...)
  351. if err != nil {
  352. return nil, err
  353. }
  354. return out, nil
  355. }
  356. func (c *systemClient) GroupAdd(ctx context.Context, in *v1.GroupAddRequest, opts ...grpc.CallOption) (*v1.GroupAddReply, error) {
  357. out := new(v1.GroupAddReply)
  358. err := c.cc.Invoke(ctx, "/pb.service.System/GroupAdd", in, out, opts...)
  359. if err != nil {
  360. return nil, err
  361. }
  362. return out, nil
  363. }
  364. func (c *systemClient) GroupDel(ctx context.Context, in *v1.GroupDelRequest, opts ...grpc.CallOption) (*v1.GroupDelReply, error) {
  365. out := new(v1.GroupDelReply)
  366. err := c.cc.Invoke(ctx, "/pb.service.System/GroupDel", in, out, opts...)
  367. if err != nil {
  368. return nil, err
  369. }
  370. return out, nil
  371. }
  372. func (c *systemClient) GroupList(ctx context.Context, in *v1.GroupListRequest, opts ...grpc.CallOption) (*v1.GroupListReply, error) {
  373. out := new(v1.GroupListReply)
  374. err := c.cc.Invoke(ctx, "/pb.service.System/GroupList", in, out, opts...)
  375. if err != nil {
  376. return nil, err
  377. }
  378. return out, nil
  379. }
  380. func (c *systemClient) GroupInfo(ctx context.Context, in *v1.GroupInfoRequest, opts ...grpc.CallOption) (*v1.GroupInfoReply, error) {
  381. out := new(v1.GroupInfoReply)
  382. err := c.cc.Invoke(ctx, "/pb.service.System/GroupInfo", in, out, opts...)
  383. if err != nil {
  384. return nil, err
  385. }
  386. return out, nil
  387. }
  388. func (c *systemClient) GroupUpdate(ctx context.Context, in *v1.GroupUpdateRequest, opts ...grpc.CallOption) (*v1.GroupUpdateReply, error) {
  389. out := new(v1.GroupUpdateReply)
  390. err := c.cc.Invoke(ctx, "/pb.service.System/GroupUpdate", in, out, opts...)
  391. if err != nil {
  392. return nil, err
  393. }
  394. return out, nil
  395. }
  396. func (c *systemClient) SuperGroup(ctx context.Context, in *v1.SuperGroupRequest, opts ...grpc.CallOption) (*v1.SuperGroupReply, error) {
  397. out := new(v1.SuperGroupReply)
  398. err := c.cc.Invoke(ctx, "/pb.service.System/SuperGroup", in, out, opts...)
  399. if err != nil {
  400. return nil, err
  401. }
  402. return out, nil
  403. }
  404. func (c *systemClient) GardenPermissionList(ctx context.Context, in *v1.GardenPermissionListRequest, opts ...grpc.CallOption) (*v1.GardenPermissionListReply, error) {
  405. out := new(v1.GardenPermissionListReply)
  406. err := c.cc.Invoke(ctx, "/pb.service.System/GardenPermissionList", in, out, opts...)
  407. if err != nil {
  408. return nil, err
  409. }
  410. return out, nil
  411. }
  412. func (c *systemClient) DepartmentAdd(ctx context.Context, in *v1.DepartmentAddRequest, opts ...grpc.CallOption) (*v1.DepartmentAddReply, error) {
  413. out := new(v1.DepartmentAddReply)
  414. err := c.cc.Invoke(ctx, "/pb.service.System/DepartmentAdd", in, out, opts...)
  415. if err != nil {
  416. return nil, err
  417. }
  418. return out, nil
  419. }
  420. func (c *systemClient) DepartmentDel(ctx context.Context, in *v1.DepartmentDelRequest, opts ...grpc.CallOption) (*v1.DepartmentDelReply, error) {
  421. out := new(v1.DepartmentDelReply)
  422. err := c.cc.Invoke(ctx, "/pb.service.System/DepartmentDel", in, out, opts...)
  423. if err != nil {
  424. return nil, err
  425. }
  426. return out, nil
  427. }
  428. func (c *systemClient) DepartmentList(ctx context.Context, in *v1.DepartmentListRequest, opts ...grpc.CallOption) (*v1.DepartmentListReply, error) {
  429. out := new(v1.DepartmentListReply)
  430. err := c.cc.Invoke(ctx, "/pb.service.System/DepartmentList", in, out, opts...)
  431. if err != nil {
  432. return nil, err
  433. }
  434. return out, nil
  435. }
  436. func (c *systemClient) DepartmentUpdate(ctx context.Context, in *v1.DepartmentUpdateRequest, opts ...grpc.CallOption) (*v1.DepartmentUpdateReply, error) {
  437. out := new(v1.DepartmentUpdateReply)
  438. err := c.cc.Invoke(ctx, "/pb.service.System/DepartmentUpdate", in, out, opts...)
  439. if err != nil {
  440. return nil, err
  441. }
  442. return out, nil
  443. }
  444. func (c *systemClient) GardenKeyInfoChange(ctx context.Context, in *v1.GardenKeyInfoChangeRequest, opts ...grpc.CallOption) (*v1.GardenKeyInfoChangeReply, error) {
  445. out := new(v1.GardenKeyInfoChangeReply)
  446. err := c.cc.Invoke(ctx, "/pb.service.System/GardenKeyInfoChange", in, out, opts...)
  447. if err != nil {
  448. return nil, err
  449. }
  450. return out, nil
  451. }
  452. func (c *systemClient) GardenKeyInfoChangeList(ctx context.Context, in *v1.GardenKeyInfoChangeListRequest, opts ...grpc.CallOption) (*v1.GardenKeyInfoChangeListReply, error) {
  453. out := new(v1.GardenKeyInfoChangeListReply)
  454. err := c.cc.Invoke(ctx, "/pb.service.System/GardenKeyInfoChangeList", in, out, opts...)
  455. if err != nil {
  456. return nil, err
  457. }
  458. return out, nil
  459. }
  460. func (c *systemClient) GardenKeyInfoApprove(ctx context.Context, in *v1.GardenKeyInfoApproveRequest, opts ...grpc.CallOption) (*v1.GardenKeyInfoApproveReply, error) {
  461. out := new(v1.GardenKeyInfoApproveReply)
  462. err := c.cc.Invoke(ctx, "/pb.service.System/GardenKeyInfoApprove", in, out, opts...)
  463. if err != nil {
  464. return nil, err
  465. }
  466. return out, nil
  467. }
  468. func (c *systemClient) GardenApprove(ctx context.Context, in *v1.GardenApproveRequest, opts ...grpc.CallOption) (*v1.GardenApproveReply, error) {
  469. out := new(v1.GardenApproveReply)
  470. err := c.cc.Invoke(ctx, "/pb.service.System/GardenApprove", in, out, opts...)
  471. if err != nil {
  472. return nil, err
  473. }
  474. return out, nil
  475. }
  476. func (c *systemClient) GardenSetMch(ctx context.Context, in *v1.GardenSetMchRequest, opts ...grpc.CallOption) (*v1.GardenSetMchReply, error) {
  477. out := new(v1.GardenSetMchReply)
  478. err := c.cc.Invoke(ctx, "/pb.service.System/GardenSetMch", in, out, opts...)
  479. if err != nil {
  480. return nil, err
  481. }
  482. return out, nil
  483. }
  484. func (c *systemClient) GardenSetMchPayMode(ctx context.Context, in *v1.GardenSetMchPayModeRequest, opts ...grpc.CallOption) (*v1.GardenSetMchPayModeReply, error) {
  485. out := new(v1.GardenSetMchPayModeReply)
  486. err := c.cc.Invoke(ctx, "/pb.service.System/GardenSetMchPayMode", in, out, opts...)
  487. if err != nil {
  488. return nil, err
  489. }
  490. return out, nil
  491. }
  492. func (c *systemClient) CompanyMchGardenList(ctx context.Context, in *v1.CompanyMchGardenListRequest, opts ...grpc.CallOption) (*v1.CompanyMchGardenListReply, error) {
  493. out := new(v1.CompanyMchGardenListReply)
  494. err := c.cc.Invoke(ctx, "/pb.service.System/CompanyMchGardenList", in, out, opts...)
  495. if err != nil {
  496. return nil, err
  497. }
  498. return out, nil
  499. }
  500. func (c *systemClient) ApplicationOrderAdd(ctx context.Context, in *v1.ApplicationOrderAddRequest, opts ...grpc.CallOption) (*v1.ApplicationOrderAddReply, error) {
  501. out := new(v1.ApplicationOrderAddReply)
  502. err := c.cc.Invoke(ctx, "/pb.service.System/ApplicationOrderAdd", in, out, opts...)
  503. if err != nil {
  504. return nil, err
  505. }
  506. return out, nil
  507. }
  508. func (c *systemClient) ApplicationOrderApprove(ctx context.Context, in *v1.ApplicationOrderApproveRequest, opts ...grpc.CallOption) (*v1.ApplicationOrderApproveReply, error) {
  509. out := new(v1.ApplicationOrderApproveReply)
  510. err := c.cc.Invoke(ctx, "/pb.service.System/ApplicationOrderApprove", in, out, opts...)
  511. if err != nil {
  512. return nil, err
  513. }
  514. return out, nil
  515. }
  516. func (c *systemClient) GardenApplicationList(ctx context.Context, in *v1.GardenApplicationListRequest, opts ...grpc.CallOption) (*v1.GardenApplicationListReply, error) {
  517. out := new(v1.GardenApplicationListReply)
  518. err := c.cc.Invoke(ctx, "/pb.service.System/GardenApplicationList", in, out, opts...)
  519. if err != nil {
  520. return nil, err
  521. }
  522. return out, nil
  523. }
  524. func (c *systemClient) ApplicationOrderAmount(ctx context.Context, in *v1.ApplicationOrderAmountRequest, opts ...grpc.CallOption) (*v1.ApplicationOrderAmountReply, error) {
  525. out := new(v1.ApplicationOrderAmountReply)
  526. err := c.cc.Invoke(ctx, "/pb.service.System/ApplicationOrderAmount", in, out, opts...)
  527. if err != nil {
  528. return nil, err
  529. }
  530. return out, nil
  531. }
  532. func (c *systemClient) PackageOrderAdd(ctx context.Context, in *v1.PackageOrderAddRequest, opts ...grpc.CallOption) (*v1.PackageOrderAddReply, error) {
  533. out := new(v1.PackageOrderAddReply)
  534. err := c.cc.Invoke(ctx, "/pb.service.System/PackageOrderAdd", in, out, opts...)
  535. if err != nil {
  536. return nil, err
  537. }
  538. return out, nil
  539. }
  540. func (c *systemClient) PackageOrderApprove(ctx context.Context, in *v1.PackageOrderApproveRequest, opts ...grpc.CallOption) (*v1.PackageOrderApproveReply, error) {
  541. out := new(v1.PackageOrderApproveReply)
  542. err := c.cc.Invoke(ctx, "/pb.service.System/PackageOrderApprove", in, out, opts...)
  543. if err != nil {
  544. return nil, err
  545. }
  546. return out, nil
  547. }
  548. func (c *systemClient) CompanyPackageList(ctx context.Context, in *v1.CompanyPackageListRequest, opts ...grpc.CallOption) (*v1.CompanyPackageListReply, error) {
  549. out := new(v1.CompanyPackageListReply)
  550. err := c.cc.Invoke(ctx, "/pb.service.System/CompanyPackageList", in, out, opts...)
  551. if err != nil {
  552. return nil, err
  553. }
  554. return out, nil
  555. }
  556. func (c *systemClient) PackageOrderAmount(ctx context.Context, in *v1.PackageOrderAmountRequest, opts ...grpc.CallOption) (*v1.PackageOrderAmountReply, error) {
  557. out := new(v1.PackageOrderAmountReply)
  558. err := c.cc.Invoke(ctx, "/pb.service.System/PackageOrderAmount", in, out, opts...)
  559. if err != nil {
  560. return nil, err
  561. }
  562. return out, nil
  563. }
  564. func (c *systemClient) GardenRentSellCount(ctx context.Context, in *v1.GardenRentSellCountRequest, opts ...grpc.CallOption) (*v1.GardenRentSellCountReply, error) {
  565. out := new(v1.GardenRentSellCountReply)
  566. err := c.cc.Invoke(ctx, "/pb.service.System/GardenRentSellCount", in, out, opts...)
  567. if err != nil {
  568. return nil, err
  569. }
  570. return out, nil
  571. }
  572. func (c *systemClient) MsgPackageOrderAdd(ctx context.Context, in *v1.MsgPackageOrderAddRequest, opts ...grpc.CallOption) (*v1.MsgPackageOrderAddReply, error) {
  573. out := new(v1.MsgPackageOrderAddReply)
  574. err := c.cc.Invoke(ctx, "/pb.service.System/MsgPackageOrderAdd", in, out, opts...)
  575. if err != nil {
  576. return nil, err
  577. }
  578. return out, nil
  579. }
  580. func (c *systemClient) MsgPackageOrderApprove(ctx context.Context, in *v1.MsgPackageOrderApproveRequest, opts ...grpc.CallOption) (*v1.MsgPackageOrderApproveReply, error) {
  581. out := new(v1.MsgPackageOrderApproveReply)
  582. err := c.cc.Invoke(ctx, "/pb.service.System/MsgPackageOrderApprove", in, out, opts...)
  583. if err != nil {
  584. return nil, err
  585. }
  586. return out, nil
  587. }
  588. func (c *systemClient) MsgPackageOrderList(ctx context.Context, in *v1.MsgPackageOrderListRequest, opts ...grpc.CallOption) (*v1.MsgPackageOrderListReply, error) {
  589. out := new(v1.MsgPackageOrderListReply)
  590. err := c.cc.Invoke(ctx, "/pb.service.System/MsgPackageOrderList", in, out, opts...)
  591. if err != nil {
  592. return nil, err
  593. }
  594. return out, nil
  595. }
  596. func (c *systemClient) MsgPackageOrderDecrease(ctx context.Context, in *v1.MsgPackageOrderDecreaseRequest, opts ...grpc.CallOption) (*v1.MsgPackageOrderDecreaseReply, error) {
  597. out := new(v1.MsgPackageOrderDecreaseReply)
  598. err := c.cc.Invoke(ctx, "/pb.service.System/MsgPackageOrderDecrease", in, out, opts...)
  599. if err != nil {
  600. return nil, err
  601. }
  602. return out, nil
  603. }
  604. // SystemServer is the server API for System service.
  605. type SystemServer interface {
  606. GardenInfos(context.Context, *v1.GardenInfosRequest) (*v1.GardenInfosReply, error)
  607. GardenList(context.Context, *v1.GardenListRequest) (*v1.GardenListReply, error)
  608. GardenIds(context.Context, *v1.GardenIdsRequest) (*v1.GardenIdsReply, error)
  609. GardenAdd(context.Context, *v1.GardenAddRequest) (*v1.GardenAddReply, error)
  610. GardenUpdate(context.Context, *v1.GardenUpdateRequest) (*v1.GardenUpdateReply, error)
  611. GardenDel(context.Context, *v1.GardenDelRequest) (*v1.GardenDelReply, error)
  612. GardenChangeCompany(context.Context, *v1.GardenChangeCompanyRequest) (*v1.GardenChangeCompanyReply, error)
  613. GardenEnableSet(context.Context, *v1.GardenEnableSetRequest) (*v1.GardenEnableSetReply, error)
  614. GardenHouseCountLimit(context.Context, *v1.GardenHouseCountLimitRequest) (*v1.GardenHouseCountLimitReply, error)
  615. GardenHouseCountChange(context.Context, *v1.GardenHouseCountChangeRequest) (*v1.GardenHouseCountChangeReply, error)
  616. //
  617. Login(context.Context, *v1.LoginRequest) (*v1.LoginReply, error)
  618. // 权限变更后重新获取权限
  619. PermissionReget(context.Context, *v1.PermissionRegetRequest) (*v1.PermissionRegetReply, error)
  620. LoginByPhone(context.Context, *v1.LoginByPhoneRequest) (*v1.LoginByPhoneReply, error)
  621. CheckPhone(context.Context, *v1.CheckPhoneRequest) (*v1.CheckPhoneReply, error)
  622. ResetPassword(context.Context, *v1.ResetPasswordRequest) (*v1.ResetPasswordReply, error)
  623. ChangePassword(context.Context, *v1.ChangePasswordRequest) (*v1.ChangePasswordReply, error)
  624. UserAdd(context.Context, *v1.UserAddRequest) (*v1.UserAddReply, error)
  625. UserUpdate(context.Context, *v1.UserUpdateRequest) (*v1.UserUpdateReply, error)
  626. UserDel(context.Context, *v1.UserDelRequest) (*v1.UserDelReply, error)
  627. UserList(context.Context, *v1.UserListRequest) (*v1.UserListReply, error)
  628. UserGardenChange(context.Context, *v1.UserGardenChangeRequest) (*v1.UserGardenChangeReply, error)
  629. // 公司账户进小区
  630. CompanyEnterGarden(context.Context, *v1.CompanyEnterGardenRequest) (*v1.CompanyEnterGardenReply, error)
  631. // 权限
  632. GroupAdd(context.Context, *v1.GroupAddRequest) (*v1.GroupAddReply, error)
  633. GroupDel(context.Context, *v1.GroupDelRequest) (*v1.GroupDelReply, error)
  634. GroupList(context.Context, *v1.GroupListRequest) (*v1.GroupListReply, error)
  635. GroupInfo(context.Context, *v1.GroupInfoRequest) (*v1.GroupInfoReply, error)
  636. GroupUpdate(context.Context, *v1.GroupUpdateRequest) (*v1.GroupUpdateReply, error)
  637. SuperGroup(context.Context, *v1.SuperGroupRequest) (*v1.SuperGroupReply, error)
  638. GardenPermissionList(context.Context, *v1.GardenPermissionListRequest) (*v1.GardenPermissionListReply, error)
  639. // 部门
  640. DepartmentAdd(context.Context, *v1.DepartmentAddRequest) (*v1.DepartmentAddReply, error)
  641. DepartmentDel(context.Context, *v1.DepartmentDelRequest) (*v1.DepartmentDelReply, error)
  642. DepartmentList(context.Context, *v1.DepartmentListRequest) (*v1.DepartmentListReply, error)
  643. DepartmentUpdate(context.Context, *v1.DepartmentUpdateRequest) (*v1.DepartmentUpdateReply, error)
  644. // 修改小区关键信息提交申请
  645. GardenKeyInfoChange(context.Context, *v1.GardenKeyInfoChangeRequest) (*v1.GardenKeyInfoChangeReply, error)
  646. // 小区关键信息申请列表
  647. GardenKeyInfoChangeList(context.Context, *v1.GardenKeyInfoChangeListRequest) (*v1.GardenKeyInfoChangeListReply, error)
  648. // 对小区关键信息申请进行审批
  649. GardenKeyInfoApprove(context.Context, *v1.GardenKeyInfoApproveRequest) (*v1.GardenKeyInfoApproveReply, error)
  650. // 小区审批
  651. GardenApprove(context.Context, *v1.GardenApproveRequest) (*v1.GardenApproveReply, error)
  652. // 设置小区支付商户号
  653. GardenSetMch(context.Context, *v1.GardenSetMchRequest) (*v1.GardenSetMchReply, error)
  654. // 设置小区支付模式
  655. GardenSetMchPayMode(context.Context, *v1.GardenSetMchPayModeRequest) (*v1.GardenSetMchPayModeReply, error)
  656. // 获取公司下的小区支付模式信息
  657. CompanyMchGardenList(context.Context, *v1.CompanyMchGardenListRequest) (*v1.CompanyMchGardenListReply, error)
  658. // 应用相关
  659. ApplicationOrderAdd(context.Context, *v1.ApplicationOrderAddRequest) (*v1.ApplicationOrderAddReply, error)
  660. ApplicationOrderApprove(context.Context, *v1.ApplicationOrderApproveRequest) (*v1.ApplicationOrderApproveReply, error)
  661. GardenApplicationList(context.Context, *v1.GardenApplicationListRequest) (*v1.GardenApplicationListReply, error)
  662. ApplicationOrderAmount(context.Context, *v1.ApplicationOrderAmountRequest) (*v1.ApplicationOrderAmountReply, error)
  663. // 套餐相关
  664. PackageOrderAdd(context.Context, *v1.PackageOrderAddRequest) (*v1.PackageOrderAddReply, error)
  665. PackageOrderApprove(context.Context, *v1.PackageOrderApproveRequest) (*v1.PackageOrderApproveReply, error)
  666. CompanyPackageList(context.Context, *v1.CompanyPackageListRequest) (*v1.CompanyPackageListReply, error)
  667. PackageOrderAmount(context.Context, *v1.PackageOrderAmountRequest) (*v1.PackageOrderAmountReply, error)
  668. GardenRentSellCount(context.Context, *v1.GardenRentSellCountRequest) (*v1.GardenRentSellCountReply, error)
  669. // 短信套餐相关
  670. MsgPackageOrderAdd(context.Context, *v1.MsgPackageOrderAddRequest) (*v1.MsgPackageOrderAddReply, error)
  671. MsgPackageOrderApprove(context.Context, *v1.MsgPackageOrderApproveRequest) (*v1.MsgPackageOrderApproveReply, error)
  672. MsgPackageOrderList(context.Context, *v1.MsgPackageOrderListRequest) (*v1.MsgPackageOrderListReply, error)
  673. MsgPackageOrderDecrease(context.Context, *v1.MsgPackageOrderDecreaseRequest) (*v1.MsgPackageOrderDecreaseReply, error)
  674. }
  675. // UnimplementedSystemServer can be embedded to have forward compatible implementations.
  676. type UnimplementedSystemServer struct {
  677. }
  678. func (*UnimplementedSystemServer) GardenInfos(ctx context.Context, req *v1.GardenInfosRequest) (*v1.GardenInfosReply, error) {
  679. return nil, status.Errorf(codes.Unimplemented, "method GardenInfos not implemented")
  680. }
  681. func (*UnimplementedSystemServer) GardenList(ctx context.Context, req *v1.GardenListRequest) (*v1.GardenListReply, error) {
  682. return nil, status.Errorf(codes.Unimplemented, "method GardenList not implemented")
  683. }
  684. func (*UnimplementedSystemServer) GardenIds(ctx context.Context, req *v1.GardenIdsRequest) (*v1.GardenIdsReply, error) {
  685. return nil, status.Errorf(codes.Unimplemented, "method GardenIds not implemented")
  686. }
  687. func (*UnimplementedSystemServer) GardenAdd(ctx context.Context, req *v1.GardenAddRequest) (*v1.GardenAddReply, error) {
  688. return nil, status.Errorf(codes.Unimplemented, "method GardenAdd not implemented")
  689. }
  690. func (*UnimplementedSystemServer) GardenUpdate(ctx context.Context, req *v1.GardenUpdateRequest) (*v1.GardenUpdateReply, error) {
  691. return nil, status.Errorf(codes.Unimplemented, "method GardenUpdate not implemented")
  692. }
  693. func (*UnimplementedSystemServer) GardenDel(ctx context.Context, req *v1.GardenDelRequest) (*v1.GardenDelReply, error) {
  694. return nil, status.Errorf(codes.Unimplemented, "method GardenDel not implemented")
  695. }
  696. func (*UnimplementedSystemServer) GardenChangeCompany(ctx context.Context, req *v1.GardenChangeCompanyRequest) (*v1.GardenChangeCompanyReply, error) {
  697. return nil, status.Errorf(codes.Unimplemented, "method GardenChangeCompany not implemented")
  698. }
  699. func (*UnimplementedSystemServer) GardenEnableSet(ctx context.Context, req *v1.GardenEnableSetRequest) (*v1.GardenEnableSetReply, error) {
  700. return nil, status.Errorf(codes.Unimplemented, "method GardenEnableSet not implemented")
  701. }
  702. func (*UnimplementedSystemServer) GardenHouseCountLimit(ctx context.Context, req *v1.GardenHouseCountLimitRequest) (*v1.GardenHouseCountLimitReply, error) {
  703. return nil, status.Errorf(codes.Unimplemented, "method GardenHouseCountLimit not implemented")
  704. }
  705. func (*UnimplementedSystemServer) GardenHouseCountChange(ctx context.Context, req *v1.GardenHouseCountChangeRequest) (*v1.GardenHouseCountChangeReply, error) {
  706. return nil, status.Errorf(codes.Unimplemented, "method GardenHouseCountChange not implemented")
  707. }
  708. func (*UnimplementedSystemServer) Login(ctx context.Context, req *v1.LoginRequest) (*v1.LoginReply, error) {
  709. return nil, status.Errorf(codes.Unimplemented, "method Login not implemented")
  710. }
  711. func (*UnimplementedSystemServer) PermissionReget(ctx context.Context, req *v1.PermissionRegetRequest) (*v1.PermissionRegetReply, error) {
  712. return nil, status.Errorf(codes.Unimplemented, "method PermissionReget not implemented")
  713. }
  714. func (*UnimplementedSystemServer) LoginByPhone(ctx context.Context, req *v1.LoginByPhoneRequest) (*v1.LoginByPhoneReply, error) {
  715. return nil, status.Errorf(codes.Unimplemented, "method LoginByPhone not implemented")
  716. }
  717. func (*UnimplementedSystemServer) CheckPhone(ctx context.Context, req *v1.CheckPhoneRequest) (*v1.CheckPhoneReply, error) {
  718. return nil, status.Errorf(codes.Unimplemented, "method CheckPhone not implemented")
  719. }
  720. func (*UnimplementedSystemServer) ResetPassword(ctx context.Context, req *v1.ResetPasswordRequest) (*v1.ResetPasswordReply, error) {
  721. return nil, status.Errorf(codes.Unimplemented, "method ResetPassword not implemented")
  722. }
  723. func (*UnimplementedSystemServer) ChangePassword(ctx context.Context, req *v1.ChangePasswordRequest) (*v1.ChangePasswordReply, error) {
  724. return nil, status.Errorf(codes.Unimplemented, "method ChangePassword not implemented")
  725. }
  726. func (*UnimplementedSystemServer) UserAdd(ctx context.Context, req *v1.UserAddRequest) (*v1.UserAddReply, error) {
  727. return nil, status.Errorf(codes.Unimplemented, "method UserAdd not implemented")
  728. }
  729. func (*UnimplementedSystemServer) UserUpdate(ctx context.Context, req *v1.UserUpdateRequest) (*v1.UserUpdateReply, error) {
  730. return nil, status.Errorf(codes.Unimplemented, "method UserUpdate not implemented")
  731. }
  732. func (*UnimplementedSystemServer) UserDel(ctx context.Context, req *v1.UserDelRequest) (*v1.UserDelReply, error) {
  733. return nil, status.Errorf(codes.Unimplemented, "method UserDel not implemented")
  734. }
  735. func (*UnimplementedSystemServer) UserList(ctx context.Context, req *v1.UserListRequest) (*v1.UserListReply, error) {
  736. return nil, status.Errorf(codes.Unimplemented, "method UserList not implemented")
  737. }
  738. func (*UnimplementedSystemServer) UserGardenChange(ctx context.Context, req *v1.UserGardenChangeRequest) (*v1.UserGardenChangeReply, error) {
  739. return nil, status.Errorf(codes.Unimplemented, "method UserGardenChange not implemented")
  740. }
  741. func (*UnimplementedSystemServer) CompanyEnterGarden(ctx context.Context, req *v1.CompanyEnterGardenRequest) (*v1.CompanyEnterGardenReply, error) {
  742. return nil, status.Errorf(codes.Unimplemented, "method CompanyEnterGarden not implemented")
  743. }
  744. func (*UnimplementedSystemServer) GroupAdd(ctx context.Context, req *v1.GroupAddRequest) (*v1.GroupAddReply, error) {
  745. return nil, status.Errorf(codes.Unimplemented, "method GroupAdd not implemented")
  746. }
  747. func (*UnimplementedSystemServer) GroupDel(ctx context.Context, req *v1.GroupDelRequest) (*v1.GroupDelReply, error) {
  748. return nil, status.Errorf(codes.Unimplemented, "method GroupDel not implemented")
  749. }
  750. func (*UnimplementedSystemServer) GroupList(ctx context.Context, req *v1.GroupListRequest) (*v1.GroupListReply, error) {
  751. return nil, status.Errorf(codes.Unimplemented, "method GroupList not implemented")
  752. }
  753. func (*UnimplementedSystemServer) GroupInfo(ctx context.Context, req *v1.GroupInfoRequest) (*v1.GroupInfoReply, error) {
  754. return nil, status.Errorf(codes.Unimplemented, "method GroupInfo not implemented")
  755. }
  756. func (*UnimplementedSystemServer) GroupUpdate(ctx context.Context, req *v1.GroupUpdateRequest) (*v1.GroupUpdateReply, error) {
  757. return nil, status.Errorf(codes.Unimplemented, "method GroupUpdate not implemented")
  758. }
  759. func (*UnimplementedSystemServer) SuperGroup(ctx context.Context, req *v1.SuperGroupRequest) (*v1.SuperGroupReply, error) {
  760. return nil, status.Errorf(codes.Unimplemented, "method SuperGroup not implemented")
  761. }
  762. func (*UnimplementedSystemServer) GardenPermissionList(ctx context.Context, req *v1.GardenPermissionListRequest) (*v1.GardenPermissionListReply, error) {
  763. return nil, status.Errorf(codes.Unimplemented, "method GardenPermissionList not implemented")
  764. }
  765. func (*UnimplementedSystemServer) DepartmentAdd(ctx context.Context, req *v1.DepartmentAddRequest) (*v1.DepartmentAddReply, error) {
  766. return nil, status.Errorf(codes.Unimplemented, "method DepartmentAdd not implemented")
  767. }
  768. func (*UnimplementedSystemServer) DepartmentDel(ctx context.Context, req *v1.DepartmentDelRequest) (*v1.DepartmentDelReply, error) {
  769. return nil, status.Errorf(codes.Unimplemented, "method DepartmentDel not implemented")
  770. }
  771. func (*UnimplementedSystemServer) DepartmentList(ctx context.Context, req *v1.DepartmentListRequest) (*v1.DepartmentListReply, error) {
  772. return nil, status.Errorf(codes.Unimplemented, "method DepartmentList not implemented")
  773. }
  774. func (*UnimplementedSystemServer) DepartmentUpdate(ctx context.Context, req *v1.DepartmentUpdateRequest) (*v1.DepartmentUpdateReply, error) {
  775. return nil, status.Errorf(codes.Unimplemented, "method DepartmentUpdate not implemented")
  776. }
  777. func (*UnimplementedSystemServer) GardenKeyInfoChange(ctx context.Context, req *v1.GardenKeyInfoChangeRequest) (*v1.GardenKeyInfoChangeReply, error) {
  778. return nil, status.Errorf(codes.Unimplemented, "method GardenKeyInfoChange not implemented")
  779. }
  780. func (*UnimplementedSystemServer) GardenKeyInfoChangeList(ctx context.Context, req *v1.GardenKeyInfoChangeListRequest) (*v1.GardenKeyInfoChangeListReply, error) {
  781. return nil, status.Errorf(codes.Unimplemented, "method GardenKeyInfoChangeList not implemented")
  782. }
  783. func (*UnimplementedSystemServer) GardenKeyInfoApprove(ctx context.Context, req *v1.GardenKeyInfoApproveRequest) (*v1.GardenKeyInfoApproveReply, error) {
  784. return nil, status.Errorf(codes.Unimplemented, "method GardenKeyInfoApprove not implemented")
  785. }
  786. func (*UnimplementedSystemServer) GardenApprove(ctx context.Context, req *v1.GardenApproveRequest) (*v1.GardenApproveReply, error) {
  787. return nil, status.Errorf(codes.Unimplemented, "method GardenApprove not implemented")
  788. }
  789. func (*UnimplementedSystemServer) GardenSetMch(ctx context.Context, req *v1.GardenSetMchRequest) (*v1.GardenSetMchReply, error) {
  790. return nil, status.Errorf(codes.Unimplemented, "method GardenSetMch not implemented")
  791. }
  792. func (*UnimplementedSystemServer) GardenSetMchPayMode(ctx context.Context, req *v1.GardenSetMchPayModeRequest) (*v1.GardenSetMchPayModeReply, error) {
  793. return nil, status.Errorf(codes.Unimplemented, "method GardenSetMchPayMode not implemented")
  794. }
  795. func (*UnimplementedSystemServer) CompanyMchGardenList(ctx context.Context, req *v1.CompanyMchGardenListRequest) (*v1.CompanyMchGardenListReply, error) {
  796. return nil, status.Errorf(codes.Unimplemented, "method CompanyMchGardenList not implemented")
  797. }
  798. func (*UnimplementedSystemServer) ApplicationOrderAdd(ctx context.Context, req *v1.ApplicationOrderAddRequest) (*v1.ApplicationOrderAddReply, error) {
  799. return nil, status.Errorf(codes.Unimplemented, "method ApplicationOrderAdd not implemented")
  800. }
  801. func (*UnimplementedSystemServer) ApplicationOrderApprove(ctx context.Context, req *v1.ApplicationOrderApproveRequest) (*v1.ApplicationOrderApproveReply, error) {
  802. return nil, status.Errorf(codes.Unimplemented, "method ApplicationOrderApprove not implemented")
  803. }
  804. func (*UnimplementedSystemServer) GardenApplicationList(ctx context.Context, req *v1.GardenApplicationListRequest) (*v1.GardenApplicationListReply, error) {
  805. return nil, status.Errorf(codes.Unimplemented, "method GardenApplicationList not implemented")
  806. }
  807. func (*UnimplementedSystemServer) ApplicationOrderAmount(ctx context.Context, req *v1.ApplicationOrderAmountRequest) (*v1.ApplicationOrderAmountReply, error) {
  808. return nil, status.Errorf(codes.Unimplemented, "method ApplicationOrderAmount not implemented")
  809. }
  810. func (*UnimplementedSystemServer) PackageOrderAdd(ctx context.Context, req *v1.PackageOrderAddRequest) (*v1.PackageOrderAddReply, error) {
  811. return nil, status.Errorf(codes.Unimplemented, "method PackageOrderAdd not implemented")
  812. }
  813. func (*UnimplementedSystemServer) PackageOrderApprove(ctx context.Context, req *v1.PackageOrderApproveRequest) (*v1.PackageOrderApproveReply, error) {
  814. return nil, status.Errorf(codes.Unimplemented, "method PackageOrderApprove not implemented")
  815. }
  816. func (*UnimplementedSystemServer) CompanyPackageList(ctx context.Context, req *v1.CompanyPackageListRequest) (*v1.CompanyPackageListReply, error) {
  817. return nil, status.Errorf(codes.Unimplemented, "method CompanyPackageList not implemented")
  818. }
  819. func (*UnimplementedSystemServer) PackageOrderAmount(ctx context.Context, req *v1.PackageOrderAmountRequest) (*v1.PackageOrderAmountReply, error) {
  820. return nil, status.Errorf(codes.Unimplemented, "method PackageOrderAmount not implemented")
  821. }
  822. func (*UnimplementedSystemServer) GardenRentSellCount(ctx context.Context, req *v1.GardenRentSellCountRequest) (*v1.GardenRentSellCountReply, error) {
  823. return nil, status.Errorf(codes.Unimplemented, "method GardenRentSellCount not implemented")
  824. }
  825. func (*UnimplementedSystemServer) MsgPackageOrderAdd(ctx context.Context, req *v1.MsgPackageOrderAddRequest) (*v1.MsgPackageOrderAddReply, error) {
  826. return nil, status.Errorf(codes.Unimplemented, "method MsgPackageOrderAdd not implemented")
  827. }
  828. func (*UnimplementedSystemServer) MsgPackageOrderApprove(ctx context.Context, req *v1.MsgPackageOrderApproveRequest) (*v1.MsgPackageOrderApproveReply, error) {
  829. return nil, status.Errorf(codes.Unimplemented, "method MsgPackageOrderApprove not implemented")
  830. }
  831. func (*UnimplementedSystemServer) MsgPackageOrderList(ctx context.Context, req *v1.MsgPackageOrderListRequest) (*v1.MsgPackageOrderListReply, error) {
  832. return nil, status.Errorf(codes.Unimplemented, "method MsgPackageOrderList not implemented")
  833. }
  834. func (*UnimplementedSystemServer) MsgPackageOrderDecrease(ctx context.Context, req *v1.MsgPackageOrderDecreaseRequest) (*v1.MsgPackageOrderDecreaseReply, error) {
  835. return nil, status.Errorf(codes.Unimplemented, "method MsgPackageOrderDecrease not implemented")
  836. }
  837. func RegisterSystemServer(s *grpc.Server, srv SystemServer) {
  838. s.RegisterService(&_System_serviceDesc, srv)
  839. }
  840. func _System_GardenInfos_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  841. in := new(v1.GardenInfosRequest)
  842. if err := dec(in); err != nil {
  843. return nil, err
  844. }
  845. if interceptor == nil {
  846. return srv.(SystemServer).GardenInfos(ctx, in)
  847. }
  848. info := &grpc.UnaryServerInfo{
  849. Server: srv,
  850. FullMethod: "/pb.service.System/GardenInfos",
  851. }
  852. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  853. return srv.(SystemServer).GardenInfos(ctx, req.(*v1.GardenInfosRequest))
  854. }
  855. return interceptor(ctx, in, info, handler)
  856. }
  857. func _System_GardenList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  858. in := new(v1.GardenListRequest)
  859. if err := dec(in); err != nil {
  860. return nil, err
  861. }
  862. if interceptor == nil {
  863. return srv.(SystemServer).GardenList(ctx, in)
  864. }
  865. info := &grpc.UnaryServerInfo{
  866. Server: srv,
  867. FullMethod: "/pb.service.System/GardenList",
  868. }
  869. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  870. return srv.(SystemServer).GardenList(ctx, req.(*v1.GardenListRequest))
  871. }
  872. return interceptor(ctx, in, info, handler)
  873. }
  874. func _System_GardenIds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  875. in := new(v1.GardenIdsRequest)
  876. if err := dec(in); err != nil {
  877. return nil, err
  878. }
  879. if interceptor == nil {
  880. return srv.(SystemServer).GardenIds(ctx, in)
  881. }
  882. info := &grpc.UnaryServerInfo{
  883. Server: srv,
  884. FullMethod: "/pb.service.System/GardenIds",
  885. }
  886. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  887. return srv.(SystemServer).GardenIds(ctx, req.(*v1.GardenIdsRequest))
  888. }
  889. return interceptor(ctx, in, info, handler)
  890. }
  891. func _System_GardenAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  892. in := new(v1.GardenAddRequest)
  893. if err := dec(in); err != nil {
  894. return nil, err
  895. }
  896. if interceptor == nil {
  897. return srv.(SystemServer).GardenAdd(ctx, in)
  898. }
  899. info := &grpc.UnaryServerInfo{
  900. Server: srv,
  901. FullMethod: "/pb.service.System/GardenAdd",
  902. }
  903. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  904. return srv.(SystemServer).GardenAdd(ctx, req.(*v1.GardenAddRequest))
  905. }
  906. return interceptor(ctx, in, info, handler)
  907. }
  908. func _System_GardenUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  909. in := new(v1.GardenUpdateRequest)
  910. if err := dec(in); err != nil {
  911. return nil, err
  912. }
  913. if interceptor == nil {
  914. return srv.(SystemServer).GardenUpdate(ctx, in)
  915. }
  916. info := &grpc.UnaryServerInfo{
  917. Server: srv,
  918. FullMethod: "/pb.service.System/GardenUpdate",
  919. }
  920. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  921. return srv.(SystemServer).GardenUpdate(ctx, req.(*v1.GardenUpdateRequest))
  922. }
  923. return interceptor(ctx, in, info, handler)
  924. }
  925. func _System_GardenDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  926. in := new(v1.GardenDelRequest)
  927. if err := dec(in); err != nil {
  928. return nil, err
  929. }
  930. if interceptor == nil {
  931. return srv.(SystemServer).GardenDel(ctx, in)
  932. }
  933. info := &grpc.UnaryServerInfo{
  934. Server: srv,
  935. FullMethod: "/pb.service.System/GardenDel",
  936. }
  937. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  938. return srv.(SystemServer).GardenDel(ctx, req.(*v1.GardenDelRequest))
  939. }
  940. return interceptor(ctx, in, info, handler)
  941. }
  942. func _System_GardenChangeCompany_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  943. in := new(v1.GardenChangeCompanyRequest)
  944. if err := dec(in); err != nil {
  945. return nil, err
  946. }
  947. if interceptor == nil {
  948. return srv.(SystemServer).GardenChangeCompany(ctx, in)
  949. }
  950. info := &grpc.UnaryServerInfo{
  951. Server: srv,
  952. FullMethod: "/pb.service.System/GardenChangeCompany",
  953. }
  954. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  955. return srv.(SystemServer).GardenChangeCompany(ctx, req.(*v1.GardenChangeCompanyRequest))
  956. }
  957. return interceptor(ctx, in, info, handler)
  958. }
  959. func _System_GardenEnableSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  960. in := new(v1.GardenEnableSetRequest)
  961. if err := dec(in); err != nil {
  962. return nil, err
  963. }
  964. if interceptor == nil {
  965. return srv.(SystemServer).GardenEnableSet(ctx, in)
  966. }
  967. info := &grpc.UnaryServerInfo{
  968. Server: srv,
  969. FullMethod: "/pb.service.System/GardenEnableSet",
  970. }
  971. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  972. return srv.(SystemServer).GardenEnableSet(ctx, req.(*v1.GardenEnableSetRequest))
  973. }
  974. return interceptor(ctx, in, info, handler)
  975. }
  976. func _System_GardenHouseCountLimit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  977. in := new(v1.GardenHouseCountLimitRequest)
  978. if err := dec(in); err != nil {
  979. return nil, err
  980. }
  981. if interceptor == nil {
  982. return srv.(SystemServer).GardenHouseCountLimit(ctx, in)
  983. }
  984. info := &grpc.UnaryServerInfo{
  985. Server: srv,
  986. FullMethod: "/pb.service.System/GardenHouseCountLimit",
  987. }
  988. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  989. return srv.(SystemServer).GardenHouseCountLimit(ctx, req.(*v1.GardenHouseCountLimitRequest))
  990. }
  991. return interceptor(ctx, in, info, handler)
  992. }
  993. func _System_GardenHouseCountChange_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  994. in := new(v1.GardenHouseCountChangeRequest)
  995. if err := dec(in); err != nil {
  996. return nil, err
  997. }
  998. if interceptor == nil {
  999. return srv.(SystemServer).GardenHouseCountChange(ctx, in)
  1000. }
  1001. info := &grpc.UnaryServerInfo{
  1002. Server: srv,
  1003. FullMethod: "/pb.service.System/GardenHouseCountChange",
  1004. }
  1005. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1006. return srv.(SystemServer).GardenHouseCountChange(ctx, req.(*v1.GardenHouseCountChangeRequest))
  1007. }
  1008. return interceptor(ctx, in, info, handler)
  1009. }
  1010. func _System_Login_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1011. in := new(v1.LoginRequest)
  1012. if err := dec(in); err != nil {
  1013. return nil, err
  1014. }
  1015. if interceptor == nil {
  1016. return srv.(SystemServer).Login(ctx, in)
  1017. }
  1018. info := &grpc.UnaryServerInfo{
  1019. Server: srv,
  1020. FullMethod: "/pb.service.System/Login",
  1021. }
  1022. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1023. return srv.(SystemServer).Login(ctx, req.(*v1.LoginRequest))
  1024. }
  1025. return interceptor(ctx, in, info, handler)
  1026. }
  1027. func _System_PermissionReget_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1028. in := new(v1.PermissionRegetRequest)
  1029. if err := dec(in); err != nil {
  1030. return nil, err
  1031. }
  1032. if interceptor == nil {
  1033. return srv.(SystemServer).PermissionReget(ctx, in)
  1034. }
  1035. info := &grpc.UnaryServerInfo{
  1036. Server: srv,
  1037. FullMethod: "/pb.service.System/PermissionReget",
  1038. }
  1039. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1040. return srv.(SystemServer).PermissionReget(ctx, req.(*v1.PermissionRegetRequest))
  1041. }
  1042. return interceptor(ctx, in, info, handler)
  1043. }
  1044. func _System_LoginByPhone_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1045. in := new(v1.LoginByPhoneRequest)
  1046. if err := dec(in); err != nil {
  1047. return nil, err
  1048. }
  1049. if interceptor == nil {
  1050. return srv.(SystemServer).LoginByPhone(ctx, in)
  1051. }
  1052. info := &grpc.UnaryServerInfo{
  1053. Server: srv,
  1054. FullMethod: "/pb.service.System/LoginByPhone",
  1055. }
  1056. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1057. return srv.(SystemServer).LoginByPhone(ctx, req.(*v1.LoginByPhoneRequest))
  1058. }
  1059. return interceptor(ctx, in, info, handler)
  1060. }
  1061. func _System_CheckPhone_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1062. in := new(v1.CheckPhoneRequest)
  1063. if err := dec(in); err != nil {
  1064. return nil, err
  1065. }
  1066. if interceptor == nil {
  1067. return srv.(SystemServer).CheckPhone(ctx, in)
  1068. }
  1069. info := &grpc.UnaryServerInfo{
  1070. Server: srv,
  1071. FullMethod: "/pb.service.System/CheckPhone",
  1072. }
  1073. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1074. return srv.(SystemServer).CheckPhone(ctx, req.(*v1.CheckPhoneRequest))
  1075. }
  1076. return interceptor(ctx, in, info, handler)
  1077. }
  1078. func _System_ResetPassword_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1079. in := new(v1.ResetPasswordRequest)
  1080. if err := dec(in); err != nil {
  1081. return nil, err
  1082. }
  1083. if interceptor == nil {
  1084. return srv.(SystemServer).ResetPassword(ctx, in)
  1085. }
  1086. info := &grpc.UnaryServerInfo{
  1087. Server: srv,
  1088. FullMethod: "/pb.service.System/ResetPassword",
  1089. }
  1090. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1091. return srv.(SystemServer).ResetPassword(ctx, req.(*v1.ResetPasswordRequest))
  1092. }
  1093. return interceptor(ctx, in, info, handler)
  1094. }
  1095. func _System_ChangePassword_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1096. in := new(v1.ChangePasswordRequest)
  1097. if err := dec(in); err != nil {
  1098. return nil, err
  1099. }
  1100. if interceptor == nil {
  1101. return srv.(SystemServer).ChangePassword(ctx, in)
  1102. }
  1103. info := &grpc.UnaryServerInfo{
  1104. Server: srv,
  1105. FullMethod: "/pb.service.System/ChangePassword",
  1106. }
  1107. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1108. return srv.(SystemServer).ChangePassword(ctx, req.(*v1.ChangePasswordRequest))
  1109. }
  1110. return interceptor(ctx, in, info, handler)
  1111. }
  1112. func _System_UserAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1113. in := new(v1.UserAddRequest)
  1114. if err := dec(in); err != nil {
  1115. return nil, err
  1116. }
  1117. if interceptor == nil {
  1118. return srv.(SystemServer).UserAdd(ctx, in)
  1119. }
  1120. info := &grpc.UnaryServerInfo{
  1121. Server: srv,
  1122. FullMethod: "/pb.service.System/UserAdd",
  1123. }
  1124. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1125. return srv.(SystemServer).UserAdd(ctx, req.(*v1.UserAddRequest))
  1126. }
  1127. return interceptor(ctx, in, info, handler)
  1128. }
  1129. func _System_UserUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1130. in := new(v1.UserUpdateRequest)
  1131. if err := dec(in); err != nil {
  1132. return nil, err
  1133. }
  1134. if interceptor == nil {
  1135. return srv.(SystemServer).UserUpdate(ctx, in)
  1136. }
  1137. info := &grpc.UnaryServerInfo{
  1138. Server: srv,
  1139. FullMethod: "/pb.service.System/UserUpdate",
  1140. }
  1141. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1142. return srv.(SystemServer).UserUpdate(ctx, req.(*v1.UserUpdateRequest))
  1143. }
  1144. return interceptor(ctx, in, info, handler)
  1145. }
  1146. func _System_UserDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1147. in := new(v1.UserDelRequest)
  1148. if err := dec(in); err != nil {
  1149. return nil, err
  1150. }
  1151. if interceptor == nil {
  1152. return srv.(SystemServer).UserDel(ctx, in)
  1153. }
  1154. info := &grpc.UnaryServerInfo{
  1155. Server: srv,
  1156. FullMethod: "/pb.service.System/UserDel",
  1157. }
  1158. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1159. return srv.(SystemServer).UserDel(ctx, req.(*v1.UserDelRequest))
  1160. }
  1161. return interceptor(ctx, in, info, handler)
  1162. }
  1163. func _System_UserList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1164. in := new(v1.UserListRequest)
  1165. if err := dec(in); err != nil {
  1166. return nil, err
  1167. }
  1168. if interceptor == nil {
  1169. return srv.(SystemServer).UserList(ctx, in)
  1170. }
  1171. info := &grpc.UnaryServerInfo{
  1172. Server: srv,
  1173. FullMethod: "/pb.service.System/UserList",
  1174. }
  1175. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1176. return srv.(SystemServer).UserList(ctx, req.(*v1.UserListRequest))
  1177. }
  1178. return interceptor(ctx, in, info, handler)
  1179. }
  1180. func _System_UserGardenChange_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1181. in := new(v1.UserGardenChangeRequest)
  1182. if err := dec(in); err != nil {
  1183. return nil, err
  1184. }
  1185. if interceptor == nil {
  1186. return srv.(SystemServer).UserGardenChange(ctx, in)
  1187. }
  1188. info := &grpc.UnaryServerInfo{
  1189. Server: srv,
  1190. FullMethod: "/pb.service.System/UserGardenChange",
  1191. }
  1192. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1193. return srv.(SystemServer).UserGardenChange(ctx, req.(*v1.UserGardenChangeRequest))
  1194. }
  1195. return interceptor(ctx, in, info, handler)
  1196. }
  1197. func _System_CompanyEnterGarden_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1198. in := new(v1.CompanyEnterGardenRequest)
  1199. if err := dec(in); err != nil {
  1200. return nil, err
  1201. }
  1202. if interceptor == nil {
  1203. return srv.(SystemServer).CompanyEnterGarden(ctx, in)
  1204. }
  1205. info := &grpc.UnaryServerInfo{
  1206. Server: srv,
  1207. FullMethod: "/pb.service.System/CompanyEnterGarden",
  1208. }
  1209. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1210. return srv.(SystemServer).CompanyEnterGarden(ctx, req.(*v1.CompanyEnterGardenRequest))
  1211. }
  1212. return interceptor(ctx, in, info, handler)
  1213. }
  1214. func _System_GroupAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1215. in := new(v1.GroupAddRequest)
  1216. if err := dec(in); err != nil {
  1217. return nil, err
  1218. }
  1219. if interceptor == nil {
  1220. return srv.(SystemServer).GroupAdd(ctx, in)
  1221. }
  1222. info := &grpc.UnaryServerInfo{
  1223. Server: srv,
  1224. FullMethod: "/pb.service.System/GroupAdd",
  1225. }
  1226. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1227. return srv.(SystemServer).GroupAdd(ctx, req.(*v1.GroupAddRequest))
  1228. }
  1229. return interceptor(ctx, in, info, handler)
  1230. }
  1231. func _System_GroupDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1232. in := new(v1.GroupDelRequest)
  1233. if err := dec(in); err != nil {
  1234. return nil, err
  1235. }
  1236. if interceptor == nil {
  1237. return srv.(SystemServer).GroupDel(ctx, in)
  1238. }
  1239. info := &grpc.UnaryServerInfo{
  1240. Server: srv,
  1241. FullMethod: "/pb.service.System/GroupDel",
  1242. }
  1243. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1244. return srv.(SystemServer).GroupDel(ctx, req.(*v1.GroupDelRequest))
  1245. }
  1246. return interceptor(ctx, in, info, handler)
  1247. }
  1248. func _System_GroupList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1249. in := new(v1.GroupListRequest)
  1250. if err := dec(in); err != nil {
  1251. return nil, err
  1252. }
  1253. if interceptor == nil {
  1254. return srv.(SystemServer).GroupList(ctx, in)
  1255. }
  1256. info := &grpc.UnaryServerInfo{
  1257. Server: srv,
  1258. FullMethod: "/pb.service.System/GroupList",
  1259. }
  1260. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1261. return srv.(SystemServer).GroupList(ctx, req.(*v1.GroupListRequest))
  1262. }
  1263. return interceptor(ctx, in, info, handler)
  1264. }
  1265. func _System_GroupInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1266. in := new(v1.GroupInfoRequest)
  1267. if err := dec(in); err != nil {
  1268. return nil, err
  1269. }
  1270. if interceptor == nil {
  1271. return srv.(SystemServer).GroupInfo(ctx, in)
  1272. }
  1273. info := &grpc.UnaryServerInfo{
  1274. Server: srv,
  1275. FullMethod: "/pb.service.System/GroupInfo",
  1276. }
  1277. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1278. return srv.(SystemServer).GroupInfo(ctx, req.(*v1.GroupInfoRequest))
  1279. }
  1280. return interceptor(ctx, in, info, handler)
  1281. }
  1282. func _System_GroupUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1283. in := new(v1.GroupUpdateRequest)
  1284. if err := dec(in); err != nil {
  1285. return nil, err
  1286. }
  1287. if interceptor == nil {
  1288. return srv.(SystemServer).GroupUpdate(ctx, in)
  1289. }
  1290. info := &grpc.UnaryServerInfo{
  1291. Server: srv,
  1292. FullMethod: "/pb.service.System/GroupUpdate",
  1293. }
  1294. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1295. return srv.(SystemServer).GroupUpdate(ctx, req.(*v1.GroupUpdateRequest))
  1296. }
  1297. return interceptor(ctx, in, info, handler)
  1298. }
  1299. func _System_SuperGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1300. in := new(v1.SuperGroupRequest)
  1301. if err := dec(in); err != nil {
  1302. return nil, err
  1303. }
  1304. if interceptor == nil {
  1305. return srv.(SystemServer).SuperGroup(ctx, in)
  1306. }
  1307. info := &grpc.UnaryServerInfo{
  1308. Server: srv,
  1309. FullMethod: "/pb.service.System/SuperGroup",
  1310. }
  1311. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1312. return srv.(SystemServer).SuperGroup(ctx, req.(*v1.SuperGroupRequest))
  1313. }
  1314. return interceptor(ctx, in, info, handler)
  1315. }
  1316. func _System_GardenPermissionList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1317. in := new(v1.GardenPermissionListRequest)
  1318. if err := dec(in); err != nil {
  1319. return nil, err
  1320. }
  1321. if interceptor == nil {
  1322. return srv.(SystemServer).GardenPermissionList(ctx, in)
  1323. }
  1324. info := &grpc.UnaryServerInfo{
  1325. Server: srv,
  1326. FullMethod: "/pb.service.System/GardenPermissionList",
  1327. }
  1328. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1329. return srv.(SystemServer).GardenPermissionList(ctx, req.(*v1.GardenPermissionListRequest))
  1330. }
  1331. return interceptor(ctx, in, info, handler)
  1332. }
  1333. func _System_DepartmentAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1334. in := new(v1.DepartmentAddRequest)
  1335. if err := dec(in); err != nil {
  1336. return nil, err
  1337. }
  1338. if interceptor == nil {
  1339. return srv.(SystemServer).DepartmentAdd(ctx, in)
  1340. }
  1341. info := &grpc.UnaryServerInfo{
  1342. Server: srv,
  1343. FullMethod: "/pb.service.System/DepartmentAdd",
  1344. }
  1345. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1346. return srv.(SystemServer).DepartmentAdd(ctx, req.(*v1.DepartmentAddRequest))
  1347. }
  1348. return interceptor(ctx, in, info, handler)
  1349. }
  1350. func _System_DepartmentDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1351. in := new(v1.DepartmentDelRequest)
  1352. if err := dec(in); err != nil {
  1353. return nil, err
  1354. }
  1355. if interceptor == nil {
  1356. return srv.(SystemServer).DepartmentDel(ctx, in)
  1357. }
  1358. info := &grpc.UnaryServerInfo{
  1359. Server: srv,
  1360. FullMethod: "/pb.service.System/DepartmentDel",
  1361. }
  1362. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1363. return srv.(SystemServer).DepartmentDel(ctx, req.(*v1.DepartmentDelRequest))
  1364. }
  1365. return interceptor(ctx, in, info, handler)
  1366. }
  1367. func _System_DepartmentList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1368. in := new(v1.DepartmentListRequest)
  1369. if err := dec(in); err != nil {
  1370. return nil, err
  1371. }
  1372. if interceptor == nil {
  1373. return srv.(SystemServer).DepartmentList(ctx, in)
  1374. }
  1375. info := &grpc.UnaryServerInfo{
  1376. Server: srv,
  1377. FullMethod: "/pb.service.System/DepartmentList",
  1378. }
  1379. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1380. return srv.(SystemServer).DepartmentList(ctx, req.(*v1.DepartmentListRequest))
  1381. }
  1382. return interceptor(ctx, in, info, handler)
  1383. }
  1384. func _System_DepartmentUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1385. in := new(v1.DepartmentUpdateRequest)
  1386. if err := dec(in); err != nil {
  1387. return nil, err
  1388. }
  1389. if interceptor == nil {
  1390. return srv.(SystemServer).DepartmentUpdate(ctx, in)
  1391. }
  1392. info := &grpc.UnaryServerInfo{
  1393. Server: srv,
  1394. FullMethod: "/pb.service.System/DepartmentUpdate",
  1395. }
  1396. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1397. return srv.(SystemServer).DepartmentUpdate(ctx, req.(*v1.DepartmentUpdateRequest))
  1398. }
  1399. return interceptor(ctx, in, info, handler)
  1400. }
  1401. func _System_GardenKeyInfoChange_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1402. in := new(v1.GardenKeyInfoChangeRequest)
  1403. if err := dec(in); err != nil {
  1404. return nil, err
  1405. }
  1406. if interceptor == nil {
  1407. return srv.(SystemServer).GardenKeyInfoChange(ctx, in)
  1408. }
  1409. info := &grpc.UnaryServerInfo{
  1410. Server: srv,
  1411. FullMethod: "/pb.service.System/GardenKeyInfoChange",
  1412. }
  1413. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1414. return srv.(SystemServer).GardenKeyInfoChange(ctx, req.(*v1.GardenKeyInfoChangeRequest))
  1415. }
  1416. return interceptor(ctx, in, info, handler)
  1417. }
  1418. func _System_GardenKeyInfoChangeList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1419. in := new(v1.GardenKeyInfoChangeListRequest)
  1420. if err := dec(in); err != nil {
  1421. return nil, err
  1422. }
  1423. if interceptor == nil {
  1424. return srv.(SystemServer).GardenKeyInfoChangeList(ctx, in)
  1425. }
  1426. info := &grpc.UnaryServerInfo{
  1427. Server: srv,
  1428. FullMethod: "/pb.service.System/GardenKeyInfoChangeList",
  1429. }
  1430. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1431. return srv.(SystemServer).GardenKeyInfoChangeList(ctx, req.(*v1.GardenKeyInfoChangeListRequest))
  1432. }
  1433. return interceptor(ctx, in, info, handler)
  1434. }
  1435. func _System_GardenKeyInfoApprove_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1436. in := new(v1.GardenKeyInfoApproveRequest)
  1437. if err := dec(in); err != nil {
  1438. return nil, err
  1439. }
  1440. if interceptor == nil {
  1441. return srv.(SystemServer).GardenKeyInfoApprove(ctx, in)
  1442. }
  1443. info := &grpc.UnaryServerInfo{
  1444. Server: srv,
  1445. FullMethod: "/pb.service.System/GardenKeyInfoApprove",
  1446. }
  1447. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1448. return srv.(SystemServer).GardenKeyInfoApprove(ctx, req.(*v1.GardenKeyInfoApproveRequest))
  1449. }
  1450. return interceptor(ctx, in, info, handler)
  1451. }
  1452. func _System_GardenApprove_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1453. in := new(v1.GardenApproveRequest)
  1454. if err := dec(in); err != nil {
  1455. return nil, err
  1456. }
  1457. if interceptor == nil {
  1458. return srv.(SystemServer).GardenApprove(ctx, in)
  1459. }
  1460. info := &grpc.UnaryServerInfo{
  1461. Server: srv,
  1462. FullMethod: "/pb.service.System/GardenApprove",
  1463. }
  1464. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1465. return srv.(SystemServer).GardenApprove(ctx, req.(*v1.GardenApproveRequest))
  1466. }
  1467. return interceptor(ctx, in, info, handler)
  1468. }
  1469. func _System_GardenSetMch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1470. in := new(v1.GardenSetMchRequest)
  1471. if err := dec(in); err != nil {
  1472. return nil, err
  1473. }
  1474. if interceptor == nil {
  1475. return srv.(SystemServer).GardenSetMch(ctx, in)
  1476. }
  1477. info := &grpc.UnaryServerInfo{
  1478. Server: srv,
  1479. FullMethod: "/pb.service.System/GardenSetMch",
  1480. }
  1481. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1482. return srv.(SystemServer).GardenSetMch(ctx, req.(*v1.GardenSetMchRequest))
  1483. }
  1484. return interceptor(ctx, in, info, handler)
  1485. }
  1486. func _System_GardenSetMchPayMode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1487. in := new(v1.GardenSetMchPayModeRequest)
  1488. if err := dec(in); err != nil {
  1489. return nil, err
  1490. }
  1491. if interceptor == nil {
  1492. return srv.(SystemServer).GardenSetMchPayMode(ctx, in)
  1493. }
  1494. info := &grpc.UnaryServerInfo{
  1495. Server: srv,
  1496. FullMethod: "/pb.service.System/GardenSetMchPayMode",
  1497. }
  1498. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1499. return srv.(SystemServer).GardenSetMchPayMode(ctx, req.(*v1.GardenSetMchPayModeRequest))
  1500. }
  1501. return interceptor(ctx, in, info, handler)
  1502. }
  1503. func _System_CompanyMchGardenList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1504. in := new(v1.CompanyMchGardenListRequest)
  1505. if err := dec(in); err != nil {
  1506. return nil, err
  1507. }
  1508. if interceptor == nil {
  1509. return srv.(SystemServer).CompanyMchGardenList(ctx, in)
  1510. }
  1511. info := &grpc.UnaryServerInfo{
  1512. Server: srv,
  1513. FullMethod: "/pb.service.System/CompanyMchGardenList",
  1514. }
  1515. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1516. return srv.(SystemServer).CompanyMchGardenList(ctx, req.(*v1.CompanyMchGardenListRequest))
  1517. }
  1518. return interceptor(ctx, in, info, handler)
  1519. }
  1520. func _System_ApplicationOrderAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1521. in := new(v1.ApplicationOrderAddRequest)
  1522. if err := dec(in); err != nil {
  1523. return nil, err
  1524. }
  1525. if interceptor == nil {
  1526. return srv.(SystemServer).ApplicationOrderAdd(ctx, in)
  1527. }
  1528. info := &grpc.UnaryServerInfo{
  1529. Server: srv,
  1530. FullMethod: "/pb.service.System/ApplicationOrderAdd",
  1531. }
  1532. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1533. return srv.(SystemServer).ApplicationOrderAdd(ctx, req.(*v1.ApplicationOrderAddRequest))
  1534. }
  1535. return interceptor(ctx, in, info, handler)
  1536. }
  1537. func _System_ApplicationOrderApprove_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1538. in := new(v1.ApplicationOrderApproveRequest)
  1539. if err := dec(in); err != nil {
  1540. return nil, err
  1541. }
  1542. if interceptor == nil {
  1543. return srv.(SystemServer).ApplicationOrderApprove(ctx, in)
  1544. }
  1545. info := &grpc.UnaryServerInfo{
  1546. Server: srv,
  1547. FullMethod: "/pb.service.System/ApplicationOrderApprove",
  1548. }
  1549. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1550. return srv.(SystemServer).ApplicationOrderApprove(ctx, req.(*v1.ApplicationOrderApproveRequest))
  1551. }
  1552. return interceptor(ctx, in, info, handler)
  1553. }
  1554. func _System_GardenApplicationList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1555. in := new(v1.GardenApplicationListRequest)
  1556. if err := dec(in); err != nil {
  1557. return nil, err
  1558. }
  1559. if interceptor == nil {
  1560. return srv.(SystemServer).GardenApplicationList(ctx, in)
  1561. }
  1562. info := &grpc.UnaryServerInfo{
  1563. Server: srv,
  1564. FullMethod: "/pb.service.System/GardenApplicationList",
  1565. }
  1566. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1567. return srv.(SystemServer).GardenApplicationList(ctx, req.(*v1.GardenApplicationListRequest))
  1568. }
  1569. return interceptor(ctx, in, info, handler)
  1570. }
  1571. func _System_ApplicationOrderAmount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1572. in := new(v1.ApplicationOrderAmountRequest)
  1573. if err := dec(in); err != nil {
  1574. return nil, err
  1575. }
  1576. if interceptor == nil {
  1577. return srv.(SystemServer).ApplicationOrderAmount(ctx, in)
  1578. }
  1579. info := &grpc.UnaryServerInfo{
  1580. Server: srv,
  1581. FullMethod: "/pb.service.System/ApplicationOrderAmount",
  1582. }
  1583. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1584. return srv.(SystemServer).ApplicationOrderAmount(ctx, req.(*v1.ApplicationOrderAmountRequest))
  1585. }
  1586. return interceptor(ctx, in, info, handler)
  1587. }
  1588. func _System_PackageOrderAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1589. in := new(v1.PackageOrderAddRequest)
  1590. if err := dec(in); err != nil {
  1591. return nil, err
  1592. }
  1593. if interceptor == nil {
  1594. return srv.(SystemServer).PackageOrderAdd(ctx, in)
  1595. }
  1596. info := &grpc.UnaryServerInfo{
  1597. Server: srv,
  1598. FullMethod: "/pb.service.System/PackageOrderAdd",
  1599. }
  1600. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1601. return srv.(SystemServer).PackageOrderAdd(ctx, req.(*v1.PackageOrderAddRequest))
  1602. }
  1603. return interceptor(ctx, in, info, handler)
  1604. }
  1605. func _System_PackageOrderApprove_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1606. in := new(v1.PackageOrderApproveRequest)
  1607. if err := dec(in); err != nil {
  1608. return nil, err
  1609. }
  1610. if interceptor == nil {
  1611. return srv.(SystemServer).PackageOrderApprove(ctx, in)
  1612. }
  1613. info := &grpc.UnaryServerInfo{
  1614. Server: srv,
  1615. FullMethod: "/pb.service.System/PackageOrderApprove",
  1616. }
  1617. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1618. return srv.(SystemServer).PackageOrderApprove(ctx, req.(*v1.PackageOrderApproveRequest))
  1619. }
  1620. return interceptor(ctx, in, info, handler)
  1621. }
  1622. func _System_CompanyPackageList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1623. in := new(v1.CompanyPackageListRequest)
  1624. if err := dec(in); err != nil {
  1625. return nil, err
  1626. }
  1627. if interceptor == nil {
  1628. return srv.(SystemServer).CompanyPackageList(ctx, in)
  1629. }
  1630. info := &grpc.UnaryServerInfo{
  1631. Server: srv,
  1632. FullMethod: "/pb.service.System/CompanyPackageList",
  1633. }
  1634. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1635. return srv.(SystemServer).CompanyPackageList(ctx, req.(*v1.CompanyPackageListRequest))
  1636. }
  1637. return interceptor(ctx, in, info, handler)
  1638. }
  1639. func _System_PackageOrderAmount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1640. in := new(v1.PackageOrderAmountRequest)
  1641. if err := dec(in); err != nil {
  1642. return nil, err
  1643. }
  1644. if interceptor == nil {
  1645. return srv.(SystemServer).PackageOrderAmount(ctx, in)
  1646. }
  1647. info := &grpc.UnaryServerInfo{
  1648. Server: srv,
  1649. FullMethod: "/pb.service.System/PackageOrderAmount",
  1650. }
  1651. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1652. return srv.(SystemServer).PackageOrderAmount(ctx, req.(*v1.PackageOrderAmountRequest))
  1653. }
  1654. return interceptor(ctx, in, info, handler)
  1655. }
  1656. func _System_GardenRentSellCount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1657. in := new(v1.GardenRentSellCountRequest)
  1658. if err := dec(in); err != nil {
  1659. return nil, err
  1660. }
  1661. if interceptor == nil {
  1662. return srv.(SystemServer).GardenRentSellCount(ctx, in)
  1663. }
  1664. info := &grpc.UnaryServerInfo{
  1665. Server: srv,
  1666. FullMethod: "/pb.service.System/GardenRentSellCount",
  1667. }
  1668. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1669. return srv.(SystemServer).GardenRentSellCount(ctx, req.(*v1.GardenRentSellCountRequest))
  1670. }
  1671. return interceptor(ctx, in, info, handler)
  1672. }
  1673. func _System_MsgPackageOrderAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1674. in := new(v1.MsgPackageOrderAddRequest)
  1675. if err := dec(in); err != nil {
  1676. return nil, err
  1677. }
  1678. if interceptor == nil {
  1679. return srv.(SystemServer).MsgPackageOrderAdd(ctx, in)
  1680. }
  1681. info := &grpc.UnaryServerInfo{
  1682. Server: srv,
  1683. FullMethod: "/pb.service.System/MsgPackageOrderAdd",
  1684. }
  1685. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1686. return srv.(SystemServer).MsgPackageOrderAdd(ctx, req.(*v1.MsgPackageOrderAddRequest))
  1687. }
  1688. return interceptor(ctx, in, info, handler)
  1689. }
  1690. func _System_MsgPackageOrderApprove_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1691. in := new(v1.MsgPackageOrderApproveRequest)
  1692. if err := dec(in); err != nil {
  1693. return nil, err
  1694. }
  1695. if interceptor == nil {
  1696. return srv.(SystemServer).MsgPackageOrderApprove(ctx, in)
  1697. }
  1698. info := &grpc.UnaryServerInfo{
  1699. Server: srv,
  1700. FullMethod: "/pb.service.System/MsgPackageOrderApprove",
  1701. }
  1702. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1703. return srv.(SystemServer).MsgPackageOrderApprove(ctx, req.(*v1.MsgPackageOrderApproveRequest))
  1704. }
  1705. return interceptor(ctx, in, info, handler)
  1706. }
  1707. func _System_MsgPackageOrderList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1708. in := new(v1.MsgPackageOrderListRequest)
  1709. if err := dec(in); err != nil {
  1710. return nil, err
  1711. }
  1712. if interceptor == nil {
  1713. return srv.(SystemServer).MsgPackageOrderList(ctx, in)
  1714. }
  1715. info := &grpc.UnaryServerInfo{
  1716. Server: srv,
  1717. FullMethod: "/pb.service.System/MsgPackageOrderList",
  1718. }
  1719. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1720. return srv.(SystemServer).MsgPackageOrderList(ctx, req.(*v1.MsgPackageOrderListRequest))
  1721. }
  1722. return interceptor(ctx, in, info, handler)
  1723. }
  1724. func _System_MsgPackageOrderDecrease_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1725. in := new(v1.MsgPackageOrderDecreaseRequest)
  1726. if err := dec(in); err != nil {
  1727. return nil, err
  1728. }
  1729. if interceptor == nil {
  1730. return srv.(SystemServer).MsgPackageOrderDecrease(ctx, in)
  1731. }
  1732. info := &grpc.UnaryServerInfo{
  1733. Server: srv,
  1734. FullMethod: "/pb.service.System/MsgPackageOrderDecrease",
  1735. }
  1736. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1737. return srv.(SystemServer).MsgPackageOrderDecrease(ctx, req.(*v1.MsgPackageOrderDecreaseRequest))
  1738. }
  1739. return interceptor(ctx, in, info, handler)
  1740. }
  1741. var _System_serviceDesc = grpc.ServiceDesc{
  1742. ServiceName: "pb.service.System",
  1743. HandlerType: (*SystemServer)(nil),
  1744. Methods: []grpc.MethodDesc{
  1745. {
  1746. MethodName: "GardenInfos",
  1747. Handler: _System_GardenInfos_Handler,
  1748. },
  1749. {
  1750. MethodName: "GardenList",
  1751. Handler: _System_GardenList_Handler,
  1752. },
  1753. {
  1754. MethodName: "GardenIds",
  1755. Handler: _System_GardenIds_Handler,
  1756. },
  1757. {
  1758. MethodName: "GardenAdd",
  1759. Handler: _System_GardenAdd_Handler,
  1760. },
  1761. {
  1762. MethodName: "GardenUpdate",
  1763. Handler: _System_GardenUpdate_Handler,
  1764. },
  1765. {
  1766. MethodName: "GardenDel",
  1767. Handler: _System_GardenDel_Handler,
  1768. },
  1769. {
  1770. MethodName: "GardenChangeCompany",
  1771. Handler: _System_GardenChangeCompany_Handler,
  1772. },
  1773. {
  1774. MethodName: "GardenEnableSet",
  1775. Handler: _System_GardenEnableSet_Handler,
  1776. },
  1777. {
  1778. MethodName: "GardenHouseCountLimit",
  1779. Handler: _System_GardenHouseCountLimit_Handler,
  1780. },
  1781. {
  1782. MethodName: "GardenHouseCountChange",
  1783. Handler: _System_GardenHouseCountChange_Handler,
  1784. },
  1785. {
  1786. MethodName: "Login",
  1787. Handler: _System_Login_Handler,
  1788. },
  1789. {
  1790. MethodName: "PermissionReget",
  1791. Handler: _System_PermissionReget_Handler,
  1792. },
  1793. {
  1794. MethodName: "LoginByPhone",
  1795. Handler: _System_LoginByPhone_Handler,
  1796. },
  1797. {
  1798. MethodName: "CheckPhone",
  1799. Handler: _System_CheckPhone_Handler,
  1800. },
  1801. {
  1802. MethodName: "ResetPassword",
  1803. Handler: _System_ResetPassword_Handler,
  1804. },
  1805. {
  1806. MethodName: "ChangePassword",
  1807. Handler: _System_ChangePassword_Handler,
  1808. },
  1809. {
  1810. MethodName: "UserAdd",
  1811. Handler: _System_UserAdd_Handler,
  1812. },
  1813. {
  1814. MethodName: "UserUpdate",
  1815. Handler: _System_UserUpdate_Handler,
  1816. },
  1817. {
  1818. MethodName: "UserDel",
  1819. Handler: _System_UserDel_Handler,
  1820. },
  1821. {
  1822. MethodName: "UserList",
  1823. Handler: _System_UserList_Handler,
  1824. },
  1825. {
  1826. MethodName: "UserGardenChange",
  1827. Handler: _System_UserGardenChange_Handler,
  1828. },
  1829. {
  1830. MethodName: "CompanyEnterGarden",
  1831. Handler: _System_CompanyEnterGarden_Handler,
  1832. },
  1833. {
  1834. MethodName: "GroupAdd",
  1835. Handler: _System_GroupAdd_Handler,
  1836. },
  1837. {
  1838. MethodName: "GroupDel",
  1839. Handler: _System_GroupDel_Handler,
  1840. },
  1841. {
  1842. MethodName: "GroupList",
  1843. Handler: _System_GroupList_Handler,
  1844. },
  1845. {
  1846. MethodName: "GroupInfo",
  1847. Handler: _System_GroupInfo_Handler,
  1848. },
  1849. {
  1850. MethodName: "GroupUpdate",
  1851. Handler: _System_GroupUpdate_Handler,
  1852. },
  1853. {
  1854. MethodName: "SuperGroup",
  1855. Handler: _System_SuperGroup_Handler,
  1856. },
  1857. {
  1858. MethodName: "GardenPermissionList",
  1859. Handler: _System_GardenPermissionList_Handler,
  1860. },
  1861. {
  1862. MethodName: "DepartmentAdd",
  1863. Handler: _System_DepartmentAdd_Handler,
  1864. },
  1865. {
  1866. MethodName: "DepartmentDel",
  1867. Handler: _System_DepartmentDel_Handler,
  1868. },
  1869. {
  1870. MethodName: "DepartmentList",
  1871. Handler: _System_DepartmentList_Handler,
  1872. },
  1873. {
  1874. MethodName: "DepartmentUpdate",
  1875. Handler: _System_DepartmentUpdate_Handler,
  1876. },
  1877. {
  1878. MethodName: "GardenKeyInfoChange",
  1879. Handler: _System_GardenKeyInfoChange_Handler,
  1880. },
  1881. {
  1882. MethodName: "GardenKeyInfoChangeList",
  1883. Handler: _System_GardenKeyInfoChangeList_Handler,
  1884. },
  1885. {
  1886. MethodName: "GardenKeyInfoApprove",
  1887. Handler: _System_GardenKeyInfoApprove_Handler,
  1888. },
  1889. {
  1890. MethodName: "GardenApprove",
  1891. Handler: _System_GardenApprove_Handler,
  1892. },
  1893. {
  1894. MethodName: "GardenSetMch",
  1895. Handler: _System_GardenSetMch_Handler,
  1896. },
  1897. {
  1898. MethodName: "GardenSetMchPayMode",
  1899. Handler: _System_GardenSetMchPayMode_Handler,
  1900. },
  1901. {
  1902. MethodName: "CompanyMchGardenList",
  1903. Handler: _System_CompanyMchGardenList_Handler,
  1904. },
  1905. {
  1906. MethodName: "ApplicationOrderAdd",
  1907. Handler: _System_ApplicationOrderAdd_Handler,
  1908. },
  1909. {
  1910. MethodName: "ApplicationOrderApprove",
  1911. Handler: _System_ApplicationOrderApprove_Handler,
  1912. },
  1913. {
  1914. MethodName: "GardenApplicationList",
  1915. Handler: _System_GardenApplicationList_Handler,
  1916. },
  1917. {
  1918. MethodName: "ApplicationOrderAmount",
  1919. Handler: _System_ApplicationOrderAmount_Handler,
  1920. },
  1921. {
  1922. MethodName: "PackageOrderAdd",
  1923. Handler: _System_PackageOrderAdd_Handler,
  1924. },
  1925. {
  1926. MethodName: "PackageOrderApprove",
  1927. Handler: _System_PackageOrderApprove_Handler,
  1928. },
  1929. {
  1930. MethodName: "CompanyPackageList",
  1931. Handler: _System_CompanyPackageList_Handler,
  1932. },
  1933. {
  1934. MethodName: "PackageOrderAmount",
  1935. Handler: _System_PackageOrderAmount_Handler,
  1936. },
  1937. {
  1938. MethodName: "GardenRentSellCount",
  1939. Handler: _System_GardenRentSellCount_Handler,
  1940. },
  1941. {
  1942. MethodName: "MsgPackageOrderAdd",
  1943. Handler: _System_MsgPackageOrderAdd_Handler,
  1944. },
  1945. {
  1946. MethodName: "MsgPackageOrderApprove",
  1947. Handler: _System_MsgPackageOrderApprove_Handler,
  1948. },
  1949. {
  1950. MethodName: "MsgPackageOrderList",
  1951. Handler: _System_MsgPackageOrderList_Handler,
  1952. },
  1953. {
  1954. MethodName: "MsgPackageOrderDecrease",
  1955. Handler: _System_MsgPackageOrderDecrease_Handler,
  1956. },
  1957. },
  1958. Streams: []grpc.StreamDesc{},
  1959. Metadata: "system_service.proto",
  1960. }