thirdparty_service.pb.go 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: thirdparty_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-thirdparty/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("thirdparty_service.proto", fileDescriptor_22d5d2ee5c1185d0)
  26. }
  27. var fileDescriptor_22d5d2ee5c1185d0 = []byte{
  28. // 443 bytes of a gzipped FileDescriptorProto
  29. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x94, 0x4f, 0x6f, 0xd3, 0x30,
  30. 0x18, 0xc6, 0x39, 0xa1, 0x61, 0xc4, 0x3f, 0x83, 0x4a, 0xd7, 0x0d, 0x90, 0xb8, 0x93, 0x69, 0x70,
  31. 0xdb, 0x89, 0x32, 0x09, 0x14, 0x69, 0xd5, 0x4a, 0xda, 0x32, 0x89, 0xcb, 0x94, 0x38, 0x2f, 0x8d,
  32. 0xd5, 0x62, 0x1b, 0xc7, 0xa9, 0x9a, 0xef, 0xca, 0x87, 0x99, 0x1a, 0xc7, 0x76, 0x63, 0x27, 0xd7,
  33. 0xe7, 0xf7, 0xf8, 0x27, 0x27, 0xf6, 0x6b, 0x34, 0x56, 0x05, 0x95, 0xb9, 0x48, 0xa5, 0xaa, 0xef,
  34. 0x4b, 0x90, 0x3b, 0x4a, 0x20, 0x12, 0x92, 0x2b, 0x8e, 0x91, 0xc8, 0xa2, 0x36, 0x99, 0xbc, 0xde,
  35. 0x5d, 0x5e, 0xb8, 0xa2, 0x2e, 0x7c, 0xfe, 0xff, 0x04, 0xe1, 0xb9, 0xe4, 0x02, 0xa4, 0xaa, 0x97,
  36. 0x16, 0xe2, 0x2b, 0x74, 0xf2, 0x03, 0xd4, 0x2f, 0xc2, 0x73, 0xc0, 0xa3, 0x48, 0x64, 0xf7, 0xbb,
  37. 0xcb, 0xc8, 0x04, 0x09, 0xfc, 0xab, 0xa0, 0x54, 0x93, 0x37, 0x41, 0x2e, 0xb6, 0xf5, 0xc7, 0x47,
  38. 0xf8, 0x2b, 0x42, 0xd7, 0x05, 0x90, 0x8d, 0x5e, 0x3d, 0x6e, 0x5b, 0x2e, 0x32, 0xeb, 0x47, 0x3d,
  39. 0x44, 0x1b, 0x56, 0xe8, 0xd5, 0xdd, 0x7e, 0x2a, 0xc4, 0x16, 0xd4, 0x0d, 0x5f, 0x53, 0x36, 0xad,
  40. 0x54, 0x81, 0x3f, 0xb4, 0xf5, 0x80, 0x18, 0xdf, 0xbb, 0xe1, 0x82, 0xd6, 0xde, 0xa0, 0xe7, 0x86,
  41. 0xcd, 0x25, 0x88, 0xb4, 0xc6, 0xe7, 0xde, 0x12, 0x1d, 0x1b, 0xe1, 0x64, 0x80, 0x6a, 0x5b, 0x8c,
  42. 0x9e, 0x19, 0xf0, 0xb3, 0x02, 0x59, 0xe3, 0x33, 0xaf, 0xde, 0xa4, 0xc6, 0x75, 0xda, 0x0f, 0xb5,
  43. 0xea, 0x16, 0xbd, 0xb8, 0xdb, 0xcf, 0xab, 0x6c, 0x4b, 0xc9, 0x8a, 0x51, 0xce, 0xe2, 0x1c, 0xbb,
  44. 0x8f, 0xe9, 0xe4, 0x46, 0x77, 0x36, 0x84, 0x03, 0xe1, 0xac, 0x5c, 0x2f, 0x80, 0x85, 0xc2, 0x36,
  45. 0x1f, 0x12, 0x5a, 0x1c, 0x08, 0xa7, 0x79, 0x3e, 0xa3, 0x8c, 0x06, 0xc2, 0x36, 0x1f, 0x12, 0x5a,
  46. 0x6c, 0xcf, 0x62, 0x09, 0x8c, 0x00, 0x53, 0x66, 0x83, 0xe6, 0x2c, 0xba, 0xb1, 0x7f, 0x16, 0x3e,
  47. 0xb5, 0xb6, 0x5b, 0x01, 0x2c, 0xfe, 0x9b, 0xc0, 0x9a, 0x96, 0x0a, 0xa4, 0xb5, 0x75, 0x63, 0xdf,
  48. 0xe6, 0x53, 0x6d, 0xbb, 0x46, 0x4f, 0x35, 0x58, 0xf2, 0x0d, 0x30, 0x7c, 0xda, 0x29, 0x37, 0x99,
  49. 0xf1, 0xbc, 0xed, 0x43, 0xde, 0x96, 0x56, 0x25, 0xc8, 0x98, 0xfd, 0xe1, 0xde, 0x96, 0x4c, 0xdc,
  50. 0xbf, 0x25, 0x47, 0xed, 0x44, 0x38, 0xb0, 0x00, 0xf5, 0x3d, 0x25, 0x60, 0x27, 0x22, 0x20, 0xfe,
  51. 0x44, 0xf4, 0x14, 0xb4, 0xf6, 0x0a, 0x9d, 0x24, 0x3c, 0xe3, 0x87, 0xdf, 0x69, 0xc7, 0xdc, 0x04,
  52. 0xfe, 0x98, 0xbb, 0xfc, 0xe8, 0x4a, 0xcc, 0x40, 0x92, 0x22, 0x65, 0xea, 0x70, 0xa9, 0xeb, 0xa3,
  53. 0x2b, 0xd1, 0xc9, 0xc3, 0x2b, 0xe1, 0x61, 0x2d, 0x4c, 0xd0, 0x4b, 0x47, 0x16, 0x90, 0x4a, 0x52,
  54. 0xe0, 0xf7, 0xc1, 0x12, 0x0d, 0x8c, 0xf2, 0x7c, 0x90, 0x37, 0xce, 0x6f, 0xe3, 0xdf, 0x23, 0xd1,
  55. 0xbe, 0x6e, 0x9f, 0xdc, 0xdb, 0x77, 0x21, 0xb2, 0xec, 0x71, 0xf3, 0xfe, 0x7d, 0x79, 0x08, 0x00,
  56. 0x00, 0xff, 0xff, 0x63, 0xb4, 0x62, 0x3f, 0x3c, 0x05, 0x00, 0x00,
  57. }
  58. // Reference imports to suppress errors if they are not otherwise used.
  59. var _ context.Context
  60. var _ grpc.ClientConnInterface
  61. // This is a compile-time assertion to ensure that this generated file
  62. // is compatible with the grpc package it is being compiled against.
  63. const _ = grpc.SupportPackageIsVersion6
  64. // PropertyThirdpartyClient is the client API for PropertyThirdparty service.
  65. //
  66. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  67. type PropertyThirdpartyClient interface {
  68. // 获取短信验证码
  69. GetVcode(ctx context.Context, in *v1.GetVcodeRequest, opts ...grpc.CallOption) (*v1.GetVcodeReply, error)
  70. // 校验短信验证码
  71. CheckVcode(ctx context.Context, in *v1.CheckVcodeRequest, opts ...grpc.CallOption) (*v1.CheckVcodeReply, error)
  72. // 微信小程序登录验证
  73. WxAppletLoginAuth(ctx context.Context, in *v1.WxAppletLoginAuthRequest, opts ...grpc.CallOption) (*v1.WxAppletLoginAuthReply, error)
  74. // 微信小程序预支付
  75. WxAppletPrepay(ctx context.Context, in *v1.WxAppletPrepayRequest, opts ...grpc.CallOption) (*v1.WxAppletPrepayReply, error)
  76. // 微信小程序支付订单查询
  77. WxAppletQuery(ctx context.Context, in *v1.WxAppletQueryRequest, opts ...grpc.CallOption) (*v1.WxAppletQueryReply, error)
  78. // 获取公众号unionid
  79. WxPublicUnionId(ctx context.Context, in *v1.WxPublicUnionIdRequest, opts ...grpc.CallOption) (*v1.WxPublicUnionIdReply, error)
  80. // 公众号推送消息
  81. WxPublicMsgSend(ctx context.Context, in *v1.WxPublicMsgSendRequest, opts ...grpc.CallOption) (*v1.WxPublicMsgSendReply, error)
  82. // 公众号添加小程序入口
  83. WxPublicAddMini(ctx context.Context, in *v1.WxPublicAddMiniRequest, opts ...grpc.CallOption) (*v1.WxPublicAddMiniReply, error)
  84. // 短信发送
  85. TencentMsgSend(ctx context.Context, in *v1.TencentMsgSendRequest, opts ...grpc.CallOption) (*v1.TencentMsgSendReply, error)
  86. // openIM 注册用户
  87. OpenImRegister(ctx context.Context, in *v1.OpenImRegisterRequest, opts ...grpc.CallOption) (*v1.OpenImRegisterReply, error)
  88. OpenImToken(ctx context.Context, in *v1.OpenImTokenRequest, opts ...grpc.CallOption) (*v1.OpenImTokenReply, error)
  89. OpenImUserInfo(ctx context.Context, in *v1.OpenImUserInfoRequest, opts ...grpc.CallOption) (*v1.OpenImUserInfoReply, error)
  90. OpenImUserSetFace(ctx context.Context, in *v1.OpenImUserSetFaceRequest, opts ...grpc.CallOption) (*v1.OpenImUserSetFaceReply, error)
  91. RobotMsg(ctx context.Context, in *v1.RobotMsgRequest, opts ...grpc.CallOption) (*v1.RobotMsgReply, error)
  92. // 微信特约商户进件申请
  93. WxMerchantApply(ctx context.Context, in *v1.WxMerchantApplyRequest, opts ...grpc.CallOption) (*v1.WxMerchantApplyReply, error)
  94. // 微信特约商户进件申请查询
  95. WxMerchantSearch(ctx context.Context, in *v1.WxMerchantSearchRequest, opts ...grpc.CallOption) (*v1.WxMerchantSearchReply, error)
  96. }
  97. type propertyThirdpartyClient struct {
  98. cc grpc.ClientConnInterface
  99. }
  100. func NewPropertyThirdpartyClient(cc grpc.ClientConnInterface) PropertyThirdpartyClient {
  101. return &propertyThirdpartyClient{cc}
  102. }
  103. func (c *propertyThirdpartyClient) GetVcode(ctx context.Context, in *v1.GetVcodeRequest, opts ...grpc.CallOption) (*v1.GetVcodeReply, error) {
  104. out := new(v1.GetVcodeReply)
  105. err := c.cc.Invoke(ctx, "/pb.service.PropertyThirdparty/GetVcode", in, out, opts...)
  106. if err != nil {
  107. return nil, err
  108. }
  109. return out, nil
  110. }
  111. func (c *propertyThirdpartyClient) CheckVcode(ctx context.Context, in *v1.CheckVcodeRequest, opts ...grpc.CallOption) (*v1.CheckVcodeReply, error) {
  112. out := new(v1.CheckVcodeReply)
  113. err := c.cc.Invoke(ctx, "/pb.service.PropertyThirdparty/CheckVcode", in, out, opts...)
  114. if err != nil {
  115. return nil, err
  116. }
  117. return out, nil
  118. }
  119. func (c *propertyThirdpartyClient) WxAppletLoginAuth(ctx context.Context, in *v1.WxAppletLoginAuthRequest, opts ...grpc.CallOption) (*v1.WxAppletLoginAuthReply, error) {
  120. out := new(v1.WxAppletLoginAuthReply)
  121. err := c.cc.Invoke(ctx, "/pb.service.PropertyThirdparty/WxAppletLoginAuth", in, out, opts...)
  122. if err != nil {
  123. return nil, err
  124. }
  125. return out, nil
  126. }
  127. func (c *propertyThirdpartyClient) WxAppletPrepay(ctx context.Context, in *v1.WxAppletPrepayRequest, opts ...grpc.CallOption) (*v1.WxAppletPrepayReply, error) {
  128. out := new(v1.WxAppletPrepayReply)
  129. err := c.cc.Invoke(ctx, "/pb.service.PropertyThirdparty/WxAppletPrepay", in, out, opts...)
  130. if err != nil {
  131. return nil, err
  132. }
  133. return out, nil
  134. }
  135. func (c *propertyThirdpartyClient) WxAppletQuery(ctx context.Context, in *v1.WxAppletQueryRequest, opts ...grpc.CallOption) (*v1.WxAppletQueryReply, error) {
  136. out := new(v1.WxAppletQueryReply)
  137. err := c.cc.Invoke(ctx, "/pb.service.PropertyThirdparty/WxAppletQuery", in, out, opts...)
  138. if err != nil {
  139. return nil, err
  140. }
  141. return out, nil
  142. }
  143. func (c *propertyThirdpartyClient) WxPublicUnionId(ctx context.Context, in *v1.WxPublicUnionIdRequest, opts ...grpc.CallOption) (*v1.WxPublicUnionIdReply, error) {
  144. out := new(v1.WxPublicUnionIdReply)
  145. err := c.cc.Invoke(ctx, "/pb.service.PropertyThirdparty/WxPublicUnionId", in, out, opts...)
  146. if err != nil {
  147. return nil, err
  148. }
  149. return out, nil
  150. }
  151. func (c *propertyThirdpartyClient) WxPublicMsgSend(ctx context.Context, in *v1.WxPublicMsgSendRequest, opts ...grpc.CallOption) (*v1.WxPublicMsgSendReply, error) {
  152. out := new(v1.WxPublicMsgSendReply)
  153. err := c.cc.Invoke(ctx, "/pb.service.PropertyThirdparty/WxPublicMsgSend", in, out, opts...)
  154. if err != nil {
  155. return nil, err
  156. }
  157. return out, nil
  158. }
  159. func (c *propertyThirdpartyClient) WxPublicAddMini(ctx context.Context, in *v1.WxPublicAddMiniRequest, opts ...grpc.CallOption) (*v1.WxPublicAddMiniReply, error) {
  160. out := new(v1.WxPublicAddMiniReply)
  161. err := c.cc.Invoke(ctx, "/pb.service.PropertyThirdparty/WxPublicAddMini", in, out, opts...)
  162. if err != nil {
  163. return nil, err
  164. }
  165. return out, nil
  166. }
  167. func (c *propertyThirdpartyClient) TencentMsgSend(ctx context.Context, in *v1.TencentMsgSendRequest, opts ...grpc.CallOption) (*v1.TencentMsgSendReply, error) {
  168. out := new(v1.TencentMsgSendReply)
  169. err := c.cc.Invoke(ctx, "/pb.service.PropertyThirdparty/TencentMsgSend", in, out, opts...)
  170. if err != nil {
  171. return nil, err
  172. }
  173. return out, nil
  174. }
  175. func (c *propertyThirdpartyClient) OpenImRegister(ctx context.Context, in *v1.OpenImRegisterRequest, opts ...grpc.CallOption) (*v1.OpenImRegisterReply, error) {
  176. out := new(v1.OpenImRegisterReply)
  177. err := c.cc.Invoke(ctx, "/pb.service.PropertyThirdparty/OpenImRegister", in, out, opts...)
  178. if err != nil {
  179. return nil, err
  180. }
  181. return out, nil
  182. }
  183. func (c *propertyThirdpartyClient) OpenImToken(ctx context.Context, in *v1.OpenImTokenRequest, opts ...grpc.CallOption) (*v1.OpenImTokenReply, error) {
  184. out := new(v1.OpenImTokenReply)
  185. err := c.cc.Invoke(ctx, "/pb.service.PropertyThirdparty/OpenImToken", in, out, opts...)
  186. if err != nil {
  187. return nil, err
  188. }
  189. return out, nil
  190. }
  191. func (c *propertyThirdpartyClient) OpenImUserInfo(ctx context.Context, in *v1.OpenImUserInfoRequest, opts ...grpc.CallOption) (*v1.OpenImUserInfoReply, error) {
  192. out := new(v1.OpenImUserInfoReply)
  193. err := c.cc.Invoke(ctx, "/pb.service.PropertyThirdparty/OpenImUserInfo", in, out, opts...)
  194. if err != nil {
  195. return nil, err
  196. }
  197. return out, nil
  198. }
  199. func (c *propertyThirdpartyClient) OpenImUserSetFace(ctx context.Context, in *v1.OpenImUserSetFaceRequest, opts ...grpc.CallOption) (*v1.OpenImUserSetFaceReply, error) {
  200. out := new(v1.OpenImUserSetFaceReply)
  201. err := c.cc.Invoke(ctx, "/pb.service.PropertyThirdparty/OpenImUserSetFace", in, out, opts...)
  202. if err != nil {
  203. return nil, err
  204. }
  205. return out, nil
  206. }
  207. func (c *propertyThirdpartyClient) RobotMsg(ctx context.Context, in *v1.RobotMsgRequest, opts ...grpc.CallOption) (*v1.RobotMsgReply, error) {
  208. out := new(v1.RobotMsgReply)
  209. err := c.cc.Invoke(ctx, "/pb.service.PropertyThirdparty/RobotMsg", in, out, opts...)
  210. if err != nil {
  211. return nil, err
  212. }
  213. return out, nil
  214. }
  215. func (c *propertyThirdpartyClient) WxMerchantApply(ctx context.Context, in *v1.WxMerchantApplyRequest, opts ...grpc.CallOption) (*v1.WxMerchantApplyReply, error) {
  216. out := new(v1.WxMerchantApplyReply)
  217. err := c.cc.Invoke(ctx, "/pb.service.PropertyThirdparty/WxMerchantApply", in, out, opts...)
  218. if err != nil {
  219. return nil, err
  220. }
  221. return out, nil
  222. }
  223. func (c *propertyThirdpartyClient) WxMerchantSearch(ctx context.Context, in *v1.WxMerchantSearchRequest, opts ...grpc.CallOption) (*v1.WxMerchantSearchReply, error) {
  224. out := new(v1.WxMerchantSearchReply)
  225. err := c.cc.Invoke(ctx, "/pb.service.PropertyThirdparty/WxMerchantSearch", in, out, opts...)
  226. if err != nil {
  227. return nil, err
  228. }
  229. return out, nil
  230. }
  231. // PropertyThirdpartyServer is the server API for PropertyThirdparty service.
  232. type PropertyThirdpartyServer interface {
  233. // 获取短信验证码
  234. GetVcode(context.Context, *v1.GetVcodeRequest) (*v1.GetVcodeReply, error)
  235. // 校验短信验证码
  236. CheckVcode(context.Context, *v1.CheckVcodeRequest) (*v1.CheckVcodeReply, error)
  237. // 微信小程序登录验证
  238. WxAppletLoginAuth(context.Context, *v1.WxAppletLoginAuthRequest) (*v1.WxAppletLoginAuthReply, error)
  239. // 微信小程序预支付
  240. WxAppletPrepay(context.Context, *v1.WxAppletPrepayRequest) (*v1.WxAppletPrepayReply, error)
  241. // 微信小程序支付订单查询
  242. WxAppletQuery(context.Context, *v1.WxAppletQueryRequest) (*v1.WxAppletQueryReply, error)
  243. // 获取公众号unionid
  244. WxPublicUnionId(context.Context, *v1.WxPublicUnionIdRequest) (*v1.WxPublicUnionIdReply, error)
  245. // 公众号推送消息
  246. WxPublicMsgSend(context.Context, *v1.WxPublicMsgSendRequest) (*v1.WxPublicMsgSendReply, error)
  247. // 公众号添加小程序入口
  248. WxPublicAddMini(context.Context, *v1.WxPublicAddMiniRequest) (*v1.WxPublicAddMiniReply, error)
  249. // 短信发送
  250. TencentMsgSend(context.Context, *v1.TencentMsgSendRequest) (*v1.TencentMsgSendReply, error)
  251. // openIM 注册用户
  252. OpenImRegister(context.Context, *v1.OpenImRegisterRequest) (*v1.OpenImRegisterReply, error)
  253. OpenImToken(context.Context, *v1.OpenImTokenRequest) (*v1.OpenImTokenReply, error)
  254. OpenImUserInfo(context.Context, *v1.OpenImUserInfoRequest) (*v1.OpenImUserInfoReply, error)
  255. OpenImUserSetFace(context.Context, *v1.OpenImUserSetFaceRequest) (*v1.OpenImUserSetFaceReply, error)
  256. RobotMsg(context.Context, *v1.RobotMsgRequest) (*v1.RobotMsgReply, error)
  257. // 微信特约商户进件申请
  258. WxMerchantApply(context.Context, *v1.WxMerchantApplyRequest) (*v1.WxMerchantApplyReply, error)
  259. // 微信特约商户进件申请查询
  260. WxMerchantSearch(context.Context, *v1.WxMerchantSearchRequest) (*v1.WxMerchantSearchReply, error)
  261. }
  262. // UnimplementedPropertyThirdpartyServer can be embedded to have forward compatible implementations.
  263. type UnimplementedPropertyThirdpartyServer struct {
  264. }
  265. func (*UnimplementedPropertyThirdpartyServer) GetVcode(ctx context.Context, req *v1.GetVcodeRequest) (*v1.GetVcodeReply, error) {
  266. return nil, status.Errorf(codes.Unimplemented, "method GetVcode not implemented")
  267. }
  268. func (*UnimplementedPropertyThirdpartyServer) CheckVcode(ctx context.Context, req *v1.CheckVcodeRequest) (*v1.CheckVcodeReply, error) {
  269. return nil, status.Errorf(codes.Unimplemented, "method CheckVcode not implemented")
  270. }
  271. func (*UnimplementedPropertyThirdpartyServer) WxAppletLoginAuth(ctx context.Context, req *v1.WxAppletLoginAuthRequest) (*v1.WxAppletLoginAuthReply, error) {
  272. return nil, status.Errorf(codes.Unimplemented, "method WxAppletLoginAuth not implemented")
  273. }
  274. func (*UnimplementedPropertyThirdpartyServer) WxAppletPrepay(ctx context.Context, req *v1.WxAppletPrepayRequest) (*v1.WxAppletPrepayReply, error) {
  275. return nil, status.Errorf(codes.Unimplemented, "method WxAppletPrepay not implemented")
  276. }
  277. func (*UnimplementedPropertyThirdpartyServer) WxAppletQuery(ctx context.Context, req *v1.WxAppletQueryRequest) (*v1.WxAppletQueryReply, error) {
  278. return nil, status.Errorf(codes.Unimplemented, "method WxAppletQuery not implemented")
  279. }
  280. func (*UnimplementedPropertyThirdpartyServer) WxPublicUnionId(ctx context.Context, req *v1.WxPublicUnionIdRequest) (*v1.WxPublicUnionIdReply, error) {
  281. return nil, status.Errorf(codes.Unimplemented, "method WxPublicUnionId not implemented")
  282. }
  283. func (*UnimplementedPropertyThirdpartyServer) WxPublicMsgSend(ctx context.Context, req *v1.WxPublicMsgSendRequest) (*v1.WxPublicMsgSendReply, error) {
  284. return nil, status.Errorf(codes.Unimplemented, "method WxPublicMsgSend not implemented")
  285. }
  286. func (*UnimplementedPropertyThirdpartyServer) WxPublicAddMini(ctx context.Context, req *v1.WxPublicAddMiniRequest) (*v1.WxPublicAddMiniReply, error) {
  287. return nil, status.Errorf(codes.Unimplemented, "method WxPublicAddMini not implemented")
  288. }
  289. func (*UnimplementedPropertyThirdpartyServer) TencentMsgSend(ctx context.Context, req *v1.TencentMsgSendRequest) (*v1.TencentMsgSendReply, error) {
  290. return nil, status.Errorf(codes.Unimplemented, "method TencentMsgSend not implemented")
  291. }
  292. func (*UnimplementedPropertyThirdpartyServer) OpenImRegister(ctx context.Context, req *v1.OpenImRegisterRequest) (*v1.OpenImRegisterReply, error) {
  293. return nil, status.Errorf(codes.Unimplemented, "method OpenImRegister not implemented")
  294. }
  295. func (*UnimplementedPropertyThirdpartyServer) OpenImToken(ctx context.Context, req *v1.OpenImTokenRequest) (*v1.OpenImTokenReply, error) {
  296. return nil, status.Errorf(codes.Unimplemented, "method OpenImToken not implemented")
  297. }
  298. func (*UnimplementedPropertyThirdpartyServer) OpenImUserInfo(ctx context.Context, req *v1.OpenImUserInfoRequest) (*v1.OpenImUserInfoReply, error) {
  299. return nil, status.Errorf(codes.Unimplemented, "method OpenImUserInfo not implemented")
  300. }
  301. func (*UnimplementedPropertyThirdpartyServer) OpenImUserSetFace(ctx context.Context, req *v1.OpenImUserSetFaceRequest) (*v1.OpenImUserSetFaceReply, error) {
  302. return nil, status.Errorf(codes.Unimplemented, "method OpenImUserSetFace not implemented")
  303. }
  304. func (*UnimplementedPropertyThirdpartyServer) RobotMsg(ctx context.Context, req *v1.RobotMsgRequest) (*v1.RobotMsgReply, error) {
  305. return nil, status.Errorf(codes.Unimplemented, "method RobotMsg not implemented")
  306. }
  307. func (*UnimplementedPropertyThirdpartyServer) WxMerchantApply(ctx context.Context, req *v1.WxMerchantApplyRequest) (*v1.WxMerchantApplyReply, error) {
  308. return nil, status.Errorf(codes.Unimplemented, "method WxMerchantApply not implemented")
  309. }
  310. func (*UnimplementedPropertyThirdpartyServer) WxMerchantSearch(ctx context.Context, req *v1.WxMerchantSearchRequest) (*v1.WxMerchantSearchReply, error) {
  311. return nil, status.Errorf(codes.Unimplemented, "method WxMerchantSearch not implemented")
  312. }
  313. func RegisterPropertyThirdpartyServer(s *grpc.Server, srv PropertyThirdpartyServer) {
  314. s.RegisterService(&_PropertyThirdparty_serviceDesc, srv)
  315. }
  316. func _PropertyThirdparty_GetVcode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  317. in := new(v1.GetVcodeRequest)
  318. if err := dec(in); err != nil {
  319. return nil, err
  320. }
  321. if interceptor == nil {
  322. return srv.(PropertyThirdpartyServer).GetVcode(ctx, in)
  323. }
  324. info := &grpc.UnaryServerInfo{
  325. Server: srv,
  326. FullMethod: "/pb.service.PropertyThirdparty/GetVcode",
  327. }
  328. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  329. return srv.(PropertyThirdpartyServer).GetVcode(ctx, req.(*v1.GetVcodeRequest))
  330. }
  331. return interceptor(ctx, in, info, handler)
  332. }
  333. func _PropertyThirdparty_CheckVcode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  334. in := new(v1.CheckVcodeRequest)
  335. if err := dec(in); err != nil {
  336. return nil, err
  337. }
  338. if interceptor == nil {
  339. return srv.(PropertyThirdpartyServer).CheckVcode(ctx, in)
  340. }
  341. info := &grpc.UnaryServerInfo{
  342. Server: srv,
  343. FullMethod: "/pb.service.PropertyThirdparty/CheckVcode",
  344. }
  345. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  346. return srv.(PropertyThirdpartyServer).CheckVcode(ctx, req.(*v1.CheckVcodeRequest))
  347. }
  348. return interceptor(ctx, in, info, handler)
  349. }
  350. func _PropertyThirdparty_WxAppletLoginAuth_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  351. in := new(v1.WxAppletLoginAuthRequest)
  352. if err := dec(in); err != nil {
  353. return nil, err
  354. }
  355. if interceptor == nil {
  356. return srv.(PropertyThirdpartyServer).WxAppletLoginAuth(ctx, in)
  357. }
  358. info := &grpc.UnaryServerInfo{
  359. Server: srv,
  360. FullMethod: "/pb.service.PropertyThirdparty/WxAppletLoginAuth",
  361. }
  362. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  363. return srv.(PropertyThirdpartyServer).WxAppletLoginAuth(ctx, req.(*v1.WxAppletLoginAuthRequest))
  364. }
  365. return interceptor(ctx, in, info, handler)
  366. }
  367. func _PropertyThirdparty_WxAppletPrepay_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  368. in := new(v1.WxAppletPrepayRequest)
  369. if err := dec(in); err != nil {
  370. return nil, err
  371. }
  372. if interceptor == nil {
  373. return srv.(PropertyThirdpartyServer).WxAppletPrepay(ctx, in)
  374. }
  375. info := &grpc.UnaryServerInfo{
  376. Server: srv,
  377. FullMethod: "/pb.service.PropertyThirdparty/WxAppletPrepay",
  378. }
  379. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  380. return srv.(PropertyThirdpartyServer).WxAppletPrepay(ctx, req.(*v1.WxAppletPrepayRequest))
  381. }
  382. return interceptor(ctx, in, info, handler)
  383. }
  384. func _PropertyThirdparty_WxAppletQuery_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  385. in := new(v1.WxAppletQueryRequest)
  386. if err := dec(in); err != nil {
  387. return nil, err
  388. }
  389. if interceptor == nil {
  390. return srv.(PropertyThirdpartyServer).WxAppletQuery(ctx, in)
  391. }
  392. info := &grpc.UnaryServerInfo{
  393. Server: srv,
  394. FullMethod: "/pb.service.PropertyThirdparty/WxAppletQuery",
  395. }
  396. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  397. return srv.(PropertyThirdpartyServer).WxAppletQuery(ctx, req.(*v1.WxAppletQueryRequest))
  398. }
  399. return interceptor(ctx, in, info, handler)
  400. }
  401. func _PropertyThirdparty_WxPublicUnionId_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  402. in := new(v1.WxPublicUnionIdRequest)
  403. if err := dec(in); err != nil {
  404. return nil, err
  405. }
  406. if interceptor == nil {
  407. return srv.(PropertyThirdpartyServer).WxPublicUnionId(ctx, in)
  408. }
  409. info := &grpc.UnaryServerInfo{
  410. Server: srv,
  411. FullMethod: "/pb.service.PropertyThirdparty/WxPublicUnionId",
  412. }
  413. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  414. return srv.(PropertyThirdpartyServer).WxPublicUnionId(ctx, req.(*v1.WxPublicUnionIdRequest))
  415. }
  416. return interceptor(ctx, in, info, handler)
  417. }
  418. func _PropertyThirdparty_WxPublicMsgSend_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  419. in := new(v1.WxPublicMsgSendRequest)
  420. if err := dec(in); err != nil {
  421. return nil, err
  422. }
  423. if interceptor == nil {
  424. return srv.(PropertyThirdpartyServer).WxPublicMsgSend(ctx, in)
  425. }
  426. info := &grpc.UnaryServerInfo{
  427. Server: srv,
  428. FullMethod: "/pb.service.PropertyThirdparty/WxPublicMsgSend",
  429. }
  430. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  431. return srv.(PropertyThirdpartyServer).WxPublicMsgSend(ctx, req.(*v1.WxPublicMsgSendRequest))
  432. }
  433. return interceptor(ctx, in, info, handler)
  434. }
  435. func _PropertyThirdparty_WxPublicAddMini_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  436. in := new(v1.WxPublicAddMiniRequest)
  437. if err := dec(in); err != nil {
  438. return nil, err
  439. }
  440. if interceptor == nil {
  441. return srv.(PropertyThirdpartyServer).WxPublicAddMini(ctx, in)
  442. }
  443. info := &grpc.UnaryServerInfo{
  444. Server: srv,
  445. FullMethod: "/pb.service.PropertyThirdparty/WxPublicAddMini",
  446. }
  447. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  448. return srv.(PropertyThirdpartyServer).WxPublicAddMini(ctx, req.(*v1.WxPublicAddMiniRequest))
  449. }
  450. return interceptor(ctx, in, info, handler)
  451. }
  452. func _PropertyThirdparty_TencentMsgSend_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  453. in := new(v1.TencentMsgSendRequest)
  454. if err := dec(in); err != nil {
  455. return nil, err
  456. }
  457. if interceptor == nil {
  458. return srv.(PropertyThirdpartyServer).TencentMsgSend(ctx, in)
  459. }
  460. info := &grpc.UnaryServerInfo{
  461. Server: srv,
  462. FullMethod: "/pb.service.PropertyThirdparty/TencentMsgSend",
  463. }
  464. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  465. return srv.(PropertyThirdpartyServer).TencentMsgSend(ctx, req.(*v1.TencentMsgSendRequest))
  466. }
  467. return interceptor(ctx, in, info, handler)
  468. }
  469. func _PropertyThirdparty_OpenImRegister_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  470. in := new(v1.OpenImRegisterRequest)
  471. if err := dec(in); err != nil {
  472. return nil, err
  473. }
  474. if interceptor == nil {
  475. return srv.(PropertyThirdpartyServer).OpenImRegister(ctx, in)
  476. }
  477. info := &grpc.UnaryServerInfo{
  478. Server: srv,
  479. FullMethod: "/pb.service.PropertyThirdparty/OpenImRegister",
  480. }
  481. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  482. return srv.(PropertyThirdpartyServer).OpenImRegister(ctx, req.(*v1.OpenImRegisterRequest))
  483. }
  484. return interceptor(ctx, in, info, handler)
  485. }
  486. func _PropertyThirdparty_OpenImToken_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  487. in := new(v1.OpenImTokenRequest)
  488. if err := dec(in); err != nil {
  489. return nil, err
  490. }
  491. if interceptor == nil {
  492. return srv.(PropertyThirdpartyServer).OpenImToken(ctx, in)
  493. }
  494. info := &grpc.UnaryServerInfo{
  495. Server: srv,
  496. FullMethod: "/pb.service.PropertyThirdparty/OpenImToken",
  497. }
  498. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  499. return srv.(PropertyThirdpartyServer).OpenImToken(ctx, req.(*v1.OpenImTokenRequest))
  500. }
  501. return interceptor(ctx, in, info, handler)
  502. }
  503. func _PropertyThirdparty_OpenImUserInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  504. in := new(v1.OpenImUserInfoRequest)
  505. if err := dec(in); err != nil {
  506. return nil, err
  507. }
  508. if interceptor == nil {
  509. return srv.(PropertyThirdpartyServer).OpenImUserInfo(ctx, in)
  510. }
  511. info := &grpc.UnaryServerInfo{
  512. Server: srv,
  513. FullMethod: "/pb.service.PropertyThirdparty/OpenImUserInfo",
  514. }
  515. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  516. return srv.(PropertyThirdpartyServer).OpenImUserInfo(ctx, req.(*v1.OpenImUserInfoRequest))
  517. }
  518. return interceptor(ctx, in, info, handler)
  519. }
  520. func _PropertyThirdparty_OpenImUserSetFace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  521. in := new(v1.OpenImUserSetFaceRequest)
  522. if err := dec(in); err != nil {
  523. return nil, err
  524. }
  525. if interceptor == nil {
  526. return srv.(PropertyThirdpartyServer).OpenImUserSetFace(ctx, in)
  527. }
  528. info := &grpc.UnaryServerInfo{
  529. Server: srv,
  530. FullMethod: "/pb.service.PropertyThirdparty/OpenImUserSetFace",
  531. }
  532. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  533. return srv.(PropertyThirdpartyServer).OpenImUserSetFace(ctx, req.(*v1.OpenImUserSetFaceRequest))
  534. }
  535. return interceptor(ctx, in, info, handler)
  536. }
  537. func _PropertyThirdparty_RobotMsg_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  538. in := new(v1.RobotMsgRequest)
  539. if err := dec(in); err != nil {
  540. return nil, err
  541. }
  542. if interceptor == nil {
  543. return srv.(PropertyThirdpartyServer).RobotMsg(ctx, in)
  544. }
  545. info := &grpc.UnaryServerInfo{
  546. Server: srv,
  547. FullMethod: "/pb.service.PropertyThirdparty/RobotMsg",
  548. }
  549. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  550. return srv.(PropertyThirdpartyServer).RobotMsg(ctx, req.(*v1.RobotMsgRequest))
  551. }
  552. return interceptor(ctx, in, info, handler)
  553. }
  554. func _PropertyThirdparty_WxMerchantApply_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  555. in := new(v1.WxMerchantApplyRequest)
  556. if err := dec(in); err != nil {
  557. return nil, err
  558. }
  559. if interceptor == nil {
  560. return srv.(PropertyThirdpartyServer).WxMerchantApply(ctx, in)
  561. }
  562. info := &grpc.UnaryServerInfo{
  563. Server: srv,
  564. FullMethod: "/pb.service.PropertyThirdparty/WxMerchantApply",
  565. }
  566. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  567. return srv.(PropertyThirdpartyServer).WxMerchantApply(ctx, req.(*v1.WxMerchantApplyRequest))
  568. }
  569. return interceptor(ctx, in, info, handler)
  570. }
  571. func _PropertyThirdparty_WxMerchantSearch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  572. in := new(v1.WxMerchantSearchRequest)
  573. if err := dec(in); err != nil {
  574. return nil, err
  575. }
  576. if interceptor == nil {
  577. return srv.(PropertyThirdpartyServer).WxMerchantSearch(ctx, in)
  578. }
  579. info := &grpc.UnaryServerInfo{
  580. Server: srv,
  581. FullMethod: "/pb.service.PropertyThirdparty/WxMerchantSearch",
  582. }
  583. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  584. return srv.(PropertyThirdpartyServer).WxMerchantSearch(ctx, req.(*v1.WxMerchantSearchRequest))
  585. }
  586. return interceptor(ctx, in, info, handler)
  587. }
  588. var _PropertyThirdparty_serviceDesc = grpc.ServiceDesc{
  589. ServiceName: "pb.service.PropertyThirdparty",
  590. HandlerType: (*PropertyThirdpartyServer)(nil),
  591. Methods: []grpc.MethodDesc{
  592. {
  593. MethodName: "GetVcode",
  594. Handler: _PropertyThirdparty_GetVcode_Handler,
  595. },
  596. {
  597. MethodName: "CheckVcode",
  598. Handler: _PropertyThirdparty_CheckVcode_Handler,
  599. },
  600. {
  601. MethodName: "WxAppletLoginAuth",
  602. Handler: _PropertyThirdparty_WxAppletLoginAuth_Handler,
  603. },
  604. {
  605. MethodName: "WxAppletPrepay",
  606. Handler: _PropertyThirdparty_WxAppletPrepay_Handler,
  607. },
  608. {
  609. MethodName: "WxAppletQuery",
  610. Handler: _PropertyThirdparty_WxAppletQuery_Handler,
  611. },
  612. {
  613. MethodName: "WxPublicUnionId",
  614. Handler: _PropertyThirdparty_WxPublicUnionId_Handler,
  615. },
  616. {
  617. MethodName: "WxPublicMsgSend",
  618. Handler: _PropertyThirdparty_WxPublicMsgSend_Handler,
  619. },
  620. {
  621. MethodName: "WxPublicAddMini",
  622. Handler: _PropertyThirdparty_WxPublicAddMini_Handler,
  623. },
  624. {
  625. MethodName: "TencentMsgSend",
  626. Handler: _PropertyThirdparty_TencentMsgSend_Handler,
  627. },
  628. {
  629. MethodName: "OpenImRegister",
  630. Handler: _PropertyThirdparty_OpenImRegister_Handler,
  631. },
  632. {
  633. MethodName: "OpenImToken",
  634. Handler: _PropertyThirdparty_OpenImToken_Handler,
  635. },
  636. {
  637. MethodName: "OpenImUserInfo",
  638. Handler: _PropertyThirdparty_OpenImUserInfo_Handler,
  639. },
  640. {
  641. MethodName: "OpenImUserSetFace",
  642. Handler: _PropertyThirdparty_OpenImUserSetFace_Handler,
  643. },
  644. {
  645. MethodName: "RobotMsg",
  646. Handler: _PropertyThirdparty_RobotMsg_Handler,
  647. },
  648. {
  649. MethodName: "WxMerchantApply",
  650. Handler: _PropertyThirdparty_WxMerchantApply_Handler,
  651. },
  652. {
  653. MethodName: "WxMerchantSearch",
  654. Handler: _PropertyThirdparty_WxMerchantSearch_Handler,
  655. },
  656. },
  657. Streams: []grpc.StreamDesc{},
  658. Metadata: "thirdparty_service.proto",
  659. }