finclip-app-manager/infrastructure/protobuf/golang/mop_account_system_organ_re...

984 lines
36 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.23.0
// protoc v3.11.4
// source: mop_account_system_organ_request.proto
package pb
import (
context "context"
proto "github.com/golang/protobuf/proto"
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
// This is a compile-time assertion that a sufficiently up-to-date version
// of the legacy proto package is being used.
const _ = proto.ProtoPackageIsVersion4
//接口一
type QueryOrganInfoReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
AccountId string `protobuf:"bytes,1,opt,name=accountId,proto3" json:"accountId"`
}
func (x *QueryOrganInfoReq) Reset() {
*x = QueryOrganInfoReq{}
if protoimpl.UnsafeEnabled {
mi := &file_mop_account_system_organ_request_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *QueryOrganInfoReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*QueryOrganInfoReq) ProtoMessage() {}
func (x *QueryOrganInfoReq) ProtoReflect() protoreflect.Message {
mi := &file_mop_account_system_organ_request_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use QueryOrganInfoReq.ProtoReflect.Descriptor instead.
func (*QueryOrganInfoReq) Descriptor() ([]byte, []int) {
return file_mop_account_system_organ_request_proto_rawDescGZIP(), []int{0}
}
func (x *QueryOrganInfoReq) GetAccountId() string {
if x != nil {
return x.AccountId
}
return ""
}
type QueryOrganInfoRsp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Result *CommonResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result"`
Data *QueryOrganInfoRsp_DATA `protobuf:"bytes,2,opt,name=data,proto3" json:"data"`
}
func (x *QueryOrganInfoRsp) Reset() {
*x = QueryOrganInfoRsp{}
if protoimpl.UnsafeEnabled {
mi := &file_mop_account_system_organ_request_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *QueryOrganInfoRsp) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*QueryOrganInfoRsp) ProtoMessage() {}
func (x *QueryOrganInfoRsp) ProtoReflect() protoreflect.Message {
mi := &file_mop_account_system_organ_request_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use QueryOrganInfoRsp.ProtoReflect.Descriptor instead.
func (*QueryOrganInfoRsp) Descriptor() ([]byte, []int) {
return file_mop_account_system_organ_request_proto_rawDescGZIP(), []int{1}
}
func (x *QueryOrganInfoRsp) GetResult() *CommonResult {
if x != nil {
return x.Result
}
return nil
}
func (x *QueryOrganInfoRsp) GetData() *QueryOrganInfoRsp_DATA {
if x != nil {
return x.Data
}
return nil
}
//接口二
type GetBusinessInfoByIdReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
OrganTraceId string `protobuf:"bytes,1,opt,name=organTraceId,proto3" json:"organTraceId"`
}
func (x *GetBusinessInfoByIdReq) Reset() {
*x = GetBusinessInfoByIdReq{}
if protoimpl.UnsafeEnabled {
mi := &file_mop_account_system_organ_request_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetBusinessInfoByIdReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetBusinessInfoByIdReq) ProtoMessage() {}
func (x *GetBusinessInfoByIdReq) ProtoReflect() protoreflect.Message {
mi := &file_mop_account_system_organ_request_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetBusinessInfoByIdReq.ProtoReflect.Descriptor instead.
func (*GetBusinessInfoByIdReq) Descriptor() ([]byte, []int) {
return file_mop_account_system_organ_request_proto_rawDescGZIP(), []int{2}
}
func (x *GetBusinessInfoByIdReq) GetOrganTraceId() string {
if x != nil {
return x.OrganTraceId
}
return ""
}
type GetBusinessInfoByIdRsp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Result *CommonResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result"`
Data *GetBusinessInfoByIdRsp_DATA `protobuf:"bytes,2,opt,name=data,proto3" json:"data"`
}
func (x *GetBusinessInfoByIdRsp) Reset() {
*x = GetBusinessInfoByIdRsp{}
if protoimpl.UnsafeEnabled {
mi := &file_mop_account_system_organ_request_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetBusinessInfoByIdRsp) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetBusinessInfoByIdRsp) ProtoMessage() {}
func (x *GetBusinessInfoByIdRsp) ProtoReflect() protoreflect.Message {
mi := &file_mop_account_system_organ_request_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetBusinessInfoByIdRsp.ProtoReflect.Descriptor instead.
func (*GetBusinessInfoByIdRsp) Descriptor() ([]byte, []int) {
return file_mop_account_system_organ_request_proto_rawDescGZIP(), []int{3}
}
func (x *GetBusinessInfoByIdRsp) GetResult() *CommonResult {
if x != nil {
return x.Result
}
return nil
}
func (x *GetBusinessInfoByIdRsp) GetData() *GetBusinessInfoByIdRsp_DATA {
if x != nil {
return x.Data
}
return nil
}
type QueryOrganInfoRsp_DATA struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
AccountTraceId string `protobuf:"bytes,1,opt,name=accountTraceId,proto3" json:"accountTraceId"`
OrganTraceId string `protobuf:"bytes,2,opt,name=organTraceId,proto3" json:"organTraceId"`
AccountInfo *QueryOrganInfoRsp_DATA_ACCOUNT_INFO `protobuf:"bytes,3,opt,name=accountInfo,proto3" json:"accountInfo"`
OrganInfo *QueryOrganInfoRsp_DATA_ORGSN_INFO_WITH_STATUS `protobuf:"bytes,4,opt,name=organInfo,proto3" json:"organInfo"`
AdminInfo *QueryOrganInfoRsp_DATA_ADMIN_INFO `protobuf:"bytes,5,opt,name=adminInfo,proto3" json:"adminInfo"`
}
func (x *QueryOrganInfoRsp_DATA) Reset() {
*x = QueryOrganInfoRsp_DATA{}
if protoimpl.UnsafeEnabled {
mi := &file_mop_account_system_organ_request_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *QueryOrganInfoRsp_DATA) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*QueryOrganInfoRsp_DATA) ProtoMessage() {}
func (x *QueryOrganInfoRsp_DATA) ProtoReflect() protoreflect.Message {
mi := &file_mop_account_system_organ_request_proto_msgTypes[4]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use QueryOrganInfoRsp_DATA.ProtoReflect.Descriptor instead.
func (*QueryOrganInfoRsp_DATA) Descriptor() ([]byte, []int) {
return file_mop_account_system_organ_request_proto_rawDescGZIP(), []int{1, 0}
}
func (x *QueryOrganInfoRsp_DATA) GetAccountTraceId() string {
if x != nil {
return x.AccountTraceId
}
return ""
}
func (x *QueryOrganInfoRsp_DATA) GetOrganTraceId() string {
if x != nil {
return x.OrganTraceId
}
return ""
}
func (x *QueryOrganInfoRsp_DATA) GetAccountInfo() *QueryOrganInfoRsp_DATA_ACCOUNT_INFO {
if x != nil {
return x.AccountInfo
}
return nil
}
func (x *QueryOrganInfoRsp_DATA) GetOrganInfo() *QueryOrganInfoRsp_DATA_ORGSN_INFO_WITH_STATUS {
if x != nil {
return x.OrganInfo
}
return nil
}
func (x *QueryOrganInfoRsp_DATA) GetAdminInfo() *QueryOrganInfoRsp_DATA_ADMIN_INFO {
if x != nil {
return x.AdminInfo
}
return nil
}
type QueryOrganInfoRsp_DATA_ACCOUNT_INFO struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account"`
Phone string `protobuf:"bytes,2,opt,name=phone,proto3" json:"phone"`
CreateTime int64 `protobuf:"varint,3,opt,name=createTime,proto3" json:"createTime"`
}
func (x *QueryOrganInfoRsp_DATA_ACCOUNT_INFO) Reset() {
*x = QueryOrganInfoRsp_DATA_ACCOUNT_INFO{}
if protoimpl.UnsafeEnabled {
mi := &file_mop_account_system_organ_request_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *QueryOrganInfoRsp_DATA_ACCOUNT_INFO) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*QueryOrganInfoRsp_DATA_ACCOUNT_INFO) ProtoMessage() {}
func (x *QueryOrganInfoRsp_DATA_ACCOUNT_INFO) ProtoReflect() protoreflect.Message {
mi := &file_mop_account_system_organ_request_proto_msgTypes[5]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use QueryOrganInfoRsp_DATA_ACCOUNT_INFO.ProtoReflect.Descriptor instead.
func (*QueryOrganInfoRsp_DATA_ACCOUNT_INFO) Descriptor() ([]byte, []int) {
return file_mop_account_system_organ_request_proto_rawDescGZIP(), []int{1, 0, 0}
}
func (x *QueryOrganInfoRsp_DATA_ACCOUNT_INFO) GetAccount() string {
if x != nil {
return x.Account
}
return ""
}
func (x *QueryOrganInfoRsp_DATA_ACCOUNT_INFO) GetPhone() string {
if x != nil {
return x.Phone
}
return ""
}
func (x *QueryOrganInfoRsp_DATA_ACCOUNT_INFO) GetCreateTime() int64 {
if x != nil {
return x.CreateTime
}
return 0
}
type QueryOrganInfoRsp_DATA_ORGSN_INFO_WITH_STATUS struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name"`
SocialCreditCode string `protobuf:"bytes,2,opt,name=socialCreditCode,proto3" json:"socialCreditCode"`
LicenseNetdiskId string `protobuf:"bytes,3,opt,name=licenseNetdiskId,proto3" json:"licenseNetdiskId"`
AuthorizationNetdiskId string `protobuf:"bytes,4,opt,name=authorizationNetdiskId,proto3" json:"authorizationNetdiskId"`
ReviewStatus int32 `protobuf:"varint,5,opt,name=reviewStatus,proto3" json:"reviewStatus"`
}
func (x *QueryOrganInfoRsp_DATA_ORGSN_INFO_WITH_STATUS) Reset() {
*x = QueryOrganInfoRsp_DATA_ORGSN_INFO_WITH_STATUS{}
if protoimpl.UnsafeEnabled {
mi := &file_mop_account_system_organ_request_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *QueryOrganInfoRsp_DATA_ORGSN_INFO_WITH_STATUS) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*QueryOrganInfoRsp_DATA_ORGSN_INFO_WITH_STATUS) ProtoMessage() {}
func (x *QueryOrganInfoRsp_DATA_ORGSN_INFO_WITH_STATUS) ProtoReflect() protoreflect.Message {
mi := &file_mop_account_system_organ_request_proto_msgTypes[6]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use QueryOrganInfoRsp_DATA_ORGSN_INFO_WITH_STATUS.ProtoReflect.Descriptor instead.
func (*QueryOrganInfoRsp_DATA_ORGSN_INFO_WITH_STATUS) Descriptor() ([]byte, []int) {
return file_mop_account_system_organ_request_proto_rawDescGZIP(), []int{1, 0, 1}
}
func (x *QueryOrganInfoRsp_DATA_ORGSN_INFO_WITH_STATUS) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *QueryOrganInfoRsp_DATA_ORGSN_INFO_WITH_STATUS) GetSocialCreditCode() string {
if x != nil {
return x.SocialCreditCode
}
return ""
}
func (x *QueryOrganInfoRsp_DATA_ORGSN_INFO_WITH_STATUS) GetLicenseNetdiskId() string {
if x != nil {
return x.LicenseNetdiskId
}
return ""
}
func (x *QueryOrganInfoRsp_DATA_ORGSN_INFO_WITH_STATUS) GetAuthorizationNetdiskId() string {
if x != nil {
return x.AuthorizationNetdiskId
}
return ""
}
func (x *QueryOrganInfoRsp_DATA_ORGSN_INFO_WITH_STATUS) GetReviewStatus() int32 {
if x != nil {
return x.ReviewStatus
}
return 0
}
type QueryOrganInfoRsp_DATA_ADMIN_INFO struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name"`
Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity"`
Phone string `protobuf:"bytes,3,opt,name=phone,proto3" json:"phone"`
}
func (x *QueryOrganInfoRsp_DATA_ADMIN_INFO) Reset() {
*x = QueryOrganInfoRsp_DATA_ADMIN_INFO{}
if protoimpl.UnsafeEnabled {
mi := &file_mop_account_system_organ_request_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *QueryOrganInfoRsp_DATA_ADMIN_INFO) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*QueryOrganInfoRsp_DATA_ADMIN_INFO) ProtoMessage() {}
func (x *QueryOrganInfoRsp_DATA_ADMIN_INFO) ProtoReflect() protoreflect.Message {
mi := &file_mop_account_system_organ_request_proto_msgTypes[7]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use QueryOrganInfoRsp_DATA_ADMIN_INFO.ProtoReflect.Descriptor instead.
func (*QueryOrganInfoRsp_DATA_ADMIN_INFO) Descriptor() ([]byte, []int) {
return file_mop_account_system_organ_request_proto_rawDescGZIP(), []int{1, 0, 2}
}
func (x *QueryOrganInfoRsp_DATA_ADMIN_INFO) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *QueryOrganInfoRsp_DATA_ADMIN_INFO) GetIdentity() string {
if x != nil {
return x.Identity
}
return ""
}
func (x *QueryOrganInfoRsp_DATA_ADMIN_INFO) GetPhone() string {
if x != nil {
return x.Phone
}
return ""
}
type GetBusinessInfoByIdRsp_DATA struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
GroupId string `protobuf:"bytes,1,opt,name=groupId,proto3" json:"groupId"`
GroupName string `protobuf:"bytes,2,opt,name=groupName,proto3" json:"groupName"`
ReviewStatus int32 `protobuf:"varint,3,opt,name=reviewStatus,proto3" json:"reviewStatus"`
SocialCreditCode string `protobuf:"bytes,4,opt,name=socialCreditCode,proto3" json:"socialCreditCode"`
}
func (x *GetBusinessInfoByIdRsp_DATA) Reset() {
*x = GetBusinessInfoByIdRsp_DATA{}
if protoimpl.UnsafeEnabled {
mi := &file_mop_account_system_organ_request_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetBusinessInfoByIdRsp_DATA) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetBusinessInfoByIdRsp_DATA) ProtoMessage() {}
func (x *GetBusinessInfoByIdRsp_DATA) ProtoReflect() protoreflect.Message {
mi := &file_mop_account_system_organ_request_proto_msgTypes[8]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetBusinessInfoByIdRsp_DATA.ProtoReflect.Descriptor instead.
func (*GetBusinessInfoByIdRsp_DATA) Descriptor() ([]byte, []int) {
return file_mop_account_system_organ_request_proto_rawDescGZIP(), []int{3, 0}
}
func (x *GetBusinessInfoByIdRsp_DATA) GetGroupId() string {
if x != nil {
return x.GroupId
}
return ""
}
func (x *GetBusinessInfoByIdRsp_DATA) GetGroupName() string {
if x != nil {
return x.GroupName
}
return ""
}
func (x *GetBusinessInfoByIdRsp_DATA) GetReviewStatus() int32 {
if x != nil {
return x.ReviewStatus
}
return 0
}
func (x *GetBusinessInfoByIdRsp_DATA) GetSocialCreditCode() string {
if x != nil {
return x.SocialCreditCode
}
return ""
}
var File_mop_account_system_organ_request_proto protoreflect.FileDescriptor
var file_mop_account_system_organ_request_proto_rawDesc = []byte{
0x0a, 0x26, 0x6d, 0x6f, 0x70, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x73, 0x79,
0x73, 0x74, 0x65, 0x6d, 0x5f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65,
0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x0c, 0x63, 0x6f,
0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x31, 0x0a, 0x11, 0x51, 0x75,
0x65, 0x72, 0x79, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x12,
0x1c, 0x0a, 0x09, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01,
0x28, 0x09, 0x52, 0x09, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x22, 0xba, 0x06,
0x0a, 0x11, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x49, 0x6e, 0x66, 0x6f,
0x52, 0x73, 0x70, 0x12, 0x28, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20,
0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52,
0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x2e, 0x0a,
0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x70, 0x62,
0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52,
0x73, 0x70, 0x2e, 0x44, 0x41, 0x54, 0x41, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x1a, 0xca, 0x05,
0x0a, 0x04, 0x44, 0x41, 0x54, 0x41, 0x12, 0x26, 0x0a, 0x0e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e,
0x74, 0x54, 0x72, 0x61, 0x63, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e,
0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x72, 0x61, 0x63, 0x65, 0x49, 0x64, 0x12, 0x22,
0x0a, 0x0c, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x54, 0x72, 0x61, 0x63, 0x65, 0x49, 0x64, 0x18, 0x02,
0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x54, 0x72, 0x61, 0x63, 0x65,
0x49, 0x64, 0x12, 0x49, 0x0a, 0x0b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x66,
0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x70, 0x62, 0x2e, 0x51, 0x75, 0x65,
0x72, 0x79, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x73, 0x70, 0x2e, 0x44,
0x41, 0x54, 0x41, 0x2e, 0x41, 0x43, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x5f, 0x49, 0x4e, 0x46, 0x4f,
0x52, 0x0b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x4f, 0x0a,
0x09, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b,
0x32, 0x31, 0x2e, 0x70, 0x62, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4f, 0x72, 0x67, 0x61, 0x6e,
0x49, 0x6e, 0x66, 0x6f, 0x52, 0x73, 0x70, 0x2e, 0x44, 0x41, 0x54, 0x41, 0x2e, 0x4f, 0x52, 0x47,
0x53, 0x4e, 0x5f, 0x49, 0x4e, 0x46, 0x4f, 0x5f, 0x57, 0x49, 0x54, 0x48, 0x5f, 0x53, 0x54, 0x41,
0x54, 0x55, 0x53, 0x52, 0x09, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x43,
0x0a, 0x09, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x05, 0x20, 0x01, 0x28,
0x0b, 0x32, 0x25, 0x2e, 0x70, 0x62, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4f, 0x72, 0x67, 0x61,
0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x73, 0x70, 0x2e, 0x44, 0x41, 0x54, 0x41, 0x2e, 0x41, 0x44,
0x4d, 0x49, 0x4e, 0x5f, 0x49, 0x4e, 0x46, 0x4f, 0x52, 0x09, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x49,
0x6e, 0x66, 0x6f, 0x1a, 0x5e, 0x0a, 0x0c, 0x41, 0x43, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x5f, 0x49,
0x4e, 0x46, 0x4f, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01,
0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x14, 0x0a,
0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68,
0x6f, 0x6e, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d,
0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54,
0x69, 0x6d, 0x65, 0x1a, 0xe0, 0x01, 0x0a, 0x16, 0x4f, 0x52, 0x47, 0x53, 0x4e, 0x5f, 0x49, 0x4e,
0x46, 0x4f, 0x5f, 0x57, 0x49, 0x54, 0x48, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x12, 0x12,
0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
0x6d, 0x65, 0x12, 0x2a, 0x0a, 0x10, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x6c, 0x43, 0x72, 0x65, 0x64,
0x69, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x73, 0x6f,
0x63, 0x69, 0x61, 0x6c, 0x43, 0x72, 0x65, 0x64, 0x69, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x2a,
0x0a, 0x10, 0x6c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x4e, 0x65, 0x74, 0x64, 0x69, 0x73, 0x6b,
0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x6c, 0x69, 0x63, 0x65, 0x6e, 0x73,
0x65, 0x4e, 0x65, 0x74, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x64, 0x12, 0x36, 0x0a, 0x16, 0x61, 0x75,
0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x65, 0x74, 0x64, 0x69,
0x73, 0x6b, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x16, 0x61, 0x75, 0x74, 0x68,
0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x65, 0x74, 0x64, 0x69, 0x73, 0x6b,
0x49, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x53, 0x74, 0x61, 0x74,
0x75, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77,
0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x1a, 0x52, 0x0a, 0x0a, 0x41, 0x44, 0x4d, 0x49, 0x4e, 0x5f,
0x49, 0x4e, 0x46, 0x4f, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x64, 0x65, 0x6e,
0x74, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x69, 0x64, 0x65, 0x6e,
0x74, 0x69, 0x74, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x03, 0x20,
0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x22, 0x3c, 0x0a, 0x16, 0x47, 0x65,
0x74, 0x42, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x79, 0x49,
0x64, 0x52, 0x65, 0x71, 0x12, 0x22, 0x0a, 0x0c, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x54, 0x72, 0x61,
0x63, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6f, 0x72, 0x67, 0x61,
0x6e, 0x54, 0x72, 0x61, 0x63, 0x65, 0x49, 0x64, 0x22, 0x88, 0x02, 0x0a, 0x16, 0x47, 0x65, 0x74,
0x42, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x79, 0x49, 0x64,
0x52, 0x73, 0x70, 0x12, 0x28, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20,
0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x52,
0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x33, 0x0a,
0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x70, 0x62,
0x2e, 0x47, 0x65, 0x74, 0x42, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f,
0x42, 0x79, 0x49, 0x64, 0x52, 0x73, 0x70, 0x2e, 0x44, 0x41, 0x54, 0x41, 0x52, 0x04, 0x64, 0x61,
0x74, 0x61, 0x1a, 0x8e, 0x01, 0x0a, 0x04, 0x44, 0x41, 0x54, 0x41, 0x12, 0x18, 0x0a, 0x07, 0x67,
0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x67, 0x72,
0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x61,
0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x4e,
0x61, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x53, 0x74, 0x61,
0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x72, 0x65, 0x76, 0x69, 0x65,
0x77, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x2a, 0x0a, 0x10, 0x73, 0x6f, 0x63, 0x69, 0x61,
0x6c, 0x43, 0x72, 0x65, 0x64, 0x69, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28,
0x09, 0x52, 0x10, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x6c, 0x43, 0x72, 0x65, 0x64, 0x69, 0x74, 0x43,
0x6f, 0x64, 0x65, 0x32, 0xa5, 0x01, 0x0a, 0x10, 0x4d, 0x6f, 0x70, 0x41, 0x63, 0x63, 0x6f, 0x75,
0x6e, 0x74, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x40, 0x0a, 0x0e, 0x51, 0x75, 0x65, 0x72,
0x79, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x15, 0x2e, 0x70, 0x62, 0x2e,
0x51, 0x75, 0x65, 0x72, 0x79, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65,
0x71, 0x1a, 0x15, 0x2e, 0x70, 0x62, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4f, 0x72, 0x67, 0x61,
0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x73, 0x70, 0x22, 0x00, 0x12, 0x4f, 0x0a, 0x13, 0x47, 0x65,
0x74, 0x42, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x79, 0x49,
0x64, 0x12, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x75, 0x73, 0x69, 0x6e, 0x65,
0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x79, 0x49, 0x64, 0x52, 0x65, 0x71, 0x1a, 0x1a, 0x2e,
0x70, 0x62, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x49, 0x6e,
0x66, 0x6f, 0x42, 0x79, 0x49, 0x64, 0x52, 0x73, 0x70, 0x22, 0x00, 0x42, 0x07, 0x5a, 0x05, 0x2e,
0x2f, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_mop_account_system_organ_request_proto_rawDescOnce sync.Once
file_mop_account_system_organ_request_proto_rawDescData = file_mop_account_system_organ_request_proto_rawDesc
)
func file_mop_account_system_organ_request_proto_rawDescGZIP() []byte {
file_mop_account_system_organ_request_proto_rawDescOnce.Do(func() {
file_mop_account_system_organ_request_proto_rawDescData = protoimpl.X.CompressGZIP(file_mop_account_system_organ_request_proto_rawDescData)
})
return file_mop_account_system_organ_request_proto_rawDescData
}
var file_mop_account_system_organ_request_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
var file_mop_account_system_organ_request_proto_goTypes = []interface{}{
(*QueryOrganInfoReq)(nil), // 0: pb.QueryOrganInfoReq
(*QueryOrganInfoRsp)(nil), // 1: pb.QueryOrganInfoRsp
(*GetBusinessInfoByIdReq)(nil), // 2: pb.GetBusinessInfoByIdReq
(*GetBusinessInfoByIdRsp)(nil), // 3: pb.GetBusinessInfoByIdRsp
(*QueryOrganInfoRsp_DATA)(nil), // 4: pb.QueryOrganInfoRsp.DATA
(*QueryOrganInfoRsp_DATA_ACCOUNT_INFO)(nil), // 5: pb.QueryOrganInfoRsp.DATA.ACCOUNT_INFO
(*QueryOrganInfoRsp_DATA_ORGSN_INFO_WITH_STATUS)(nil), // 6: pb.QueryOrganInfoRsp.DATA.ORGSN_INFO_WITH_STATUS
(*QueryOrganInfoRsp_DATA_ADMIN_INFO)(nil), // 7: pb.QueryOrganInfoRsp.DATA.ADMIN_INFO
(*GetBusinessInfoByIdRsp_DATA)(nil), // 8: pb.GetBusinessInfoByIdRsp.DATA
(*CommonResult)(nil), // 9: pb.CommonResult
}
var file_mop_account_system_organ_request_proto_depIdxs = []int32{
9, // 0: pb.QueryOrganInfoRsp.result:type_name -> pb.CommonResult
4, // 1: pb.QueryOrganInfoRsp.data:type_name -> pb.QueryOrganInfoRsp.DATA
9, // 2: pb.GetBusinessInfoByIdRsp.result:type_name -> pb.CommonResult
8, // 3: pb.GetBusinessInfoByIdRsp.data:type_name -> pb.GetBusinessInfoByIdRsp.DATA
5, // 4: pb.QueryOrganInfoRsp.DATA.accountInfo:type_name -> pb.QueryOrganInfoRsp.DATA.ACCOUNT_INFO
6, // 5: pb.QueryOrganInfoRsp.DATA.organInfo:type_name -> pb.QueryOrganInfoRsp.DATA.ORGSN_INFO_WITH_STATUS
7, // 6: pb.QueryOrganInfoRsp.DATA.adminInfo:type_name -> pb.QueryOrganInfoRsp.DATA.ADMIN_INFO
0, // 7: pb.MopAccountSystem.QueryOrganInfo:input_type -> pb.QueryOrganInfoReq
2, // 8: pb.MopAccountSystem.GetBusinessInfoById:input_type -> pb.GetBusinessInfoByIdReq
1, // 9: pb.MopAccountSystem.QueryOrganInfo:output_type -> pb.QueryOrganInfoRsp
3, // 10: pb.MopAccountSystem.GetBusinessInfoById:output_type -> pb.GetBusinessInfoByIdRsp
9, // [9:11] is the sub-list for method output_type
7, // [7:9] is the sub-list for method input_type
7, // [7:7] is the sub-list for extension type_name
7, // [7:7] is the sub-list for extension extendee
0, // [0:7] is the sub-list for field type_name
}
func init() { file_mop_account_system_organ_request_proto_init() }
func file_mop_account_system_organ_request_proto_init() {
if File_mop_account_system_organ_request_proto != nil {
return
}
file_common_proto_init()
if !protoimpl.UnsafeEnabled {
file_mop_account_system_organ_request_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*QueryOrganInfoReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_mop_account_system_organ_request_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*QueryOrganInfoRsp); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_mop_account_system_organ_request_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetBusinessInfoByIdReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_mop_account_system_organ_request_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetBusinessInfoByIdRsp); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_mop_account_system_organ_request_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*QueryOrganInfoRsp_DATA); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_mop_account_system_organ_request_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*QueryOrganInfoRsp_DATA_ACCOUNT_INFO); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_mop_account_system_organ_request_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*QueryOrganInfoRsp_DATA_ORGSN_INFO_WITH_STATUS); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_mop_account_system_organ_request_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*QueryOrganInfoRsp_DATA_ADMIN_INFO); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_mop_account_system_organ_request_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetBusinessInfoByIdRsp_DATA); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_mop_account_system_organ_request_proto_rawDesc,
NumEnums: 0,
NumMessages: 9,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_mop_account_system_organ_request_proto_goTypes,
DependencyIndexes: file_mop_account_system_organ_request_proto_depIdxs,
MessageInfos: file_mop_account_system_organ_request_proto_msgTypes,
}.Build()
File_mop_account_system_organ_request_proto = out.File
file_mop_account_system_organ_request_proto_rawDesc = nil
file_mop_account_system_organ_request_proto_goTypes = nil
file_mop_account_system_organ_request_proto_depIdxs = nil
}
// Reference imports to suppress errors if they are not otherwise used.
var _ context.Context
var _ grpc.ClientConnInterface
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
const _ = grpc.SupportPackageIsVersion6
// MopAccountSystemClient is the client API for MopAccountSystem service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type MopAccountSystemClient interface {
QueryOrganInfo(ctx context.Context, in *QueryOrganInfoReq, opts ...grpc.CallOption) (*QueryOrganInfoRsp, error)
GetBusinessInfoById(ctx context.Context, in *GetBusinessInfoByIdReq, opts ...grpc.CallOption) (*GetBusinessInfoByIdRsp, error)
}
type mopAccountSystemClient struct {
cc grpc.ClientConnInterface
}
func NewMopAccountSystemClient(cc grpc.ClientConnInterface) MopAccountSystemClient {
return &mopAccountSystemClient{cc}
}
func (c *mopAccountSystemClient) QueryOrganInfo(ctx context.Context, in *QueryOrganInfoReq, opts ...grpc.CallOption) (*QueryOrganInfoRsp, error) {
out := new(QueryOrganInfoRsp)
err := c.cc.Invoke(ctx, "/pb.MopAccountSystem/QueryOrganInfo", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *mopAccountSystemClient) GetBusinessInfoById(ctx context.Context, in *GetBusinessInfoByIdReq, opts ...grpc.CallOption) (*GetBusinessInfoByIdRsp, error) {
out := new(GetBusinessInfoByIdRsp)
err := c.cc.Invoke(ctx, "/pb.MopAccountSystem/GetBusinessInfoById", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// MopAccountSystemServer is the server API for MopAccountSystem service.
type MopAccountSystemServer interface {
QueryOrganInfo(context.Context, *QueryOrganInfoReq) (*QueryOrganInfoRsp, error)
GetBusinessInfoById(context.Context, *GetBusinessInfoByIdReq) (*GetBusinessInfoByIdRsp, error)
}
// UnimplementedMopAccountSystemServer can be embedded to have forward compatible implementations.
type UnimplementedMopAccountSystemServer struct {
}
func (*UnimplementedMopAccountSystemServer) QueryOrganInfo(context.Context, *QueryOrganInfoReq) (*QueryOrganInfoRsp, error) {
return nil, status.Errorf(codes.Unimplemented, "method QueryOrganInfo not implemented")
}
func (*UnimplementedMopAccountSystemServer) GetBusinessInfoById(context.Context, *GetBusinessInfoByIdReq) (*GetBusinessInfoByIdRsp, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetBusinessInfoById not implemented")
}
func RegisterMopAccountSystemServer(s *grpc.Server, srv MopAccountSystemServer) {
s.RegisterService(&_MopAccountSystem_serviceDesc, srv)
}
func _MopAccountSystem_QueryOrganInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(QueryOrganInfoReq)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MopAccountSystemServer).QueryOrganInfo(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/pb.MopAccountSystem/QueryOrganInfo",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MopAccountSystemServer).QueryOrganInfo(ctx, req.(*QueryOrganInfoReq))
}
return interceptor(ctx, in, info, handler)
}
func _MopAccountSystem_GetBusinessInfoById_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetBusinessInfoByIdReq)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MopAccountSystemServer).GetBusinessInfoById(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/pb.MopAccountSystem/GetBusinessInfoById",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MopAccountSystemServer).GetBusinessInfoById(ctx, req.(*GetBusinessInfoByIdReq))
}
return interceptor(ctx, in, info, handler)
}
var _MopAccountSystem_serviceDesc = grpc.ServiceDesc{
ServiceName: "pb.MopAccountSystem",
HandlerType: (*MopAccountSystemServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "QueryOrganInfo",
Handler: _MopAccountSystem_QueryOrganInfo_Handler,
},
{
MethodName: "GetBusinessInfoById",
Handler: _MopAccountSystem_GetBusinessInfoById_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "mop_account_system_organ_request.proto",
}