// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.11 // protoc v7.35.1 // source: module/ec/market/proto/agency.proto package market import ( protobuf "bsm/full/protobuf" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" unsafe "unsafe" ) 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) ) type LoginRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` // 账号 必填 Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // 密码 必填 Verify string `protobuf:"bytes,3,opt,name=verify,proto3" json:"verify,omitempty"` // 检验码 必填 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *LoginRequest) Reset() { *x = LoginRequest{} mi := &file_module_ec_market_proto_agency_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *LoginRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*LoginRequest) ProtoMessage() {} func (x *LoginRequest) ProtoReflect() protoreflect.Message { mi := &file_module_ec_market_proto_agency_proto_msgTypes[0] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead. func (*LoginRequest) Descriptor() ([]byte, []int) { return file_module_ec_market_proto_agency_proto_rawDescGZIP(), []int{0} } func (x *LoginRequest) GetAccount() string { if x != nil { return x.Account } return "" } func (x *LoginRequest) GetPassword() string { if x != nil { return x.Password } return "" } func (x *LoginRequest) GetVerify() string { if x != nil { return x.Verify } return "" } type MarketAgenctyItem struct { state protoimpl.MessageState `protogen:"open.v1"` Identity string `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"` // 唯一标识 CreatedAt string `protobuf:"bytes,2,opt,name=created_at,proto3" json:"created_at,omitempty"` // 创建时间 Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // 联系人名称 必填 Avatar string `protobuf:"bytes,4,opt,name=avatar,proto3" json:"avatar,omitempty"` // 头像 Account string `protobuf:"bytes,5,opt,name=account,proto3" json:"account,omitempty"` // 帐号 Phone string `protobuf:"bytes,6,opt,name=phone,proto3" json:"phone,omitempty"` // 手机号 Password string `protobuf:"bytes,7,opt,name=password,proto3" json:"password,omitempty"` // 密码 OrgName string `protobuf:"bytes,8,opt,name=org_name,proto3" json:"org_name,omitempty"` // 机构名称 OrgPhoto string `protobuf:"bytes,9,opt,name=org_photo,proto3" json:"org_photo,omitempty"` // 机构照片 IdName string `protobuf:"bytes,10,opt,name=id_name,proto3" json:"id_name,omitempty"` // 证件姓名 IdBefore string `protobuf:"bytes,11,opt,name=id_before,proto3" json:"id_before,omitempty"` // 证件照片 IdAfter string `protobuf:"bytes,12,opt,name=id_after,proto3" json:"id_after,omitempty"` // 证件照片 Remark string `protobuf:"bytes,13,opt,name=remark,proto3" json:"remark,omitempty"` // 备注 CommissionRate int32 `protobuf:"varint,14,opt,name=commission_rate,proto3" json:"commission_rate,omitempty"` // 佣金比例 AgencyType int32 `protobuf:"varint,15,opt,name=agency_type,proto3" json:"agency_type,omitempty"` // 服务 状态:1:代理商 2:安装商 Status int32 `protobuf:"varint,16,opt,name=status,proto3" json:"status,omitempty"` // 状态:默认为0,-1禁止,1为正常 Email string `protobuf:"bytes,17,opt,name=email,proto3" json:"email,omitempty"` // 邮箱 Country string `protobuf:"bytes,18,opt,name=country,proto3" json:"country,omitempty"` // 国家 Area string `protobuf:"bytes,19,opt,name=area,proto3" json:"area,omitempty"` // 地区 Approve int32 `protobuf:"varint,20,opt,name=approve,proto3" json:"approve,omitempty"` // 审核状态:0:待审核 2:审核通过 -2:审核未通过 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *MarketAgenctyItem) Reset() { *x = MarketAgenctyItem{} mi := &file_module_ec_market_proto_agency_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *MarketAgenctyItem) String() string { return protoimpl.X.MessageStringOf(x) } func (*MarketAgenctyItem) ProtoMessage() {} func (x *MarketAgenctyItem) ProtoReflect() protoreflect.Message { mi := &file_module_ec_market_proto_agency_proto_msgTypes[1] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use MarketAgenctyItem.ProtoReflect.Descriptor instead. func (*MarketAgenctyItem) Descriptor() ([]byte, []int) { return file_module_ec_market_proto_agency_proto_rawDescGZIP(), []int{1} } func (x *MarketAgenctyItem) GetIdentity() string { if x != nil { return x.Identity } return "" } func (x *MarketAgenctyItem) GetCreatedAt() string { if x != nil { return x.CreatedAt } return "" } func (x *MarketAgenctyItem) GetName() string { if x != nil { return x.Name } return "" } func (x *MarketAgenctyItem) GetAvatar() string { if x != nil { return x.Avatar } return "" } func (x *MarketAgenctyItem) GetAccount() string { if x != nil { return x.Account } return "" } func (x *MarketAgenctyItem) GetPhone() string { if x != nil { return x.Phone } return "" } func (x *MarketAgenctyItem) GetPassword() string { if x != nil { return x.Password } return "" } func (x *MarketAgenctyItem) GetOrgName() string { if x != nil { return x.OrgName } return "" } func (x *MarketAgenctyItem) GetOrgPhoto() string { if x != nil { return x.OrgPhoto } return "" } func (x *MarketAgenctyItem) GetIdName() string { if x != nil { return x.IdName } return "" } func (x *MarketAgenctyItem) GetIdBefore() string { if x != nil { return x.IdBefore } return "" } func (x *MarketAgenctyItem) GetIdAfter() string { if x != nil { return x.IdAfter } return "" } func (x *MarketAgenctyItem) GetRemark() string { if x != nil { return x.Remark } return "" } func (x *MarketAgenctyItem) GetCommissionRate() int32 { if x != nil { return x.CommissionRate } return 0 } func (x *MarketAgenctyItem) GetAgencyType() int32 { if x != nil { return x.AgencyType } return 0 } func (x *MarketAgenctyItem) GetStatus() int32 { if x != nil { return x.Status } return 0 } func (x *MarketAgenctyItem) GetEmail() string { if x != nil { return x.Email } return "" } func (x *MarketAgenctyItem) GetCountry() string { if x != nil { return x.Country } return "" } func (x *MarketAgenctyItem) GetArea() string { if x != nil { return x.Area } return "" } func (x *MarketAgenctyItem) GetApprove() int32 { if x != nil { return x.Approve } return 0 } type SetPasswordRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Identity string `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"` OldPassword string `protobuf:"bytes,2,opt,name=old_password,proto3" json:"old_password,omitempty"` // 旧密码 NewPassword string `protobuf:"bytes,3,opt,name=new_password,proto3" json:"new_password,omitempty"` // 新密码 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *SetPasswordRequest) Reset() { *x = SetPasswordRequest{} mi := &file_module_ec_market_proto_agency_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *SetPasswordRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*SetPasswordRequest) ProtoMessage() {} func (x *SetPasswordRequest) ProtoReflect() protoreflect.Message { mi := &file_module_ec_market_proto_agency_proto_msgTypes[2] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use SetPasswordRequest.ProtoReflect.Descriptor instead. func (*SetPasswordRequest) Descriptor() ([]byte, []int) { return file_module_ec_market_proto_agency_proto_rawDescGZIP(), []int{2} } func (x *SetPasswordRequest) GetIdentity() string { if x != nil { return x.Identity } return "" } func (x *SetPasswordRequest) GetOldPassword() string { if x != nil { return x.OldPassword } return "" } func (x *SetPasswordRequest) GetNewPassword() string { if x != nil { return x.NewPassword } return "" } type AgencyReply struct { state protoimpl.MessageState `protogen:"open.v1"` Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` // 总数 Data []*MarketAgenctyItem `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"` // 数据 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *AgencyReply) Reset() { *x = AgencyReply{} mi := &file_module_ec_market_proto_agency_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *AgencyReply) String() string { return protoimpl.X.MessageStringOf(x) } func (*AgencyReply) ProtoMessage() {} func (x *AgencyReply) ProtoReflect() protoreflect.Message { mi := &file_module_ec_market_proto_agency_proto_msgTypes[3] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use AgencyReply.ProtoReflect.Descriptor instead. func (*AgencyReply) Descriptor() ([]byte, []int) { return file_module_ec_market_proto_agency_proto_rawDescGZIP(), []int{3} } func (x *AgencyReply) GetCount() int64 { if x != nil { return x.Count } return 0 } func (x *AgencyReply) GetData() []*MarketAgenctyItem { if x != nil { return x.Data } return nil } type ApproveRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Approve int32 `protobuf:"varint,1,opt,name=approve,proto3" json:"approve,omitempty"` // 1:通过 2:拒绝 Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` // 唯一标识 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ApproveRequest) Reset() { *x = ApproveRequest{} mi := &file_module_ec_market_proto_agency_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ApproveRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*ApproveRequest) ProtoMessage() {} func (x *ApproveRequest) ProtoReflect() protoreflect.Message { mi := &file_module_ec_market_proto_agency_proto_msgTypes[4] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ApproveRequest.ProtoReflect.Descriptor instead. func (*ApproveRequest) Descriptor() ([]byte, []int) { return file_module_ec_market_proto_agency_proto_rawDescGZIP(), []int{4} } func (x *ApproveRequest) GetApprove() int32 { if x != nil { return x.Approve } return 0 } func (x *ApproveRequest) GetIdentity() string { if x != nil { return x.Identity } return "" } var File_module_ec_market_proto_agency_proto protoreflect.FileDescriptor const file_module_ec_market_proto_agency_proto_rawDesc = "" + "\n" + "#module/ec/market/proto/agency.proto\x12\x06market\x1a\x15protobuf/blocks.proto\"\\\n" + "\fLoginRequest\x12\x18\n" + "\aaccount\x18\x01 \x01(\tR\aaccount\x12\x1a\n" + "\bpassword\x18\x02 \x01(\tR\bpassword\x12\x16\n" + "\x06verify\x18\x03 \x01(\tR\x06verify\"\xaf\x04\n" + "\x11MarketAgenctyItem\x12\x1a\n" + "\bidentity\x18\x01 \x01(\tR\bidentity\x12\x1e\n" + "\n" + "created_at\x18\x02 \x01(\tR\n" + "created_at\x12\x12\n" + "\x04name\x18\x03 \x01(\tR\x04name\x12\x16\n" + "\x06avatar\x18\x04 \x01(\tR\x06avatar\x12\x18\n" + "\aaccount\x18\x05 \x01(\tR\aaccount\x12\x14\n" + "\x05phone\x18\x06 \x01(\tR\x05phone\x12\x1a\n" + "\bpassword\x18\a \x01(\tR\bpassword\x12\x1a\n" + "\borg_name\x18\b \x01(\tR\borg_name\x12\x1c\n" + "\torg_photo\x18\t \x01(\tR\torg_photo\x12\x18\n" + "\aid_name\x18\n" + " \x01(\tR\aid_name\x12\x1c\n" + "\tid_before\x18\v \x01(\tR\tid_before\x12\x1a\n" + "\bid_after\x18\f \x01(\tR\bid_after\x12\x16\n" + "\x06remark\x18\r \x01(\tR\x06remark\x12(\n" + "\x0fcommission_rate\x18\x0e \x01(\x05R\x0fcommission_rate\x12 \n" + "\vagency_type\x18\x0f \x01(\x05R\vagency_type\x12\x16\n" + "\x06status\x18\x10 \x01(\x05R\x06status\x12\x14\n" + "\x05email\x18\x11 \x01(\tR\x05email\x12\x18\n" + "\acountry\x18\x12 \x01(\tR\acountry\x12\x12\n" + "\x04area\x18\x13 \x01(\tR\x04area\x12\x18\n" + "\aapprove\x18\x14 \x01(\x05R\aapprove\"x\n" + "\x12SetPasswordRequest\x12\x1a\n" + "\bidentity\x18\x01 \x01(\tR\bidentity\x12\"\n" + "\fold_password\x18\x02 \x01(\tR\fold_password\x12\"\n" + "\fnew_password\x18\x03 \x01(\tR\fnew_password\"R\n" + "\vAgencyReply\x12\x14\n" + "\x05count\x18\x01 \x01(\x03R\x05count\x12-\n" + "\x04data\x18\x02 \x03(\v2\x19.market.MarketAgenctyItemR\x04data\"F\n" + "\x0eApproveRequest\x12\x18\n" + "\aapprove\x18\x01 \x01(\x05R\aapprove\x12\x1a\n" + "\bidentity\x18\x02 \x01(\tR\bidentity2\xca\x04\n" + "\x06Agency\x129\n" + "\x05Login\x12\x14.market.LoginRequest\x1a\x18.blocks.MarketLoginReply\"\x00\x12B\n" + "\x06Create\x12\x19.market.MarketAgenctyItem\x1a\x1b.blocks.IdentityStatusReply\"\x00\x128\n" + "\x03Get\x12\x14.blocks.IdentRequest\x1a\x19.market.MarketAgenctyItem\"\x00\x12:\n" + "\x05Fetch\x12\x1a.blocks.MarketFetchRequest\x1a\x13.market.AgencyReply\"\x00\x12B\n" + "\x06Modify\x12\x19.market.MarketAgenctyItem\x1a\x1b.blocks.IdentityStatusReply\"\x00\x12=\n" + "\x06Delete\x12\x14.blocks.IdentRequest\x1a\x1b.blocks.IdentityStatusReply\"\x00\x12H\n" + "\vSetPassword\x12\x1a.market.SetPasswordRequest\x1a\x1b.blocks.IdentityStatusReply\"\x00\x12<\n" + "\aPending\x12\x1a.blocks.MarketFetchRequest\x1a\x13.market.AgencyReply\"\x00\x12@\n" + "\aApprove\x12\x16.market.ApproveRequest\x1a\x1b.blocks.IdentityStatusReply\"\x00B%Z#bsm/full/module/ec/market/pb;marketb\x06proto3" var ( file_module_ec_market_proto_agency_proto_rawDescOnce sync.Once file_module_ec_market_proto_agency_proto_rawDescData []byte ) func file_module_ec_market_proto_agency_proto_rawDescGZIP() []byte { file_module_ec_market_proto_agency_proto_rawDescOnce.Do(func() { file_module_ec_market_proto_agency_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_module_ec_market_proto_agency_proto_rawDesc), len(file_module_ec_market_proto_agency_proto_rawDesc))) }) return file_module_ec_market_proto_agency_proto_rawDescData } var file_module_ec_market_proto_agency_proto_msgTypes = make([]protoimpl.MessageInfo, 5) var file_module_ec_market_proto_agency_proto_goTypes = []any{ (*LoginRequest)(nil), // 0: market.LoginRequest (*MarketAgenctyItem)(nil), // 1: market.MarketAgenctyItem (*SetPasswordRequest)(nil), // 2: market.SetPasswordRequest (*AgencyReply)(nil), // 3: market.AgencyReply (*ApproveRequest)(nil), // 4: market.ApproveRequest (*protobuf.IdentRequest)(nil), // 5: blocks.IdentRequest (*protobuf.MarketFetchRequest)(nil), // 6: blocks.MarketFetchRequest (*protobuf.MarketLoginReply)(nil), // 7: blocks.MarketLoginReply (*protobuf.IdentityStatusReply)(nil), // 8: blocks.IdentityStatusReply } var file_module_ec_market_proto_agency_proto_depIdxs = []int32{ 1, // 0: market.AgencyReply.data:type_name -> market.MarketAgenctyItem 0, // 1: market.Agency.Login:input_type -> market.LoginRequest 1, // 2: market.Agency.Create:input_type -> market.MarketAgenctyItem 5, // 3: market.Agency.Get:input_type -> blocks.IdentRequest 6, // 4: market.Agency.Fetch:input_type -> blocks.MarketFetchRequest 1, // 5: market.Agency.Modify:input_type -> market.MarketAgenctyItem 5, // 6: market.Agency.Delete:input_type -> blocks.IdentRequest 2, // 7: market.Agency.SetPassword:input_type -> market.SetPasswordRequest 6, // 8: market.Agency.Pending:input_type -> blocks.MarketFetchRequest 4, // 9: market.Agency.Approve:input_type -> market.ApproveRequest 7, // 10: market.Agency.Login:output_type -> blocks.MarketLoginReply 8, // 11: market.Agency.Create:output_type -> blocks.IdentityStatusReply 1, // 12: market.Agency.Get:output_type -> market.MarketAgenctyItem 3, // 13: market.Agency.Fetch:output_type -> market.AgencyReply 8, // 14: market.Agency.Modify:output_type -> blocks.IdentityStatusReply 8, // 15: market.Agency.Delete:output_type -> blocks.IdentityStatusReply 8, // 16: market.Agency.SetPassword:output_type -> blocks.IdentityStatusReply 3, // 17: market.Agency.Pending:output_type -> market.AgencyReply 8, // 18: market.Agency.Approve:output_type -> blocks.IdentityStatusReply 10, // [10:19] is the sub-list for method output_type 1, // [1:10] is the sub-list for method input_type 1, // [1:1] is the sub-list for extension type_name 1, // [1:1] is the sub-list for extension extendee 0, // [0:1] is the sub-list for field type_name } func init() { file_module_ec_market_proto_agency_proto_init() } func file_module_ec_market_proto_agency_proto_init() { if File_module_ec_market_proto_agency_proto != nil { return } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_module_ec_market_proto_agency_proto_rawDesc), len(file_module_ec_market_proto_agency_proto_rawDesc)), NumEnums: 0, NumMessages: 5, NumExtensions: 0, NumServices: 1, }, GoTypes: file_module_ec_market_proto_agency_proto_goTypes, DependencyIndexes: file_module_ec_market_proto_agency_proto_depIdxs, MessageInfos: file_module_ec_market_proto_agency_proto_msgTypes, }.Build() File_module_ec_market_proto_agency_proto = out.File file_module_ec_market_proto_agency_proto_goTypes = nil file_module_ec_market_proto_agency_proto_depIdxs = nil }