system_service.pb.go 36 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885
  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-company-gateway/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. // 519 bytes of a gzipped FileDescriptorProto
  29. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x55, 0x61, 0x6b, 0x13, 0x41,
  30. 0x10, 0xf5, 0x53, 0xd5, 0xb1, 0x50, 0xd9, 0x26, 0x6d, 0x4c, 0x6d, 0xb5, 0x15, 0x3f, 0x36, 0xa5,
  31. 0xfa, 0x41, 0x10, 0x04, 0x6b, 0x8a, 0x45, 0x34, 0xb4, 0x34, 0x14, 0x44, 0xc1, 0xb2, 0xb9, 0x1b,
  32. 0x93, 0x60, 0x7a, 0xb7, 0xee, 0x6d, 0x22, 0xf7, 0x23, 0xfd, 0x4f, 0x72, 0x3b, 0xbb, 0x97, 0xdd,
  33. 0xcd, 0xe6, 0xfc, 0x78, 0xef, 0xbd, 0x79, 0xf3, 0x78, 0x37, 0xdc, 0x41, 0xab, 0x28, 0x0b, 0x85,
  34. 0x77, 0xb7, 0x05, 0xca, 0xc5, 0x34, 0xc1, 0x9e, 0x90, 0xb9, 0xca, 0x19, 0x88, 0x51, 0xcf, 0x20,
  35. 0xdd, 0xad, 0xc5, 0xe9, 0x09, 0x89, 0x88, 0x7c, 0xf5, 0x77, 0x13, 0x36, 0x86, 0x1a, 0x60, 0x6f,
  36. 0xe0, 0xfe, 0x4d, 0x81, 0xf2, 0x2c, 0x4d, 0x59, 0xbb, 0x27, 0x46, 0xb7, 0x8b, 0xd3, 0x9e, 0x79,
  37. 0xbe, 0xc6, 0xdf, 0x73, 0x2c, 0x54, 0x77, 0x3b, 0x84, 0xc5, 0xac, 0x3c, 0xba, 0xc7, 0xde, 0x03,
  38. 0x54, 0xc8, 0x8d, 0x48, 0xb9, 0x42, 0xd6, 0x71, 0x44, 0x04, 0xd9, 0xf1, 0x9d, 0x08, 0x43, 0x0e,
  39. 0x66, 0xf5, 0x39, 0xce, 0xbc, 0xd5, 0xe7, 0x38, 0x8b, 0xad, 0xd6, 0x30, 0x0d, 0xbe, 0x85, 0x07,
  40. 0x15, 0xf2, 0x65, 0x5a, 0x28, 0xe6, 0xda, 0x57, 0x80, 0x1d, 0x6d, 0xad, 0xe0, 0x34, 0x7b, 0x0d,
  41. 0x8f, 0x2b, 0xe8, 0x82, 0xcb, 0x14, 0xb3, 0xfe, 0x84, 0x67, 0x63, 0x64, 0x07, 0x8e, 0xd6, 0x25,
  42. 0xac, 0xd7, 0xd3, 0xb5, 0x7c, 0x9d, 0xe7, 0x42, 0xe6, 0x73, 0x51, 0x95, 0x68, 0xf3, 0x58, 0x20,
  43. 0xcc, 0xb3, 0xc4, 0xeb, 0x1a, 0x87, 0x73, 0x81, 0x52, 0xe3, 0x75, 0x8d, 0x4b, 0x28, 0xac, 0xd1,
  44. 0x65, 0xc8, 0xa1, 0x0f, 0x8f, 0x28, 0xd4, 0xa7, 0xec, 0x67, 0x5e, 0xb0, 0x27, 0x76, 0xd1, 0x12,
  45. 0xb3, 0x1e, 0xbb, 0x31, 0xaa, 0x8e, 0x41, 0xa8, 0x2e, 0xb5, 0xe3, 0x09, 0xdd, 0x5a, 0x77, 0x22,
  46. 0x0c, 0x39, 0xbc, 0x83, 0x87, 0x04, 0x56, 0x2d, 0xf8, 0x9b, 0x9c, 0x1a, 0xda, 0xab, 0x04, 0x8d,
  47. 0x7f, 0x84, 0x4d, 0xc2, 0xcc, 0x41, 0x75, 0x3d, 0xa1, 0x7f, 0x52, 0x9d, 0x28, 0x17, 0xc4, 0xa8,
  48. 0xce, 0xca, 0x8f, 0xe1, 0x1c, 0x56, 0x7b, 0x95, 0xa0, 0xf1, 0xef, 0xb0, 0x4d, 0xd8, 0x67, 0x2c,
  49. 0xab, 0x82, 0xcc, 0x85, 0x1c, 0x7a, 0x7a, 0x8f, 0xb3, 0x96, 0xcf, 0x9a, 0x24, 0x64, 0x3e, 0x86,
  50. 0xdd, 0x08, 0xab, 0x1b, 0x7f, 0xb9, 0x7e, 0xda, 0xad, 0xff, 0xc5, 0xff, 0x64, 0x41, 0x99, 0x43,
  51. 0x54, 0x83, 0x64, 0x12, 0x94, 0x49, 0x60, 0xbc, 0x4c, 0xcb, 0x05, 0x6d, 0x10, 0x7c, 0xc5, 0xcb,
  52. 0x41, 0x9e, 0x86, 0x6d, 0x78, 0x5c, 0xbc, 0x8d, 0x40, 0x42, 0xe6, 0x3f, 0xa0, 0xd5, 0xcf, 0xef,
  53. 0x04, 0xcf, 0xca, 0x41, 0x32, 0x71, 0x8e, 0xef, 0xc8, 0x8c, 0xc6, 0x48, 0x6b, 0xff, 0xbc, 0x51,
  54. 0x53, 0x87, 0x3f, 0x13, 0x62, 0x36, 0x4d, 0xb8, 0x9a, 0xe6, 0xd9, 0xa5, 0x4c, 0xe9, 0x2b, 0x67,
  55. 0xc3, 0x47, 0xb8, 0x30, 0x7c, 0x54, 0x42, 0xe6, 0x1c, 0xda, 0xe6, 0x84, 0x97, 0x1a, 0x9d, 0xde,
  56. 0x7f, 0x43, 0x01, 0x6b, 0x17, 0x1c, 0x36, 0x8b, 0x68, 0xc5, 0x25, 0x6c, 0x5d, 0xf1, 0xe4, 0x17,
  57. 0x1f, 0x63, 0x9d, 0x7d, 0xdf, 0xcc, 0x05, 0xb8, 0xb5, 0xdd, 0x5b, 0x47, 0x93, 0xe1, 0x57, 0x60,
  58. 0xa6, 0x2f, 0x23, 0xd0, 0x81, 0x83, 0x2a, 0x1d, 0xca, 0xda, 0x1e, 0x34, 0x28, 0xb4, 0xf3, 0x87,
  59. 0xfd, 0x6f, 0x7b, 0x42, 0xe6, 0x02, 0xa5, 0x2a, 0x8f, 0x13, 0x52, 0x1d, 0x8f, 0xb9, 0xc2, 0x3f,
  60. 0xbc, 0x3c, 0x11, 0xa3, 0xd1, 0x86, 0xfe, 0xeb, 0xbc, 0xfe, 0x17, 0x00, 0x00, 0xff, 0xff, 0xab,
  61. 0x6f, 0x43, 0xc3, 0xaa, 0x06, 0x00, 0x00,
  62. }
  63. // Reference imports to suppress errors if they are not otherwise used.
  64. var _ context.Context
  65. var _ grpc.ClientConnInterface
  66. // This is a compile-time assertion to ensure that this generated file
  67. // is compatible with the grpc package it is being compiled against.
  68. const _ = grpc.SupportPackageIsVersion6
  69. // SystemClient is the client API for System service.
  70. //
  71. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  72. type SystemClient interface {
  73. //
  74. UserAdd(ctx context.Context, in *v1.UserAddRequest, opts ...grpc.CallOption) (*v1.UserAddReply, error)
  75. UserUpdate(ctx context.Context, in *v1.UserUpdateRequest, opts ...grpc.CallOption) (*v1.UserUpdateReply, error)
  76. UserDel(ctx context.Context, in *v1.UserDelRequest, opts ...grpc.CallOption) (*v1.UserDelReply, error)
  77. UserList(ctx context.Context, in *v1.UserListRequest, opts ...grpc.CallOption) (*v1.UserListReply, error)
  78. UserGardenChange(ctx context.Context, in *v1.UserGardenChangeRequest, opts ...grpc.CallOption) (*v1.UserGardenChangeReply, error)
  79. GroupAdd(ctx context.Context, in *v1.GroupAddRequest, opts ...grpc.CallOption) (*v1.GroupAddReply, error)
  80. SuperGroup(ctx context.Context, in *v1.SuperGroupRequest, opts ...grpc.CallOption) (*v1.SuperGroupReply, error)
  81. GardenInfos(ctx context.Context, in *v1.GardenInfosRequest, opts ...grpc.CallOption) (*v1.GardenInfosReply, error)
  82. GardenList(ctx context.Context, in *v1.GardenListRequest, opts ...grpc.CallOption) (*v1.GardenListReply, error)
  83. GardenAdd(ctx context.Context, in *v1.GardenAddRequest, opts ...grpc.CallOption) (*v1.GardenAddReply, error)
  84. GardenUpdate(ctx context.Context, in *v1.GardenUpdateRequest, opts ...grpc.CallOption) (*v1.GardenUpdateReply, error)
  85. GardenDel(ctx context.Context, in *v1.GardenDelRequest, opts ...grpc.CallOption) (*v1.GardenDelReply, error)
  86. // 修改小区关键信息提交申请
  87. GardenKeyInfoChange(ctx context.Context, in *v1.GardenKeyInfoChangeRequest, opts ...grpc.CallOption) (*v1.GardenKeyInfoChangeReply, error)
  88. // 小区关键信息申请列表
  89. GardenKeyInfoChangeList(ctx context.Context, in *v1.GardenKeyInfoChangeListRequest, opts ...grpc.CallOption) (*v1.GardenKeyInfoChangeListReply, error)
  90. // 设置小区支付商户号
  91. GardenSetMch(ctx context.Context, in *v1.GardenSetMchRequest, opts ...grpc.CallOption) (*v1.GardenSetMchReply, error)
  92. // 设置小区支付模式
  93. GardenSetMchPayMode(ctx context.Context, in *v1.GardenSetMchPayModeRequest, opts ...grpc.CallOption) (*v1.GardenSetMchPayModeReply, error)
  94. // 获取公司下的小区支付模式信息
  95. CompanyMchGardenList(ctx context.Context, in *v1.CompanyMchGardenListRequest, opts ...grpc.CallOption) (*v1.CompanyMchGardenListReply, error)
  96. // 应用相关
  97. ApplicationOrderAdd(ctx context.Context, in *v1.ApplicationOrderAddRequest, opts ...grpc.CallOption) (*v1.ApplicationOrderAddReply, error)
  98. GardenApplicationList(ctx context.Context, in *v1.GardenApplicationListRequest, opts ...grpc.CallOption) (*v1.GardenApplicationListReply, error)
  99. // 套餐相关
  100. PackageOrderAdd(ctx context.Context, in *v1.PackageOrderAddRequest, opts ...grpc.CallOption) (*v1.PackageOrderAddReply, error)
  101. CompanyPackageList(ctx context.Context, in *v1.CompanyPackageListRequest, opts ...grpc.CallOption) (*v1.CompanyPackageListReply, error)
  102. }
  103. type systemClient struct {
  104. cc grpc.ClientConnInterface
  105. }
  106. func NewSystemClient(cc grpc.ClientConnInterface) SystemClient {
  107. return &systemClient{cc}
  108. }
  109. func (c *systemClient) UserAdd(ctx context.Context, in *v1.UserAddRequest, opts ...grpc.CallOption) (*v1.UserAddReply, error) {
  110. out := new(v1.UserAddReply)
  111. err := c.cc.Invoke(ctx, "/pb.service.System/UserAdd", in, out, opts...)
  112. if err != nil {
  113. return nil, err
  114. }
  115. return out, nil
  116. }
  117. func (c *systemClient) UserUpdate(ctx context.Context, in *v1.UserUpdateRequest, opts ...grpc.CallOption) (*v1.UserUpdateReply, error) {
  118. out := new(v1.UserUpdateReply)
  119. err := c.cc.Invoke(ctx, "/pb.service.System/UserUpdate", in, out, opts...)
  120. if err != nil {
  121. return nil, err
  122. }
  123. return out, nil
  124. }
  125. func (c *systemClient) UserDel(ctx context.Context, in *v1.UserDelRequest, opts ...grpc.CallOption) (*v1.UserDelReply, error) {
  126. out := new(v1.UserDelReply)
  127. err := c.cc.Invoke(ctx, "/pb.service.System/UserDel", in, out, opts...)
  128. if err != nil {
  129. return nil, err
  130. }
  131. return out, nil
  132. }
  133. func (c *systemClient) UserList(ctx context.Context, in *v1.UserListRequest, opts ...grpc.CallOption) (*v1.UserListReply, error) {
  134. out := new(v1.UserListReply)
  135. err := c.cc.Invoke(ctx, "/pb.service.System/UserList", in, out, opts...)
  136. if err != nil {
  137. return nil, err
  138. }
  139. return out, nil
  140. }
  141. func (c *systemClient) UserGardenChange(ctx context.Context, in *v1.UserGardenChangeRequest, opts ...grpc.CallOption) (*v1.UserGardenChangeReply, error) {
  142. out := new(v1.UserGardenChangeReply)
  143. err := c.cc.Invoke(ctx, "/pb.service.System/UserGardenChange", in, out, opts...)
  144. if err != nil {
  145. return nil, err
  146. }
  147. return out, nil
  148. }
  149. func (c *systemClient) GroupAdd(ctx context.Context, in *v1.GroupAddRequest, opts ...grpc.CallOption) (*v1.GroupAddReply, error) {
  150. out := new(v1.GroupAddReply)
  151. err := c.cc.Invoke(ctx, "/pb.service.System/GroupAdd", in, out, opts...)
  152. if err != nil {
  153. return nil, err
  154. }
  155. return out, nil
  156. }
  157. func (c *systemClient) SuperGroup(ctx context.Context, in *v1.SuperGroupRequest, opts ...grpc.CallOption) (*v1.SuperGroupReply, error) {
  158. out := new(v1.SuperGroupReply)
  159. err := c.cc.Invoke(ctx, "/pb.service.System/SuperGroup", in, out, opts...)
  160. if err != nil {
  161. return nil, err
  162. }
  163. return out, nil
  164. }
  165. func (c *systemClient) GardenInfos(ctx context.Context, in *v1.GardenInfosRequest, opts ...grpc.CallOption) (*v1.GardenInfosReply, error) {
  166. out := new(v1.GardenInfosReply)
  167. err := c.cc.Invoke(ctx, "/pb.service.System/GardenInfos", in, out, opts...)
  168. if err != nil {
  169. return nil, err
  170. }
  171. return out, nil
  172. }
  173. func (c *systemClient) GardenList(ctx context.Context, in *v1.GardenListRequest, opts ...grpc.CallOption) (*v1.GardenListReply, error) {
  174. out := new(v1.GardenListReply)
  175. err := c.cc.Invoke(ctx, "/pb.service.System/GardenList", in, out, opts...)
  176. if err != nil {
  177. return nil, err
  178. }
  179. return out, nil
  180. }
  181. func (c *systemClient) GardenAdd(ctx context.Context, in *v1.GardenAddRequest, opts ...grpc.CallOption) (*v1.GardenAddReply, error) {
  182. out := new(v1.GardenAddReply)
  183. err := c.cc.Invoke(ctx, "/pb.service.System/GardenAdd", in, out, opts...)
  184. if err != nil {
  185. return nil, err
  186. }
  187. return out, nil
  188. }
  189. func (c *systemClient) GardenUpdate(ctx context.Context, in *v1.GardenUpdateRequest, opts ...grpc.CallOption) (*v1.GardenUpdateReply, error) {
  190. out := new(v1.GardenUpdateReply)
  191. err := c.cc.Invoke(ctx, "/pb.service.System/GardenUpdate", in, out, opts...)
  192. if err != nil {
  193. return nil, err
  194. }
  195. return out, nil
  196. }
  197. func (c *systemClient) GardenDel(ctx context.Context, in *v1.GardenDelRequest, opts ...grpc.CallOption) (*v1.GardenDelReply, error) {
  198. out := new(v1.GardenDelReply)
  199. err := c.cc.Invoke(ctx, "/pb.service.System/GardenDel", in, out, opts...)
  200. if err != nil {
  201. return nil, err
  202. }
  203. return out, nil
  204. }
  205. func (c *systemClient) GardenKeyInfoChange(ctx context.Context, in *v1.GardenKeyInfoChangeRequest, opts ...grpc.CallOption) (*v1.GardenKeyInfoChangeReply, error) {
  206. out := new(v1.GardenKeyInfoChangeReply)
  207. err := c.cc.Invoke(ctx, "/pb.service.System/GardenKeyInfoChange", in, out, opts...)
  208. if err != nil {
  209. return nil, err
  210. }
  211. return out, nil
  212. }
  213. func (c *systemClient) GardenKeyInfoChangeList(ctx context.Context, in *v1.GardenKeyInfoChangeListRequest, opts ...grpc.CallOption) (*v1.GardenKeyInfoChangeListReply, error) {
  214. out := new(v1.GardenKeyInfoChangeListReply)
  215. err := c.cc.Invoke(ctx, "/pb.service.System/GardenKeyInfoChangeList", in, out, opts...)
  216. if err != nil {
  217. return nil, err
  218. }
  219. return out, nil
  220. }
  221. func (c *systemClient) GardenSetMch(ctx context.Context, in *v1.GardenSetMchRequest, opts ...grpc.CallOption) (*v1.GardenSetMchReply, error) {
  222. out := new(v1.GardenSetMchReply)
  223. err := c.cc.Invoke(ctx, "/pb.service.System/GardenSetMch", in, out, opts...)
  224. if err != nil {
  225. return nil, err
  226. }
  227. return out, nil
  228. }
  229. func (c *systemClient) GardenSetMchPayMode(ctx context.Context, in *v1.GardenSetMchPayModeRequest, opts ...grpc.CallOption) (*v1.GardenSetMchPayModeReply, error) {
  230. out := new(v1.GardenSetMchPayModeReply)
  231. err := c.cc.Invoke(ctx, "/pb.service.System/GardenSetMchPayMode", in, out, opts...)
  232. if err != nil {
  233. return nil, err
  234. }
  235. return out, nil
  236. }
  237. func (c *systemClient) CompanyMchGardenList(ctx context.Context, in *v1.CompanyMchGardenListRequest, opts ...grpc.CallOption) (*v1.CompanyMchGardenListReply, error) {
  238. out := new(v1.CompanyMchGardenListReply)
  239. err := c.cc.Invoke(ctx, "/pb.service.System/CompanyMchGardenList", in, out, opts...)
  240. if err != nil {
  241. return nil, err
  242. }
  243. return out, nil
  244. }
  245. func (c *systemClient) ApplicationOrderAdd(ctx context.Context, in *v1.ApplicationOrderAddRequest, opts ...grpc.CallOption) (*v1.ApplicationOrderAddReply, error) {
  246. out := new(v1.ApplicationOrderAddReply)
  247. err := c.cc.Invoke(ctx, "/pb.service.System/ApplicationOrderAdd", in, out, opts...)
  248. if err != nil {
  249. return nil, err
  250. }
  251. return out, nil
  252. }
  253. func (c *systemClient) GardenApplicationList(ctx context.Context, in *v1.GardenApplicationListRequest, opts ...grpc.CallOption) (*v1.GardenApplicationListReply, error) {
  254. out := new(v1.GardenApplicationListReply)
  255. err := c.cc.Invoke(ctx, "/pb.service.System/GardenApplicationList", in, out, opts...)
  256. if err != nil {
  257. return nil, err
  258. }
  259. return out, nil
  260. }
  261. func (c *systemClient) PackageOrderAdd(ctx context.Context, in *v1.PackageOrderAddRequest, opts ...grpc.CallOption) (*v1.PackageOrderAddReply, error) {
  262. out := new(v1.PackageOrderAddReply)
  263. err := c.cc.Invoke(ctx, "/pb.service.System/PackageOrderAdd", in, out, opts...)
  264. if err != nil {
  265. return nil, err
  266. }
  267. return out, nil
  268. }
  269. func (c *systemClient) CompanyPackageList(ctx context.Context, in *v1.CompanyPackageListRequest, opts ...grpc.CallOption) (*v1.CompanyPackageListReply, error) {
  270. out := new(v1.CompanyPackageListReply)
  271. err := c.cc.Invoke(ctx, "/pb.service.System/CompanyPackageList", in, out, opts...)
  272. if err != nil {
  273. return nil, err
  274. }
  275. return out, nil
  276. }
  277. // SystemServer is the server API for System service.
  278. type SystemServer interface {
  279. //
  280. UserAdd(context.Context, *v1.UserAddRequest) (*v1.UserAddReply, error)
  281. UserUpdate(context.Context, *v1.UserUpdateRequest) (*v1.UserUpdateReply, error)
  282. UserDel(context.Context, *v1.UserDelRequest) (*v1.UserDelReply, error)
  283. UserList(context.Context, *v1.UserListRequest) (*v1.UserListReply, error)
  284. UserGardenChange(context.Context, *v1.UserGardenChangeRequest) (*v1.UserGardenChangeReply, error)
  285. GroupAdd(context.Context, *v1.GroupAddRequest) (*v1.GroupAddReply, error)
  286. SuperGroup(context.Context, *v1.SuperGroupRequest) (*v1.SuperGroupReply, error)
  287. GardenInfos(context.Context, *v1.GardenInfosRequest) (*v1.GardenInfosReply, error)
  288. GardenList(context.Context, *v1.GardenListRequest) (*v1.GardenListReply, error)
  289. GardenAdd(context.Context, *v1.GardenAddRequest) (*v1.GardenAddReply, error)
  290. GardenUpdate(context.Context, *v1.GardenUpdateRequest) (*v1.GardenUpdateReply, error)
  291. GardenDel(context.Context, *v1.GardenDelRequest) (*v1.GardenDelReply, error)
  292. // 修改小区关键信息提交申请
  293. GardenKeyInfoChange(context.Context, *v1.GardenKeyInfoChangeRequest) (*v1.GardenKeyInfoChangeReply, error)
  294. // 小区关键信息申请列表
  295. GardenKeyInfoChangeList(context.Context, *v1.GardenKeyInfoChangeListRequest) (*v1.GardenKeyInfoChangeListReply, error)
  296. // 设置小区支付商户号
  297. GardenSetMch(context.Context, *v1.GardenSetMchRequest) (*v1.GardenSetMchReply, error)
  298. // 设置小区支付模式
  299. GardenSetMchPayMode(context.Context, *v1.GardenSetMchPayModeRequest) (*v1.GardenSetMchPayModeReply, error)
  300. // 获取公司下的小区支付模式信息
  301. CompanyMchGardenList(context.Context, *v1.CompanyMchGardenListRequest) (*v1.CompanyMchGardenListReply, error)
  302. // 应用相关
  303. ApplicationOrderAdd(context.Context, *v1.ApplicationOrderAddRequest) (*v1.ApplicationOrderAddReply, error)
  304. GardenApplicationList(context.Context, *v1.GardenApplicationListRequest) (*v1.GardenApplicationListReply, error)
  305. // 套餐相关
  306. PackageOrderAdd(context.Context, *v1.PackageOrderAddRequest) (*v1.PackageOrderAddReply, error)
  307. CompanyPackageList(context.Context, *v1.CompanyPackageListRequest) (*v1.CompanyPackageListReply, error)
  308. }
  309. // UnimplementedSystemServer can be embedded to have forward compatible implementations.
  310. type UnimplementedSystemServer struct {
  311. }
  312. func (*UnimplementedSystemServer) UserAdd(ctx context.Context, req *v1.UserAddRequest) (*v1.UserAddReply, error) {
  313. return nil, status.Errorf(codes.Unimplemented, "method UserAdd not implemented")
  314. }
  315. func (*UnimplementedSystemServer) UserUpdate(ctx context.Context, req *v1.UserUpdateRequest) (*v1.UserUpdateReply, error) {
  316. return nil, status.Errorf(codes.Unimplemented, "method UserUpdate not implemented")
  317. }
  318. func (*UnimplementedSystemServer) UserDel(ctx context.Context, req *v1.UserDelRequest) (*v1.UserDelReply, error) {
  319. return nil, status.Errorf(codes.Unimplemented, "method UserDel not implemented")
  320. }
  321. func (*UnimplementedSystemServer) UserList(ctx context.Context, req *v1.UserListRequest) (*v1.UserListReply, error) {
  322. return nil, status.Errorf(codes.Unimplemented, "method UserList not implemented")
  323. }
  324. func (*UnimplementedSystemServer) UserGardenChange(ctx context.Context, req *v1.UserGardenChangeRequest) (*v1.UserGardenChangeReply, error) {
  325. return nil, status.Errorf(codes.Unimplemented, "method UserGardenChange not implemented")
  326. }
  327. func (*UnimplementedSystemServer) GroupAdd(ctx context.Context, req *v1.GroupAddRequest) (*v1.GroupAddReply, error) {
  328. return nil, status.Errorf(codes.Unimplemented, "method GroupAdd not implemented")
  329. }
  330. func (*UnimplementedSystemServer) SuperGroup(ctx context.Context, req *v1.SuperGroupRequest) (*v1.SuperGroupReply, error) {
  331. return nil, status.Errorf(codes.Unimplemented, "method SuperGroup not implemented")
  332. }
  333. func (*UnimplementedSystemServer) GardenInfos(ctx context.Context, req *v1.GardenInfosRequest) (*v1.GardenInfosReply, error) {
  334. return nil, status.Errorf(codes.Unimplemented, "method GardenInfos not implemented")
  335. }
  336. func (*UnimplementedSystemServer) GardenList(ctx context.Context, req *v1.GardenListRequest) (*v1.GardenListReply, error) {
  337. return nil, status.Errorf(codes.Unimplemented, "method GardenList not implemented")
  338. }
  339. func (*UnimplementedSystemServer) GardenAdd(ctx context.Context, req *v1.GardenAddRequest) (*v1.GardenAddReply, error) {
  340. return nil, status.Errorf(codes.Unimplemented, "method GardenAdd not implemented")
  341. }
  342. func (*UnimplementedSystemServer) GardenUpdate(ctx context.Context, req *v1.GardenUpdateRequest) (*v1.GardenUpdateReply, error) {
  343. return nil, status.Errorf(codes.Unimplemented, "method GardenUpdate not implemented")
  344. }
  345. func (*UnimplementedSystemServer) GardenDel(ctx context.Context, req *v1.GardenDelRequest) (*v1.GardenDelReply, error) {
  346. return nil, status.Errorf(codes.Unimplemented, "method GardenDel not implemented")
  347. }
  348. func (*UnimplementedSystemServer) GardenKeyInfoChange(ctx context.Context, req *v1.GardenKeyInfoChangeRequest) (*v1.GardenKeyInfoChangeReply, error) {
  349. return nil, status.Errorf(codes.Unimplemented, "method GardenKeyInfoChange not implemented")
  350. }
  351. func (*UnimplementedSystemServer) GardenKeyInfoChangeList(ctx context.Context, req *v1.GardenKeyInfoChangeListRequest) (*v1.GardenKeyInfoChangeListReply, error) {
  352. return nil, status.Errorf(codes.Unimplemented, "method GardenKeyInfoChangeList not implemented")
  353. }
  354. func (*UnimplementedSystemServer) GardenSetMch(ctx context.Context, req *v1.GardenSetMchRequest) (*v1.GardenSetMchReply, error) {
  355. return nil, status.Errorf(codes.Unimplemented, "method GardenSetMch not implemented")
  356. }
  357. func (*UnimplementedSystemServer) GardenSetMchPayMode(ctx context.Context, req *v1.GardenSetMchPayModeRequest) (*v1.GardenSetMchPayModeReply, error) {
  358. return nil, status.Errorf(codes.Unimplemented, "method GardenSetMchPayMode not implemented")
  359. }
  360. func (*UnimplementedSystemServer) CompanyMchGardenList(ctx context.Context, req *v1.CompanyMchGardenListRequest) (*v1.CompanyMchGardenListReply, error) {
  361. return nil, status.Errorf(codes.Unimplemented, "method CompanyMchGardenList not implemented")
  362. }
  363. func (*UnimplementedSystemServer) ApplicationOrderAdd(ctx context.Context, req *v1.ApplicationOrderAddRequest) (*v1.ApplicationOrderAddReply, error) {
  364. return nil, status.Errorf(codes.Unimplemented, "method ApplicationOrderAdd not implemented")
  365. }
  366. func (*UnimplementedSystemServer) GardenApplicationList(ctx context.Context, req *v1.GardenApplicationListRequest) (*v1.GardenApplicationListReply, error) {
  367. return nil, status.Errorf(codes.Unimplemented, "method GardenApplicationList not implemented")
  368. }
  369. func (*UnimplementedSystemServer) PackageOrderAdd(ctx context.Context, req *v1.PackageOrderAddRequest) (*v1.PackageOrderAddReply, error) {
  370. return nil, status.Errorf(codes.Unimplemented, "method PackageOrderAdd not implemented")
  371. }
  372. func (*UnimplementedSystemServer) CompanyPackageList(ctx context.Context, req *v1.CompanyPackageListRequest) (*v1.CompanyPackageListReply, error) {
  373. return nil, status.Errorf(codes.Unimplemented, "method CompanyPackageList not implemented")
  374. }
  375. func RegisterSystemServer(s *grpc.Server, srv SystemServer) {
  376. s.RegisterService(&_System_serviceDesc, srv)
  377. }
  378. func _System_UserAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  379. in := new(v1.UserAddRequest)
  380. if err := dec(in); err != nil {
  381. return nil, err
  382. }
  383. if interceptor == nil {
  384. return srv.(SystemServer).UserAdd(ctx, in)
  385. }
  386. info := &grpc.UnaryServerInfo{
  387. Server: srv,
  388. FullMethod: "/pb.service.System/UserAdd",
  389. }
  390. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  391. return srv.(SystemServer).UserAdd(ctx, req.(*v1.UserAddRequest))
  392. }
  393. return interceptor(ctx, in, info, handler)
  394. }
  395. func _System_UserUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  396. in := new(v1.UserUpdateRequest)
  397. if err := dec(in); err != nil {
  398. return nil, err
  399. }
  400. if interceptor == nil {
  401. return srv.(SystemServer).UserUpdate(ctx, in)
  402. }
  403. info := &grpc.UnaryServerInfo{
  404. Server: srv,
  405. FullMethod: "/pb.service.System/UserUpdate",
  406. }
  407. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  408. return srv.(SystemServer).UserUpdate(ctx, req.(*v1.UserUpdateRequest))
  409. }
  410. return interceptor(ctx, in, info, handler)
  411. }
  412. func _System_UserDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  413. in := new(v1.UserDelRequest)
  414. if err := dec(in); err != nil {
  415. return nil, err
  416. }
  417. if interceptor == nil {
  418. return srv.(SystemServer).UserDel(ctx, in)
  419. }
  420. info := &grpc.UnaryServerInfo{
  421. Server: srv,
  422. FullMethod: "/pb.service.System/UserDel",
  423. }
  424. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  425. return srv.(SystemServer).UserDel(ctx, req.(*v1.UserDelRequest))
  426. }
  427. return interceptor(ctx, in, info, handler)
  428. }
  429. func _System_UserList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  430. in := new(v1.UserListRequest)
  431. if err := dec(in); err != nil {
  432. return nil, err
  433. }
  434. if interceptor == nil {
  435. return srv.(SystemServer).UserList(ctx, in)
  436. }
  437. info := &grpc.UnaryServerInfo{
  438. Server: srv,
  439. FullMethod: "/pb.service.System/UserList",
  440. }
  441. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  442. return srv.(SystemServer).UserList(ctx, req.(*v1.UserListRequest))
  443. }
  444. return interceptor(ctx, in, info, handler)
  445. }
  446. func _System_UserGardenChange_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  447. in := new(v1.UserGardenChangeRequest)
  448. if err := dec(in); err != nil {
  449. return nil, err
  450. }
  451. if interceptor == nil {
  452. return srv.(SystemServer).UserGardenChange(ctx, in)
  453. }
  454. info := &grpc.UnaryServerInfo{
  455. Server: srv,
  456. FullMethod: "/pb.service.System/UserGardenChange",
  457. }
  458. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  459. return srv.(SystemServer).UserGardenChange(ctx, req.(*v1.UserGardenChangeRequest))
  460. }
  461. return interceptor(ctx, in, info, handler)
  462. }
  463. func _System_GroupAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  464. in := new(v1.GroupAddRequest)
  465. if err := dec(in); err != nil {
  466. return nil, err
  467. }
  468. if interceptor == nil {
  469. return srv.(SystemServer).GroupAdd(ctx, in)
  470. }
  471. info := &grpc.UnaryServerInfo{
  472. Server: srv,
  473. FullMethod: "/pb.service.System/GroupAdd",
  474. }
  475. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  476. return srv.(SystemServer).GroupAdd(ctx, req.(*v1.GroupAddRequest))
  477. }
  478. return interceptor(ctx, in, info, handler)
  479. }
  480. func _System_SuperGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  481. in := new(v1.SuperGroupRequest)
  482. if err := dec(in); err != nil {
  483. return nil, err
  484. }
  485. if interceptor == nil {
  486. return srv.(SystemServer).SuperGroup(ctx, in)
  487. }
  488. info := &grpc.UnaryServerInfo{
  489. Server: srv,
  490. FullMethod: "/pb.service.System/SuperGroup",
  491. }
  492. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  493. return srv.(SystemServer).SuperGroup(ctx, req.(*v1.SuperGroupRequest))
  494. }
  495. return interceptor(ctx, in, info, handler)
  496. }
  497. func _System_GardenInfos_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  498. in := new(v1.GardenInfosRequest)
  499. if err := dec(in); err != nil {
  500. return nil, err
  501. }
  502. if interceptor == nil {
  503. return srv.(SystemServer).GardenInfos(ctx, in)
  504. }
  505. info := &grpc.UnaryServerInfo{
  506. Server: srv,
  507. FullMethod: "/pb.service.System/GardenInfos",
  508. }
  509. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  510. return srv.(SystemServer).GardenInfos(ctx, req.(*v1.GardenInfosRequest))
  511. }
  512. return interceptor(ctx, in, info, handler)
  513. }
  514. func _System_GardenList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  515. in := new(v1.GardenListRequest)
  516. if err := dec(in); err != nil {
  517. return nil, err
  518. }
  519. if interceptor == nil {
  520. return srv.(SystemServer).GardenList(ctx, in)
  521. }
  522. info := &grpc.UnaryServerInfo{
  523. Server: srv,
  524. FullMethod: "/pb.service.System/GardenList",
  525. }
  526. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  527. return srv.(SystemServer).GardenList(ctx, req.(*v1.GardenListRequest))
  528. }
  529. return interceptor(ctx, in, info, handler)
  530. }
  531. func _System_GardenAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  532. in := new(v1.GardenAddRequest)
  533. if err := dec(in); err != nil {
  534. return nil, err
  535. }
  536. if interceptor == nil {
  537. return srv.(SystemServer).GardenAdd(ctx, in)
  538. }
  539. info := &grpc.UnaryServerInfo{
  540. Server: srv,
  541. FullMethod: "/pb.service.System/GardenAdd",
  542. }
  543. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  544. return srv.(SystemServer).GardenAdd(ctx, req.(*v1.GardenAddRequest))
  545. }
  546. return interceptor(ctx, in, info, handler)
  547. }
  548. func _System_GardenUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  549. in := new(v1.GardenUpdateRequest)
  550. if err := dec(in); err != nil {
  551. return nil, err
  552. }
  553. if interceptor == nil {
  554. return srv.(SystemServer).GardenUpdate(ctx, in)
  555. }
  556. info := &grpc.UnaryServerInfo{
  557. Server: srv,
  558. FullMethod: "/pb.service.System/GardenUpdate",
  559. }
  560. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  561. return srv.(SystemServer).GardenUpdate(ctx, req.(*v1.GardenUpdateRequest))
  562. }
  563. return interceptor(ctx, in, info, handler)
  564. }
  565. func _System_GardenDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  566. in := new(v1.GardenDelRequest)
  567. if err := dec(in); err != nil {
  568. return nil, err
  569. }
  570. if interceptor == nil {
  571. return srv.(SystemServer).GardenDel(ctx, in)
  572. }
  573. info := &grpc.UnaryServerInfo{
  574. Server: srv,
  575. FullMethod: "/pb.service.System/GardenDel",
  576. }
  577. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  578. return srv.(SystemServer).GardenDel(ctx, req.(*v1.GardenDelRequest))
  579. }
  580. return interceptor(ctx, in, info, handler)
  581. }
  582. func _System_GardenKeyInfoChange_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  583. in := new(v1.GardenKeyInfoChangeRequest)
  584. if err := dec(in); err != nil {
  585. return nil, err
  586. }
  587. if interceptor == nil {
  588. return srv.(SystemServer).GardenKeyInfoChange(ctx, in)
  589. }
  590. info := &grpc.UnaryServerInfo{
  591. Server: srv,
  592. FullMethod: "/pb.service.System/GardenKeyInfoChange",
  593. }
  594. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  595. return srv.(SystemServer).GardenKeyInfoChange(ctx, req.(*v1.GardenKeyInfoChangeRequest))
  596. }
  597. return interceptor(ctx, in, info, handler)
  598. }
  599. func _System_GardenKeyInfoChangeList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  600. in := new(v1.GardenKeyInfoChangeListRequest)
  601. if err := dec(in); err != nil {
  602. return nil, err
  603. }
  604. if interceptor == nil {
  605. return srv.(SystemServer).GardenKeyInfoChangeList(ctx, in)
  606. }
  607. info := &grpc.UnaryServerInfo{
  608. Server: srv,
  609. FullMethod: "/pb.service.System/GardenKeyInfoChangeList",
  610. }
  611. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  612. return srv.(SystemServer).GardenKeyInfoChangeList(ctx, req.(*v1.GardenKeyInfoChangeListRequest))
  613. }
  614. return interceptor(ctx, in, info, handler)
  615. }
  616. func _System_GardenSetMch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  617. in := new(v1.GardenSetMchRequest)
  618. if err := dec(in); err != nil {
  619. return nil, err
  620. }
  621. if interceptor == nil {
  622. return srv.(SystemServer).GardenSetMch(ctx, in)
  623. }
  624. info := &grpc.UnaryServerInfo{
  625. Server: srv,
  626. FullMethod: "/pb.service.System/GardenSetMch",
  627. }
  628. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  629. return srv.(SystemServer).GardenSetMch(ctx, req.(*v1.GardenSetMchRequest))
  630. }
  631. return interceptor(ctx, in, info, handler)
  632. }
  633. func _System_GardenSetMchPayMode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  634. in := new(v1.GardenSetMchPayModeRequest)
  635. if err := dec(in); err != nil {
  636. return nil, err
  637. }
  638. if interceptor == nil {
  639. return srv.(SystemServer).GardenSetMchPayMode(ctx, in)
  640. }
  641. info := &grpc.UnaryServerInfo{
  642. Server: srv,
  643. FullMethod: "/pb.service.System/GardenSetMchPayMode",
  644. }
  645. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  646. return srv.(SystemServer).GardenSetMchPayMode(ctx, req.(*v1.GardenSetMchPayModeRequest))
  647. }
  648. return interceptor(ctx, in, info, handler)
  649. }
  650. func _System_CompanyMchGardenList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  651. in := new(v1.CompanyMchGardenListRequest)
  652. if err := dec(in); err != nil {
  653. return nil, err
  654. }
  655. if interceptor == nil {
  656. return srv.(SystemServer).CompanyMchGardenList(ctx, in)
  657. }
  658. info := &grpc.UnaryServerInfo{
  659. Server: srv,
  660. FullMethod: "/pb.service.System/CompanyMchGardenList",
  661. }
  662. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  663. return srv.(SystemServer).CompanyMchGardenList(ctx, req.(*v1.CompanyMchGardenListRequest))
  664. }
  665. return interceptor(ctx, in, info, handler)
  666. }
  667. func _System_ApplicationOrderAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  668. in := new(v1.ApplicationOrderAddRequest)
  669. if err := dec(in); err != nil {
  670. return nil, err
  671. }
  672. if interceptor == nil {
  673. return srv.(SystemServer).ApplicationOrderAdd(ctx, in)
  674. }
  675. info := &grpc.UnaryServerInfo{
  676. Server: srv,
  677. FullMethod: "/pb.service.System/ApplicationOrderAdd",
  678. }
  679. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  680. return srv.(SystemServer).ApplicationOrderAdd(ctx, req.(*v1.ApplicationOrderAddRequest))
  681. }
  682. return interceptor(ctx, in, info, handler)
  683. }
  684. func _System_GardenApplicationList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  685. in := new(v1.GardenApplicationListRequest)
  686. if err := dec(in); err != nil {
  687. return nil, err
  688. }
  689. if interceptor == nil {
  690. return srv.(SystemServer).GardenApplicationList(ctx, in)
  691. }
  692. info := &grpc.UnaryServerInfo{
  693. Server: srv,
  694. FullMethod: "/pb.service.System/GardenApplicationList",
  695. }
  696. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  697. return srv.(SystemServer).GardenApplicationList(ctx, req.(*v1.GardenApplicationListRequest))
  698. }
  699. return interceptor(ctx, in, info, handler)
  700. }
  701. func _System_PackageOrderAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  702. in := new(v1.PackageOrderAddRequest)
  703. if err := dec(in); err != nil {
  704. return nil, err
  705. }
  706. if interceptor == nil {
  707. return srv.(SystemServer).PackageOrderAdd(ctx, in)
  708. }
  709. info := &grpc.UnaryServerInfo{
  710. Server: srv,
  711. FullMethod: "/pb.service.System/PackageOrderAdd",
  712. }
  713. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  714. return srv.(SystemServer).PackageOrderAdd(ctx, req.(*v1.PackageOrderAddRequest))
  715. }
  716. return interceptor(ctx, in, info, handler)
  717. }
  718. func _System_CompanyPackageList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  719. in := new(v1.CompanyPackageListRequest)
  720. if err := dec(in); err != nil {
  721. return nil, err
  722. }
  723. if interceptor == nil {
  724. return srv.(SystemServer).CompanyPackageList(ctx, in)
  725. }
  726. info := &grpc.UnaryServerInfo{
  727. Server: srv,
  728. FullMethod: "/pb.service.System/CompanyPackageList",
  729. }
  730. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  731. return srv.(SystemServer).CompanyPackageList(ctx, req.(*v1.CompanyPackageListRequest))
  732. }
  733. return interceptor(ctx, in, info, handler)
  734. }
  735. var _System_serviceDesc = grpc.ServiceDesc{
  736. ServiceName: "pb.service.System",
  737. HandlerType: (*SystemServer)(nil),
  738. Methods: []grpc.MethodDesc{
  739. {
  740. MethodName: "UserAdd",
  741. Handler: _System_UserAdd_Handler,
  742. },
  743. {
  744. MethodName: "UserUpdate",
  745. Handler: _System_UserUpdate_Handler,
  746. },
  747. {
  748. MethodName: "UserDel",
  749. Handler: _System_UserDel_Handler,
  750. },
  751. {
  752. MethodName: "UserList",
  753. Handler: _System_UserList_Handler,
  754. },
  755. {
  756. MethodName: "UserGardenChange",
  757. Handler: _System_UserGardenChange_Handler,
  758. },
  759. {
  760. MethodName: "GroupAdd",
  761. Handler: _System_GroupAdd_Handler,
  762. },
  763. {
  764. MethodName: "SuperGroup",
  765. Handler: _System_SuperGroup_Handler,
  766. },
  767. {
  768. MethodName: "GardenInfos",
  769. Handler: _System_GardenInfos_Handler,
  770. },
  771. {
  772. MethodName: "GardenList",
  773. Handler: _System_GardenList_Handler,
  774. },
  775. {
  776. MethodName: "GardenAdd",
  777. Handler: _System_GardenAdd_Handler,
  778. },
  779. {
  780. MethodName: "GardenUpdate",
  781. Handler: _System_GardenUpdate_Handler,
  782. },
  783. {
  784. MethodName: "GardenDel",
  785. Handler: _System_GardenDel_Handler,
  786. },
  787. {
  788. MethodName: "GardenKeyInfoChange",
  789. Handler: _System_GardenKeyInfoChange_Handler,
  790. },
  791. {
  792. MethodName: "GardenKeyInfoChangeList",
  793. Handler: _System_GardenKeyInfoChangeList_Handler,
  794. },
  795. {
  796. MethodName: "GardenSetMch",
  797. Handler: _System_GardenSetMch_Handler,
  798. },
  799. {
  800. MethodName: "GardenSetMchPayMode",
  801. Handler: _System_GardenSetMchPayMode_Handler,
  802. },
  803. {
  804. MethodName: "CompanyMchGardenList",
  805. Handler: _System_CompanyMchGardenList_Handler,
  806. },
  807. {
  808. MethodName: "ApplicationOrderAdd",
  809. Handler: _System_ApplicationOrderAdd_Handler,
  810. },
  811. {
  812. MethodName: "GardenApplicationList",
  813. Handler: _System_GardenApplicationList_Handler,
  814. },
  815. {
  816. MethodName: "PackageOrderAdd",
  817. Handler: _System_PackageOrderAdd_Handler,
  818. },
  819. {
  820. MethodName: "CompanyPackageList",
  821. Handler: _System_CompanyPackageList_Handler,
  822. },
  823. },
  824. Streams: []grpc.StreamDesc{},
  825. Metadata: "system_service.proto",
  826. }