318 lines
11 KiB
Go
318 lines
11 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.11
|
|
// protoc v7.35.0
|
|
// source: module/ec/market/proto/data.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 OverviewReply struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// 待沟通会员
|
|
TotalApprove int64 `protobuf:"varint,1,opt,name=total_approve,proto3" json:"total_approve,omitempty"`
|
|
// 本月新会员
|
|
TotalMonth int64 `protobuf:"varint,2,opt,name=total_month,proto3" json:"total_month,omitempty"`
|
|
// 全部会员
|
|
TotalAll int64 `protobuf:"varint,3,opt,name=total_all,proto3" json:"total_all,omitempty"`
|
|
// 工作人员
|
|
TotalStaff int64 `protobuf:"varint,4,opt,name=total_staff,proto3" json:"total_staff,omitempty"`
|
|
// 按月统计,最近半年
|
|
ReportMonth map[string]int64 `protobuf:"bytes,5,rep,name=report_month,json=reportMonth,proto3" json:"report_month,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
|
|
// 按月统计,工作人员
|
|
ReportStaff map[string]int64 `protobuf:"bytes,6,rep,name=report_staff,json=reportStaff,proto3" json:"report_staff,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *OverviewReply) Reset() {
|
|
*x = OverviewReply{}
|
|
mi := &file_module_ec_market_proto_data_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *OverviewReply) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*OverviewReply) ProtoMessage() {}
|
|
|
|
func (x *OverviewReply) ProtoReflect() protoreflect.Message {
|
|
mi := &file_module_ec_market_proto_data_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 OverviewReply.ProtoReflect.Descriptor instead.
|
|
func (*OverviewReply) Descriptor() ([]byte, []int) {
|
|
return file_module_ec_market_proto_data_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *OverviewReply) GetTotalApprove() int64 {
|
|
if x != nil {
|
|
return x.TotalApprove
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *OverviewReply) GetTotalMonth() int64 {
|
|
if x != nil {
|
|
return x.TotalMonth
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *OverviewReply) GetTotalAll() int64 {
|
|
if x != nil {
|
|
return x.TotalAll
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *OverviewReply) GetTotalStaff() int64 {
|
|
if x != nil {
|
|
return x.TotalStaff
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *OverviewReply) GetReportMonth() map[string]int64 {
|
|
if x != nil {
|
|
return x.ReportMonth
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *OverviewReply) GetReportStaff() map[string]int64 {
|
|
if x != nil {
|
|
return x.ReportStaff
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DataReply struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` // 记录总数
|
|
Data []*KeyVal `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"` //当前页数据
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DataReply) Reset() {
|
|
*x = DataReply{}
|
|
mi := &file_module_ec_market_proto_data_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DataReply) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DataReply) ProtoMessage() {}
|
|
|
|
func (x *DataReply) ProtoReflect() protoreflect.Message {
|
|
mi := &file_module_ec_market_proto_data_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 DataReply.ProtoReflect.Descriptor instead.
|
|
func (*DataReply) Descriptor() ([]byte, []int) {
|
|
return file_module_ec_market_proto_data_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *DataReply) GetCount() int64 {
|
|
if x != nil {
|
|
return x.Count
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DataReply) GetData() []*KeyVal {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type KeyVal struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
|
|
Val string `protobuf:"bytes,2,opt,name=val,proto3" json:"val,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *KeyVal) Reset() {
|
|
*x = KeyVal{}
|
|
mi := &file_module_ec_market_proto_data_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *KeyVal) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*KeyVal) ProtoMessage() {}
|
|
|
|
func (x *KeyVal) ProtoReflect() protoreflect.Message {
|
|
mi := &file_module_ec_market_proto_data_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 KeyVal.ProtoReflect.Descriptor instead.
|
|
func (*KeyVal) Descriptor() ([]byte, []int) {
|
|
return file_module_ec_market_proto_data_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *KeyVal) GetKey() string {
|
|
if x != nil {
|
|
return x.Key
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *KeyVal) GetVal() string {
|
|
if x != nil {
|
|
return x.Val
|
|
}
|
|
return ""
|
|
}
|
|
|
|
var File_module_ec_market_proto_data_proto protoreflect.FileDescriptor
|
|
|
|
const file_module_ec_market_proto_data_proto_rawDesc = "" +
|
|
"\n" +
|
|
"!module/ec/market/proto/data.proto\x12\x06market\x1a\x15protobuf/blocks.proto\"\xad\x03\n" +
|
|
"\rOverviewReply\x12$\n" +
|
|
"\rtotal_approve\x18\x01 \x01(\x03R\rtotal_approve\x12 \n" +
|
|
"\vtotal_month\x18\x02 \x01(\x03R\vtotal_month\x12\x1c\n" +
|
|
"\ttotal_all\x18\x03 \x01(\x03R\ttotal_all\x12 \n" +
|
|
"\vtotal_staff\x18\x04 \x01(\x03R\vtotal_staff\x12I\n" +
|
|
"\freport_month\x18\x05 \x03(\v2&.market.OverviewReply.ReportMonthEntryR\vreportMonth\x12I\n" +
|
|
"\freport_staff\x18\x06 \x03(\v2&.market.OverviewReply.ReportStaffEntryR\vreportStaff\x1a>\n" +
|
|
"\x10ReportMonthEntry\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
|
|
"\x05value\x18\x02 \x01(\x03R\x05value:\x028\x01\x1a>\n" +
|
|
"\x10ReportStaffEntry\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
|
|
"\x05value\x18\x02 \x01(\x03R\x05value:\x028\x01\"E\n" +
|
|
"\tDataReply\x12\x14\n" +
|
|
"\x05count\x18\x01 \x01(\x03R\x05count\x12\"\n" +
|
|
"\x04data\x18\x02 \x03(\v2\x0e.market.KeyValR\x04data\",\n" +
|
|
"\x06KeyVal\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12\x10\n" +
|
|
"\x03val\x18\x02 \x01(\tR\x03val2\xaa\x02\n" +
|
|
"\x04Data\x122\n" +
|
|
"\bOverview\x12\r.blocks.Empty\x1a\x15.market.OverviewReply\"\x00\x12>\n" +
|
|
"\vMemberFetch\x12\x1a.blocks.MarketFetchRequest\x1a\x11.market.DataReply\"\x00\x127\n" +
|
|
"\rMemberDetails\x12\x14.blocks.IdentRequest\x1a\x0e.market.KeyVal\"\x00\x12=\n" +
|
|
"\n" +
|
|
"OrderFetch\x12\x1a.blocks.MarketFetchRequest\x1a\x11.market.DataReply\"\x00\x126\n" +
|
|
"\fOrderDetails\x12\x14.blocks.IdentRequest\x1a\x0e.market.KeyVal\"\x00B%Z#bsm/full/module/ec/market/pb;marketb\x06proto3"
|
|
|
|
var (
|
|
file_module_ec_market_proto_data_proto_rawDescOnce sync.Once
|
|
file_module_ec_market_proto_data_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_module_ec_market_proto_data_proto_rawDescGZIP() []byte {
|
|
file_module_ec_market_proto_data_proto_rawDescOnce.Do(func() {
|
|
file_module_ec_market_proto_data_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_module_ec_market_proto_data_proto_rawDesc), len(file_module_ec_market_proto_data_proto_rawDesc)))
|
|
})
|
|
return file_module_ec_market_proto_data_proto_rawDescData
|
|
}
|
|
|
|
var file_module_ec_market_proto_data_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
|
|
var file_module_ec_market_proto_data_proto_goTypes = []any{
|
|
(*OverviewReply)(nil), // 0: market.OverviewReply
|
|
(*DataReply)(nil), // 1: market.DataReply
|
|
(*KeyVal)(nil), // 2: market.KeyVal
|
|
nil, // 3: market.OverviewReply.ReportMonthEntry
|
|
nil, // 4: market.OverviewReply.ReportStaffEntry
|
|
(*protobuf.Empty)(nil), // 5: blocks.Empty
|
|
(*protobuf.MarketFetchRequest)(nil), // 6: blocks.MarketFetchRequest
|
|
(*protobuf.IdentRequest)(nil), // 7: blocks.IdentRequest
|
|
}
|
|
var file_module_ec_market_proto_data_proto_depIdxs = []int32{
|
|
3, // 0: market.OverviewReply.report_month:type_name -> market.OverviewReply.ReportMonthEntry
|
|
4, // 1: market.OverviewReply.report_staff:type_name -> market.OverviewReply.ReportStaffEntry
|
|
2, // 2: market.DataReply.data:type_name -> market.KeyVal
|
|
5, // 3: market.Data.Overview:input_type -> blocks.Empty
|
|
6, // 4: market.Data.MemberFetch:input_type -> blocks.MarketFetchRequest
|
|
7, // 5: market.Data.MemberDetails:input_type -> blocks.IdentRequest
|
|
6, // 6: market.Data.OrderFetch:input_type -> blocks.MarketFetchRequest
|
|
7, // 7: market.Data.OrderDetails:input_type -> blocks.IdentRequest
|
|
0, // 8: market.Data.Overview:output_type -> market.OverviewReply
|
|
1, // 9: market.Data.MemberFetch:output_type -> market.DataReply
|
|
2, // 10: market.Data.MemberDetails:output_type -> market.KeyVal
|
|
1, // 11: market.Data.OrderFetch:output_type -> market.DataReply
|
|
2, // 12: market.Data.OrderDetails:output_type -> market.KeyVal
|
|
8, // [8:13] is the sub-list for method output_type
|
|
3, // [3:8] is the sub-list for method input_type
|
|
3, // [3:3] is the sub-list for extension type_name
|
|
3, // [3:3] is the sub-list for extension extendee
|
|
0, // [0:3] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_module_ec_market_proto_data_proto_init() }
|
|
func file_module_ec_market_proto_data_proto_init() {
|
|
if File_module_ec_market_proto_data_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_data_proto_rawDesc), len(file_module_ec_market_proto_data_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 5,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_module_ec_market_proto_data_proto_goTypes,
|
|
DependencyIndexes: file_module_ec_market_proto_data_proto_depIdxs,
|
|
MessageInfos: file_module_ec_market_proto_data_proto_msgTypes,
|
|
}.Build()
|
|
File_module_ec_market_proto_data_proto = out.File
|
|
file_module_ec_market_proto_data_proto_goTypes = nil
|
|
file_module_ec_market_proto_data_proto_depIdxs = nil
|
|
}
|