refactor: centralize protobuf and remove go-zero
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.8
|
||||
// protoc (unknown)
|
||||
// source: product.proto
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v7.35.0
|
||||
// source: module/ec/mall/proto/product.proto
|
||||
|
||||
package mall
|
||||
|
||||
import (
|
||||
protobuf "bsm/full/protobuf"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
@@ -34,7 +35,7 @@ type AttrItem struct {
|
||||
|
||||
func (x *AttrItem) Reset() {
|
||||
*x = AttrItem{}
|
||||
mi := &file_product_proto_msgTypes[0]
|
||||
mi := &file_module_ec_mall_proto_product_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -46,7 +47,7 @@ func (x *AttrItem) String() string {
|
||||
func (*AttrItem) ProtoMessage() {}
|
||||
|
||||
func (x *AttrItem) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_product_proto_msgTypes[0]
|
||||
mi := &file_module_ec_mall_proto_product_proto_msgTypes[0]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -59,7 +60,7 @@ func (x *AttrItem) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use AttrItem.ProtoReflect.Descriptor instead.
|
||||
func (*AttrItem) Descriptor() ([]byte, []int) {
|
||||
return file_product_proto_rawDescGZIP(), []int{0}
|
||||
return file_module_ec_mall_proto_product_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
func (x *AttrItem) GetId() int64 {
|
||||
@@ -113,7 +114,7 @@ type CommentItem struct {
|
||||
|
||||
func (x *CommentItem) Reset() {
|
||||
*x = CommentItem{}
|
||||
mi := &file_product_proto_msgTypes[1]
|
||||
mi := &file_module_ec_mall_proto_product_proto_msgTypes[1]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -125,7 +126,7 @@ func (x *CommentItem) String() string {
|
||||
func (*CommentItem) ProtoMessage() {}
|
||||
|
||||
func (x *CommentItem) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_product_proto_msgTypes[1]
|
||||
mi := &file_module_ec_mall_proto_product_proto_msgTypes[1]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -138,7 +139,7 @@ func (x *CommentItem) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use CommentItem.ProtoReflect.Descriptor instead.
|
||||
func (*CommentItem) Descriptor() ([]byte, []int) {
|
||||
return file_product_proto_rawDescGZIP(), []int{1}
|
||||
return file_module_ec_mall_proto_product_proto_rawDescGZIP(), []int{1}
|
||||
}
|
||||
|
||||
func (x *CommentItem) GetId() int64 {
|
||||
@@ -261,7 +262,7 @@ type CommentItemRep struct {
|
||||
|
||||
func (x *CommentItemRep) Reset() {
|
||||
*x = CommentItemRep{}
|
||||
mi := &file_product_proto_msgTypes[2]
|
||||
mi := &file_module_ec_mall_proto_product_proto_msgTypes[2]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -273,7 +274,7 @@ func (x *CommentItemRep) String() string {
|
||||
func (*CommentItemRep) ProtoMessage() {}
|
||||
|
||||
func (x *CommentItemRep) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_product_proto_msgTypes[2]
|
||||
mi := &file_module_ec_mall_proto_product_proto_msgTypes[2]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -286,7 +287,7 @@ func (x *CommentItemRep) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use CommentItemRep.ProtoReflect.Descriptor instead.
|
||||
func (*CommentItemRep) Descriptor() ([]byte, []int) {
|
||||
return file_product_proto_rawDescGZIP(), []int{2}
|
||||
return file_module_ec_mall_proto_product_proto_rawDescGZIP(), []int{2}
|
||||
}
|
||||
|
||||
func (x *CommentItemRep) GetId() int64 {
|
||||
@@ -396,7 +397,7 @@ type DetailBySpecRequest struct {
|
||||
|
||||
func (x *DetailBySpecRequest) Reset() {
|
||||
*x = DetailBySpecRequest{}
|
||||
mi := &file_product_proto_msgTypes[3]
|
||||
mi := &file_module_ec_mall_proto_product_proto_msgTypes[3]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -408,7 +409,7 @@ func (x *DetailBySpecRequest) String() string {
|
||||
func (*DetailBySpecRequest) ProtoMessage() {}
|
||||
|
||||
func (x *DetailBySpecRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_product_proto_msgTypes[3]
|
||||
mi := &file_module_ec_mall_proto_product_proto_msgTypes[3]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -421,7 +422,7 @@ func (x *DetailBySpecRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use DetailBySpecRequest.ProtoReflect.Descriptor instead.
|
||||
func (*DetailBySpecRequest) Descriptor() ([]byte, []int) {
|
||||
return file_product_proto_rawDescGZIP(), []int{3}
|
||||
return file_module_ec_mall_proto_product_proto_rawDescGZIP(), []int{3}
|
||||
}
|
||||
|
||||
func (x *DetailBySpecRequest) GetSpecNo() string {
|
||||
@@ -441,7 +442,7 @@ type OpRequest struct {
|
||||
|
||||
func (x *OpRequest) Reset() {
|
||||
*x = OpRequest{}
|
||||
mi := &file_product_proto_msgTypes[4]
|
||||
mi := &file_module_ec_mall_proto_product_proto_msgTypes[4]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -453,7 +454,7 @@ func (x *OpRequest) String() string {
|
||||
func (*OpRequest) ProtoMessage() {}
|
||||
|
||||
func (x *OpRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_product_proto_msgTypes[4]
|
||||
mi := &file_module_ec_mall_proto_product_proto_msgTypes[4]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -466,7 +467,7 @@ func (x *OpRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use OpRequest.ProtoReflect.Descriptor instead.
|
||||
func (*OpRequest) Descriptor() ([]byte, []int) {
|
||||
return file_product_proto_rawDescGZIP(), []int{4}
|
||||
return file_module_ec_mall_proto_product_proto_rawDescGZIP(), []int{4}
|
||||
}
|
||||
|
||||
func (x *OpRequest) GetIdentity() []string {
|
||||
@@ -493,7 +494,7 @@ type ModifyRequest struct {
|
||||
|
||||
func (x *ModifyRequest) Reset() {
|
||||
*x = ModifyRequest{}
|
||||
mi := &file_product_proto_msgTypes[5]
|
||||
mi := &file_module_ec_mall_proto_product_proto_msgTypes[5]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -505,7 +506,7 @@ func (x *ModifyRequest) String() string {
|
||||
func (*ModifyRequest) ProtoMessage() {}
|
||||
|
||||
func (x *ModifyRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_product_proto_msgTypes[5]
|
||||
mi := &file_module_ec_mall_proto_product_proto_msgTypes[5]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -518,7 +519,7 @@ func (x *ModifyRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use ModifyRequest.ProtoReflect.Descriptor instead.
|
||||
func (*ModifyRequest) Descriptor() ([]byte, []int) {
|
||||
return file_product_proto_rawDescGZIP(), []int{5}
|
||||
return file_module_ec_mall_proto_product_proto_rawDescGZIP(), []int{5}
|
||||
}
|
||||
|
||||
func (x *ModifyRequest) GetIdentity() string {
|
||||
@@ -553,7 +554,7 @@ type ListItem struct {
|
||||
|
||||
func (x *ListItem) Reset() {
|
||||
*x = ListItem{}
|
||||
mi := &file_product_proto_msgTypes[6]
|
||||
mi := &file_module_ec_mall_proto_product_proto_msgTypes[6]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -565,7 +566,7 @@ func (x *ListItem) String() string {
|
||||
func (*ListItem) ProtoMessage() {}
|
||||
|
||||
func (x *ListItem) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_product_proto_msgTypes[6]
|
||||
mi := &file_module_ec_mall_proto_product_proto_msgTypes[6]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -578,7 +579,7 @@ func (x *ListItem) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use ListItem.ProtoReflect.Descriptor instead.
|
||||
func (*ListItem) Descriptor() ([]byte, []int) {
|
||||
return file_product_proto_rawDescGZIP(), []int{6}
|
||||
return file_module_ec_mall_proto_product_proto_rawDescGZIP(), []int{6}
|
||||
}
|
||||
|
||||
func (x *ListItem) GetProductId() int64 {
|
||||
@@ -660,7 +661,7 @@ type ListWithIdRequest struct {
|
||||
|
||||
func (x *ListWithIdRequest) Reset() {
|
||||
*x = ListWithIdRequest{}
|
||||
mi := &file_product_proto_msgTypes[7]
|
||||
mi := &file_module_ec_mall_proto_product_proto_msgTypes[7]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -672,7 +673,7 @@ func (x *ListWithIdRequest) String() string {
|
||||
func (*ListWithIdRequest) ProtoMessage() {}
|
||||
|
||||
func (x *ListWithIdRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_product_proto_msgTypes[7]
|
||||
mi := &file_module_ec_mall_proto_product_proto_msgTypes[7]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -685,7 +686,7 @@ func (x *ListWithIdRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use ListWithIdRequest.ProtoReflect.Descriptor instead.
|
||||
func (*ListWithIdRequest) Descriptor() ([]byte, []int) {
|
||||
return file_product_proto_rawDescGZIP(), []int{7}
|
||||
return file_module_ec_mall_proto_product_proto_rawDescGZIP(), []int{7}
|
||||
}
|
||||
|
||||
func (x *ListWithIdRequest) GetId() []int64 {
|
||||
@@ -704,7 +705,7 @@ type ListWithIdReply struct {
|
||||
|
||||
func (x *ListWithIdReply) Reset() {
|
||||
*x = ListWithIdReply{}
|
||||
mi := &file_product_proto_msgTypes[8]
|
||||
mi := &file_module_ec_mall_proto_product_proto_msgTypes[8]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -716,7 +717,7 @@ func (x *ListWithIdReply) String() string {
|
||||
func (*ListWithIdReply) ProtoMessage() {}
|
||||
|
||||
func (x *ListWithIdReply) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_product_proto_msgTypes[8]
|
||||
mi := &file_module_ec_mall_proto_product_proto_msgTypes[8]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -729,7 +730,7 @@ func (x *ListWithIdReply) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use ListWithIdReply.ProtoReflect.Descriptor instead.
|
||||
func (*ListWithIdReply) Descriptor() ([]byte, []int) {
|
||||
return file_product_proto_rawDescGZIP(), []int{8}
|
||||
return file_module_ec_mall_proto_product_proto_rawDescGZIP(), []int{8}
|
||||
}
|
||||
|
||||
func (x *ListWithIdReply) GetData() []*ListItem {
|
||||
@@ -750,7 +751,7 @@ type PhotoReply struct {
|
||||
|
||||
func (x *PhotoReply) Reset() {
|
||||
*x = PhotoReply{}
|
||||
mi := &file_product_proto_msgTypes[9]
|
||||
mi := &file_module_ec_mall_proto_product_proto_msgTypes[9]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -762,7 +763,7 @@ func (x *PhotoReply) String() string {
|
||||
func (*PhotoReply) ProtoMessage() {}
|
||||
|
||||
func (x *PhotoReply) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_product_proto_msgTypes[9]
|
||||
mi := &file_module_ec_mall_proto_product_proto_msgTypes[9]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -775,7 +776,7 @@ func (x *PhotoReply) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use PhotoReply.ProtoReflect.Descriptor instead.
|
||||
func (*PhotoReply) Descriptor() ([]byte, []int) {
|
||||
return file_product_proto_rawDescGZIP(), []int{9}
|
||||
return file_module_ec_mall_proto_product_proto_rawDescGZIP(), []int{9}
|
||||
}
|
||||
|
||||
func (x *PhotoReply) GetCount() int64 {
|
||||
@@ -802,7 +803,7 @@ type SpecReply struct {
|
||||
|
||||
func (x *SpecReply) Reset() {
|
||||
*x = SpecReply{}
|
||||
mi := &file_product_proto_msgTypes[10]
|
||||
mi := &file_module_ec_mall_proto_product_proto_msgTypes[10]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -814,7 +815,7 @@ func (x *SpecReply) String() string {
|
||||
func (*SpecReply) ProtoMessage() {}
|
||||
|
||||
func (x *SpecReply) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_product_proto_msgTypes[10]
|
||||
mi := &file_module_ec_mall_proto_product_proto_msgTypes[10]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -827,7 +828,7 @@ func (x *SpecReply) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use SpecReply.ProtoReflect.Descriptor instead.
|
||||
func (*SpecReply) Descriptor() ([]byte, []int) {
|
||||
return file_product_proto_rawDescGZIP(), []int{10}
|
||||
return file_module_ec_mall_proto_product_proto_rawDescGZIP(), []int{10}
|
||||
}
|
||||
|
||||
func (x *SpecReply) GetCount() int64 {
|
||||
@@ -854,7 +855,7 @@ type CommentListReply struct {
|
||||
|
||||
func (x *CommentListReply) Reset() {
|
||||
*x = CommentListReply{}
|
||||
mi := &file_product_proto_msgTypes[11]
|
||||
mi := &file_module_ec_mall_proto_product_proto_msgTypes[11]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -866,7 +867,7 @@ func (x *CommentListReply) String() string {
|
||||
func (*CommentListReply) ProtoMessage() {}
|
||||
|
||||
func (x *CommentListReply) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_product_proto_msgTypes[11]
|
||||
mi := &file_module_ec_mall_proto_product_proto_msgTypes[11]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -879,7 +880,7 @@ func (x *CommentListReply) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use CommentListReply.ProtoReflect.Descriptor instead.
|
||||
func (*CommentListReply) Descriptor() ([]byte, []int) {
|
||||
return file_product_proto_rawDescGZIP(), []int{11}
|
||||
return file_module_ec_mall_proto_product_proto_rawDescGZIP(), []int{11}
|
||||
}
|
||||
|
||||
func (x *CommentListReply) GetCount() int64 {
|
||||
@@ -908,7 +909,7 @@ type StatisticReply struct {
|
||||
|
||||
func (x *StatisticReply) Reset() {
|
||||
*x = StatisticReply{}
|
||||
mi := &file_product_proto_msgTypes[12]
|
||||
mi := &file_module_ec_mall_proto_product_proto_msgTypes[12]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -920,7 +921,7 @@ func (x *StatisticReply) String() string {
|
||||
func (*StatisticReply) ProtoMessage() {}
|
||||
|
||||
func (x *StatisticReply) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_product_proto_msgTypes[12]
|
||||
mi := &file_module_ec_mall_proto_product_proto_msgTypes[12]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -933,7 +934,7 @@ func (x *StatisticReply) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use StatisticReply.ProtoReflect.Descriptor instead.
|
||||
func (*StatisticReply) Descriptor() ([]byte, []int) {
|
||||
return file_product_proto_rawDescGZIP(), []int{12}
|
||||
return file_module_ec_mall_proto_product_proto_rawDescGZIP(), []int{12}
|
||||
}
|
||||
|
||||
func (x *StatisticReply) GetTotal() int64 {
|
||||
@@ -975,7 +976,7 @@ type OrgBySpecIdReply struct {
|
||||
|
||||
func (x *OrgBySpecIdReply) Reset() {
|
||||
*x = OrgBySpecIdReply{}
|
||||
mi := &file_product_proto_msgTypes[13]
|
||||
mi := &file_module_ec_mall_proto_product_proto_msgTypes[13]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -987,7 +988,7 @@ func (x *OrgBySpecIdReply) String() string {
|
||||
func (*OrgBySpecIdReply) ProtoMessage() {}
|
||||
|
||||
func (x *OrgBySpecIdReply) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_product_proto_msgTypes[13]
|
||||
mi := &file_module_ec_mall_proto_product_proto_msgTypes[13]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -1000,7 +1001,7 @@ func (x *OrgBySpecIdReply) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use OrgBySpecIdReply.ProtoReflect.Descriptor instead.
|
||||
func (*OrgBySpecIdReply) Descriptor() ([]byte, []int) {
|
||||
return file_product_proto_rawDescGZIP(), []int{13}
|
||||
return file_module_ec_mall_proto_product_proto_rawDescGZIP(), []int{13}
|
||||
}
|
||||
|
||||
func (x *OrgBySpecIdReply) GetId() int64 {
|
||||
@@ -1047,7 +1048,7 @@ type Subjoin struct {
|
||||
|
||||
func (x *Subjoin) Reset() {
|
||||
*x = Subjoin{}
|
||||
mi := &file_product_proto_msgTypes[14]
|
||||
mi := &file_module_ec_mall_proto_product_proto_msgTypes[14]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -1059,7 +1060,7 @@ func (x *Subjoin) String() string {
|
||||
func (*Subjoin) ProtoMessage() {}
|
||||
|
||||
func (x *Subjoin) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_product_proto_msgTypes[14]
|
||||
mi := &file_module_ec_mall_proto_product_proto_msgTypes[14]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -1072,7 +1073,7 @@ func (x *Subjoin) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use Subjoin.ProtoReflect.Descriptor instead.
|
||||
func (*Subjoin) Descriptor() ([]byte, []int) {
|
||||
return file_product_proto_rawDescGZIP(), []int{14}
|
||||
return file_module_ec_mall_proto_product_proto_rawDescGZIP(), []int{14}
|
||||
}
|
||||
|
||||
func (x *Subjoin) GetCategoryPaths() string {
|
||||
@@ -1183,7 +1184,7 @@ type ListReply struct {
|
||||
|
||||
func (x *ListReply) Reset() {
|
||||
*x = ListReply{}
|
||||
mi := &file_product_proto_msgTypes[15]
|
||||
mi := &file_module_ec_mall_proto_product_proto_msgTypes[15]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -1195,7 +1196,7 @@ func (x *ListReply) String() string {
|
||||
func (*ListReply) ProtoMessage() {}
|
||||
|
||||
func (x *ListReply) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_product_proto_msgTypes[15]
|
||||
mi := &file_module_ec_mall_proto_product_proto_msgTypes[15]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -1208,7 +1209,7 @@ func (x *ListReply) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use ListReply.ProtoReflect.Descriptor instead.
|
||||
func (*ListReply) Descriptor() ([]byte, []int) {
|
||||
return file_product_proto_rawDescGZIP(), []int{15}
|
||||
return file_module_ec_mall_proto_product_proto_rawDescGZIP(), []int{15}
|
||||
}
|
||||
|
||||
func (x *ListReply) GetCount() int64 {
|
||||
@@ -1251,7 +1252,7 @@ type ProductBase struct {
|
||||
|
||||
func (x *ProductBase) Reset() {
|
||||
*x = ProductBase{}
|
||||
mi := &file_product_proto_msgTypes[16]
|
||||
mi := &file_module_ec_mall_proto_product_proto_msgTypes[16]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -1263,7 +1264,7 @@ func (x *ProductBase) String() string {
|
||||
func (*ProductBase) ProtoMessage() {}
|
||||
|
||||
func (x *ProductBase) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_product_proto_msgTypes[16]
|
||||
mi := &file_module_ec_mall_proto_product_proto_msgTypes[16]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -1276,7 +1277,7 @@ func (x *ProductBase) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use ProductBase.ProtoReflect.Descriptor instead.
|
||||
func (*ProductBase) Descriptor() ([]byte, []int) {
|
||||
return file_product_proto_rawDescGZIP(), []int{16}
|
||||
return file_module_ec_mall_proto_product_proto_rawDescGZIP(), []int{16}
|
||||
}
|
||||
|
||||
func (x *ProductBase) GetId() int64 {
|
||||
@@ -1430,7 +1431,7 @@ type SpecItem struct {
|
||||
|
||||
func (x *SpecItem) Reset() {
|
||||
*x = SpecItem{}
|
||||
mi := &file_product_proto_msgTypes[17]
|
||||
mi := &file_module_ec_mall_proto_product_proto_msgTypes[17]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -1442,7 +1443,7 @@ func (x *SpecItem) String() string {
|
||||
func (*SpecItem) ProtoMessage() {}
|
||||
|
||||
func (x *SpecItem) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_product_proto_msgTypes[17]
|
||||
mi := &file_module_ec_mall_proto_product_proto_msgTypes[17]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -1455,7 +1456,7 @@ func (x *SpecItem) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use SpecItem.ProtoReflect.Descriptor instead.
|
||||
func (*SpecItem) Descriptor() ([]byte, []int) {
|
||||
return file_product_proto_rawDescGZIP(), []int{17}
|
||||
return file_module_ec_mall_proto_product_proto_rawDescGZIP(), []int{17}
|
||||
}
|
||||
|
||||
func (x *SpecItem) GetId() int64 {
|
||||
@@ -1592,7 +1593,7 @@ type PhotoItem struct {
|
||||
|
||||
func (x *PhotoItem) Reset() {
|
||||
*x = PhotoItem{}
|
||||
mi := &file_product_proto_msgTypes[18]
|
||||
mi := &file_module_ec_mall_proto_product_proto_msgTypes[18]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -1604,7 +1605,7 @@ func (x *PhotoItem) String() string {
|
||||
func (*PhotoItem) ProtoMessage() {}
|
||||
|
||||
func (x *PhotoItem) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_product_proto_msgTypes[18]
|
||||
mi := &file_module_ec_mall_proto_product_proto_msgTypes[18]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -1617,7 +1618,7 @@ func (x *PhotoItem) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use PhotoItem.ProtoReflect.Descriptor instead.
|
||||
func (*PhotoItem) Descriptor() ([]byte, []int) {
|
||||
return file_product_proto_rawDescGZIP(), []int{18}
|
||||
return file_module_ec_mall_proto_product_proto_rawDescGZIP(), []int{18}
|
||||
}
|
||||
|
||||
func (x *PhotoItem) GetName() string {
|
||||
@@ -1690,7 +1691,7 @@ type CategoriesItem struct {
|
||||
|
||||
func (x *CategoriesItem) Reset() {
|
||||
*x = CategoriesItem{}
|
||||
mi := &file_product_proto_msgTypes[19]
|
||||
mi := &file_module_ec_mall_proto_product_proto_msgTypes[19]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -1702,7 +1703,7 @@ func (x *CategoriesItem) String() string {
|
||||
func (*CategoriesItem) ProtoMessage() {}
|
||||
|
||||
func (x *CategoriesItem) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_product_proto_msgTypes[19]
|
||||
mi := &file_module_ec_mall_proto_product_proto_msgTypes[19]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -1715,7 +1716,7 @@ func (x *CategoriesItem) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use CategoriesItem.ProtoReflect.Descriptor instead.
|
||||
func (*CategoriesItem) Descriptor() ([]byte, []int) {
|
||||
return file_product_proto_rawDescGZIP(), []int{19}
|
||||
return file_module_ec_mall_proto_product_proto_rawDescGZIP(), []int{19}
|
||||
}
|
||||
|
||||
func (x *CategoriesItem) GetId() int64 {
|
||||
@@ -1852,7 +1853,7 @@ type ProductItem struct {
|
||||
|
||||
func (x *ProductItem) Reset() {
|
||||
*x = ProductItem{}
|
||||
mi := &file_product_proto_msgTypes[20]
|
||||
mi := &file_module_ec_mall_proto_product_proto_msgTypes[20]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -1864,7 +1865,7 @@ func (x *ProductItem) String() string {
|
||||
func (*ProductItem) ProtoMessage() {}
|
||||
|
||||
func (x *ProductItem) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_product_proto_msgTypes[20]
|
||||
mi := &file_module_ec_mall_proto_product_proto_msgTypes[20]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -1877,7 +1878,7 @@ func (x *ProductItem) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use ProductItem.ProtoReflect.Descriptor instead.
|
||||
func (*ProductItem) Descriptor() ([]byte, []int) {
|
||||
return file_product_proto_rawDescGZIP(), []int{20}
|
||||
return file_module_ec_mall_proto_product_proto_rawDescGZIP(), []int{20}
|
||||
}
|
||||
|
||||
func (x *ProductItem) GetId() int64 {
|
||||
@@ -2125,11 +2126,11 @@ func (x *ProductItem) GetSupplyName() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
var File_product_proto protoreflect.FileDescriptor
|
||||
var File_module_ec_mall_proto_product_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_product_proto_rawDesc = "" +
|
||||
const file_module_ec_mall_proto_product_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\x15ec/mall/product.proto\x12\x04mall\x1a\x11mall/blocks.proto\"b\n" +
|
||||
"\"module/ec/mall/proto/product.proto\x12\x04mall\x1a\x15protobuf/blocks.proto\"b\n" +
|
||||
"\bAttrItem\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
||||
"\x04name\x18\x02 \x01(\tR\x04name\x12\x1c\n" +
|
||||
@@ -2358,79 +2359,80 @@ const file_product_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"categories\x18\" \x03(\v2\x14.mall.CategoriesItemR\n" +
|
||||
"categories\x12 \n" +
|
||||
"\vsupply_name\x18# \x01(\tR\vsupply_name2\x95\t\n" +
|
||||
"\aProduct\x122\n" +
|
||||
"\tItemFetch\x12\x12.mall.FetchRequest\x1a\x0f.mall.ListReply\"\x00\x125\n" +
|
||||
"\vsupply_name\x18# \x01(\tR\vsupply_name2\xb7\n" +
|
||||
"\n" +
|
||||
"ItemDetail\x12\x12.mall.IdentRequest\x1a\x11.mall.ProductItem\"\x00\x12A\n" +
|
||||
"\x12ItemDetailBySerial\x12\x18.mall.StoreSerialRequest\x1a\x0f.mall.ListReply\"\x00\x12?\n" +
|
||||
"\x10ItemDetailBySpec\x12\x19.mall.DetailBySpecRequest\x1a\x0e.mall.ListItem\"\x00\x124\n" +
|
||||
"\aProduct\x128\n" +
|
||||
"\tItemFetch\x12\x18.blocks.MallFetchRequest\x1a\x0f.mall.ListReply\"\x00\x127\n" +
|
||||
"\n" +
|
||||
"ItemCreate\x12\x11.mall.ProductItem\x1a\x11.mall.StatusReply\"\x00\x125\n" +
|
||||
"ItemDetail\x12\x14.blocks.IdentRequest\x1a\x11.mall.ProductItem\"\x00\x12C\n" +
|
||||
"\x12ItemDetailBySerial\x12\x1a.blocks.StoreSerialRequest\x1a\x0f.mall.ListReply\"\x00\x12?\n" +
|
||||
"\x10ItemDetailBySpec\x12\x19.mall.DetailBySpecRequest\x1a\x0e.mall.ListItem\"\x00\x12>\n" +
|
||||
"\n" +
|
||||
"ItemDelete\x12\x12.mall.IdentRequest\x1a\x11.mall.StatusReply\"\x00\x126\n" +
|
||||
"ItemCreate\x12\x11.mall.ProductItem\x1a\x1b.blocks.IdentityStatusReply\"\x00\x12A\n" +
|
||||
"\n" +
|
||||
"ItemModify\x12\x13.mall.ModifyRequest\x1a\x11.mall.StatusReply\"\x00\x123\n" +
|
||||
"\vItemBatchOp\x12\x0f.mall.OpRequest\x1a\x11.mall.StatusReply\"\x00\x122\n" +
|
||||
"\tSpecFetch\x12\x12.mall.FetchRequest\x1a\x0f.mall.SpecReply\"\x00\x121\n" +
|
||||
"ItemDelete\x12\x14.blocks.IdentRequest\x1a\x1b.blocks.IdentityStatusReply\"\x00\x12@\n" +
|
||||
"\n" +
|
||||
"SpecCreate\x12\x0e.mall.SpecItem\x1a\x11.mall.StatusReply\"\x00\x121\n" +
|
||||
"ItemModify\x12\x13.mall.ModifyRequest\x1a\x1b.blocks.IdentityStatusReply\"\x00\x12=\n" +
|
||||
"\vItemBatchOp\x12\x0f.mall.OpRequest\x1a\x1b.blocks.IdentityStatusReply\"\x00\x128\n" +
|
||||
"\tSpecFetch\x12\x18.blocks.MallFetchRequest\x1a\x0f.mall.SpecReply\"\x00\x12;\n" +
|
||||
"\n" +
|
||||
"SpecModify\x12\x0e.mall.SpecItem\x1a\x11.mall.StatusReply\"\x00\x125\n" +
|
||||
"SpecCreate\x12\x0e.mall.SpecItem\x1a\x1b.blocks.IdentityStatusReply\"\x00\x12;\n" +
|
||||
"\n" +
|
||||
"SpecDelete\x12\x12.mall.IdentRequest\x1a\x11.mall.StatusReply\"\x00\x122\n" +
|
||||
"SpecModify\x12\x0e.mall.SpecItem\x1a\x1b.blocks.IdentityStatusReply\"\x00\x12A\n" +
|
||||
"\n" +
|
||||
"SpecDetail\x12\x12.mall.IdentRequest\x1a\x0e.mall.SpecItem\"\x00\x123\n" +
|
||||
"\vPhotoCreate\x12\x0f.mall.PhotoItem\x1a\x11.mall.StatusReply\"\x00\x126\n" +
|
||||
"\vPhotoDelete\x12\x12.mall.IdentRequest\x1a\x11.mall.StatusReply\"\x00\x120\n" +
|
||||
"\tPhotoList\x12\x0f.mall.PhotoItem\x1a\x10.mall.PhotoReply\"\x00\x12<\n" +
|
||||
"\fCommentFetch\x12\x12.mall.FetchRequest\x1a\x16.mall.CommentListReply\"\x00\x127\n" +
|
||||
"\rCommentCreate\x12\x11.mall.CommentItem\x1a\x11.mall.StatusReply\"\x00\x123\n" +
|
||||
"\tCommentRe\x12\x11.mall.CommentItem\x1a\x11.mall.StatusReply\"\x00\x128\n" +
|
||||
"\rCommentDelete\x12\x12.mall.IdentRequest\x1a\x11.mall.StatusReply\"\x00\x127\n" +
|
||||
"\rCommentModify\x12\x11.mall.CommentItem\x1a\x11.mall.StatusReply\"\x00B\bZ\x06.;mallb\x06proto3"
|
||||
"SpecDelete\x12\x14.blocks.IdentRequest\x1a\x1b.blocks.IdentityStatusReply\"\x00\x124\n" +
|
||||
"\n" +
|
||||
"SpecDetail\x12\x14.blocks.IdentRequest\x1a\x0e.mall.SpecItem\"\x00\x12=\n" +
|
||||
"\vPhotoCreate\x12\x0f.mall.PhotoItem\x1a\x1b.blocks.IdentityStatusReply\"\x00\x12B\n" +
|
||||
"\vPhotoDelete\x12\x14.blocks.IdentRequest\x1a\x1b.blocks.IdentityStatusReply\"\x00\x120\n" +
|
||||
"\tPhotoList\x12\x0f.mall.PhotoItem\x1a\x10.mall.PhotoReply\"\x00\x12B\n" +
|
||||
"\fCommentFetch\x12\x18.blocks.MallFetchRequest\x1a\x16.mall.CommentListReply\"\x00\x12A\n" +
|
||||
"\rCommentCreate\x12\x11.mall.CommentItem\x1a\x1b.blocks.IdentityStatusReply\"\x00\x12=\n" +
|
||||
"\tCommentRe\x12\x11.mall.CommentItem\x1a\x1b.blocks.IdentityStatusReply\"\x00\x12D\n" +
|
||||
"\rCommentDelete\x12\x14.blocks.IdentRequest\x1a\x1b.blocks.IdentityStatusReply\"\x00\x12A\n" +
|
||||
"\rCommentModify\x12\x11.mall.CommentItem\x1a\x1b.blocks.IdentityStatusReply\"\x00B!Z\x1fbsm/full/module/ec/mall/pb;mallb\x06proto3"
|
||||
|
||||
var (
|
||||
file_product_proto_rawDescOnce sync.Once
|
||||
file_product_proto_rawDescData []byte
|
||||
file_module_ec_mall_proto_product_proto_rawDescOnce sync.Once
|
||||
file_module_ec_mall_proto_product_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_product_proto_rawDescGZIP() []byte {
|
||||
file_product_proto_rawDescOnce.Do(func() {
|
||||
file_product_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_product_proto_rawDesc), len(file_product_proto_rawDesc)))
|
||||
func file_module_ec_mall_proto_product_proto_rawDescGZIP() []byte {
|
||||
file_module_ec_mall_proto_product_proto_rawDescOnce.Do(func() {
|
||||
file_module_ec_mall_proto_product_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_module_ec_mall_proto_product_proto_rawDesc), len(file_module_ec_mall_proto_product_proto_rawDesc)))
|
||||
})
|
||||
return file_product_proto_rawDescData
|
||||
return file_module_ec_mall_proto_product_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_product_proto_msgTypes = make([]protoimpl.MessageInfo, 21)
|
||||
var file_product_proto_goTypes = []any{
|
||||
(*AttrItem)(nil), // 0: mall.AttrItem
|
||||
(*CommentItem)(nil), // 1: mall.CommentItem
|
||||
(*CommentItemRep)(nil), // 2: mall.CommentItemRep
|
||||
(*DetailBySpecRequest)(nil), // 3: mall.DetailBySpecRequest
|
||||
(*OpRequest)(nil), // 4: mall.OpRequest
|
||||
(*ModifyRequest)(nil), // 5: mall.ModifyRequest
|
||||
(*ListItem)(nil), // 6: mall.ListItem
|
||||
(*ListWithIdRequest)(nil), // 7: mall.ListWithIdRequest
|
||||
(*ListWithIdReply)(nil), // 8: mall.ListWithIdReply
|
||||
(*PhotoReply)(nil), // 9: mall.PhotoReply
|
||||
(*SpecReply)(nil), // 10: mall.SpecReply
|
||||
(*CommentListReply)(nil), // 11: mall.CommentListReply
|
||||
(*StatisticReply)(nil), // 12: mall.StatisticReply
|
||||
(*OrgBySpecIdReply)(nil), // 13: mall.OrgBySpecIdReply
|
||||
(*Subjoin)(nil), // 14: mall.Subjoin
|
||||
(*ListReply)(nil), // 15: mall.ListReply
|
||||
(*ProductBase)(nil), // 16: mall.ProductBase
|
||||
(*SpecItem)(nil), // 17: mall.SpecItem
|
||||
(*PhotoItem)(nil), // 18: mall.PhotoItem
|
||||
(*CategoriesItem)(nil), // 19: mall.CategoriesItem
|
||||
(*ProductItem)(nil), // 20: mall.ProductItem
|
||||
(*FetchRequest)(nil), // 21: mall.FetchRequest
|
||||
(*IdentRequest)(nil), // 22: mall.IdentRequest
|
||||
(*StoreSerialRequest)(nil), // 23: mall.StoreSerialRequest
|
||||
(*StatusReply)(nil), // 24: mall.StatusReply
|
||||
var file_module_ec_mall_proto_product_proto_msgTypes = make([]protoimpl.MessageInfo, 21)
|
||||
var file_module_ec_mall_proto_product_proto_goTypes = []any{
|
||||
(*AttrItem)(nil), // 0: mall.AttrItem
|
||||
(*CommentItem)(nil), // 1: mall.CommentItem
|
||||
(*CommentItemRep)(nil), // 2: mall.CommentItemRep
|
||||
(*DetailBySpecRequest)(nil), // 3: mall.DetailBySpecRequest
|
||||
(*OpRequest)(nil), // 4: mall.OpRequest
|
||||
(*ModifyRequest)(nil), // 5: mall.ModifyRequest
|
||||
(*ListItem)(nil), // 6: mall.ListItem
|
||||
(*ListWithIdRequest)(nil), // 7: mall.ListWithIdRequest
|
||||
(*ListWithIdReply)(nil), // 8: mall.ListWithIdReply
|
||||
(*PhotoReply)(nil), // 9: mall.PhotoReply
|
||||
(*SpecReply)(nil), // 10: mall.SpecReply
|
||||
(*CommentListReply)(nil), // 11: mall.CommentListReply
|
||||
(*StatisticReply)(nil), // 12: mall.StatisticReply
|
||||
(*OrgBySpecIdReply)(nil), // 13: mall.OrgBySpecIdReply
|
||||
(*Subjoin)(nil), // 14: mall.Subjoin
|
||||
(*ListReply)(nil), // 15: mall.ListReply
|
||||
(*ProductBase)(nil), // 16: mall.ProductBase
|
||||
(*SpecItem)(nil), // 17: mall.SpecItem
|
||||
(*PhotoItem)(nil), // 18: mall.PhotoItem
|
||||
(*CategoriesItem)(nil), // 19: mall.CategoriesItem
|
||||
(*ProductItem)(nil), // 20: mall.ProductItem
|
||||
(*protobuf.MallFetchRequest)(nil), // 21: blocks.MallFetchRequest
|
||||
(*protobuf.IdentRequest)(nil), // 22: blocks.IdentRequest
|
||||
(*protobuf.StoreSerialRequest)(nil), // 23: blocks.StoreSerialRequest
|
||||
(*protobuf.IdentityStatusReply)(nil), // 24: blocks.IdentityStatusReply
|
||||
}
|
||||
var file_product_proto_depIdxs = []int32{
|
||||
var file_module_ec_mall_proto_product_proto_depIdxs = []int32{
|
||||
1, // 0: mall.CommentItemRep.list:type_name -> mall.CommentItem
|
||||
6, // 1: mall.ListWithIdReply.data:type_name -> mall.ListItem
|
||||
18, // 2: mall.PhotoReply.data:type_name -> mall.PhotoItem
|
||||
@@ -2441,48 +2443,48 @@ var file_product_proto_depIdxs = []int32{
|
||||
18, // 7: mall.ProductItem.images:type_name -> mall.PhotoItem
|
||||
17, // 8: mall.ProductItem.specification:type_name -> mall.SpecItem
|
||||
19, // 9: mall.ProductItem.categories:type_name -> mall.CategoriesItem
|
||||
21, // 10: mall.Product.ItemFetch:input_type -> mall.FetchRequest
|
||||
22, // 11: mall.Product.ItemDetail:input_type -> mall.IdentRequest
|
||||
23, // 12: mall.Product.ItemDetailBySerial:input_type -> mall.StoreSerialRequest
|
||||
21, // 10: mall.Product.ItemFetch:input_type -> blocks.MallFetchRequest
|
||||
22, // 11: mall.Product.ItemDetail:input_type -> blocks.IdentRequest
|
||||
23, // 12: mall.Product.ItemDetailBySerial:input_type -> blocks.StoreSerialRequest
|
||||
3, // 13: mall.Product.ItemDetailBySpec:input_type -> mall.DetailBySpecRequest
|
||||
20, // 14: mall.Product.ItemCreate:input_type -> mall.ProductItem
|
||||
22, // 15: mall.Product.ItemDelete:input_type -> mall.IdentRequest
|
||||
22, // 15: mall.Product.ItemDelete:input_type -> blocks.IdentRequest
|
||||
5, // 16: mall.Product.ItemModify:input_type -> mall.ModifyRequest
|
||||
4, // 17: mall.Product.ItemBatchOp:input_type -> mall.OpRequest
|
||||
21, // 18: mall.Product.SpecFetch:input_type -> mall.FetchRequest
|
||||
21, // 18: mall.Product.SpecFetch:input_type -> blocks.MallFetchRequest
|
||||
17, // 19: mall.Product.SpecCreate:input_type -> mall.SpecItem
|
||||
17, // 20: mall.Product.SpecModify:input_type -> mall.SpecItem
|
||||
22, // 21: mall.Product.SpecDelete:input_type -> mall.IdentRequest
|
||||
22, // 22: mall.Product.SpecDetail:input_type -> mall.IdentRequest
|
||||
22, // 21: mall.Product.SpecDelete:input_type -> blocks.IdentRequest
|
||||
22, // 22: mall.Product.SpecDetail:input_type -> blocks.IdentRequest
|
||||
18, // 23: mall.Product.PhotoCreate:input_type -> mall.PhotoItem
|
||||
22, // 24: mall.Product.PhotoDelete:input_type -> mall.IdentRequest
|
||||
22, // 24: mall.Product.PhotoDelete:input_type -> blocks.IdentRequest
|
||||
18, // 25: mall.Product.PhotoList:input_type -> mall.PhotoItem
|
||||
21, // 26: mall.Product.CommentFetch:input_type -> mall.FetchRequest
|
||||
21, // 26: mall.Product.CommentFetch:input_type -> blocks.MallFetchRequest
|
||||
1, // 27: mall.Product.CommentCreate:input_type -> mall.CommentItem
|
||||
1, // 28: mall.Product.CommentRe:input_type -> mall.CommentItem
|
||||
22, // 29: mall.Product.CommentDelete:input_type -> mall.IdentRequest
|
||||
22, // 29: mall.Product.CommentDelete:input_type -> blocks.IdentRequest
|
||||
1, // 30: mall.Product.CommentModify:input_type -> mall.CommentItem
|
||||
15, // 31: mall.Product.ItemFetch:output_type -> mall.ListReply
|
||||
20, // 32: mall.Product.ItemDetail:output_type -> mall.ProductItem
|
||||
15, // 33: mall.Product.ItemDetailBySerial:output_type -> mall.ListReply
|
||||
6, // 34: mall.Product.ItemDetailBySpec:output_type -> mall.ListItem
|
||||
24, // 35: mall.Product.ItemCreate:output_type -> mall.StatusReply
|
||||
24, // 36: mall.Product.ItemDelete:output_type -> mall.StatusReply
|
||||
24, // 37: mall.Product.ItemModify:output_type -> mall.StatusReply
|
||||
24, // 38: mall.Product.ItemBatchOp:output_type -> mall.StatusReply
|
||||
24, // 35: mall.Product.ItemCreate:output_type -> blocks.IdentityStatusReply
|
||||
24, // 36: mall.Product.ItemDelete:output_type -> blocks.IdentityStatusReply
|
||||
24, // 37: mall.Product.ItemModify:output_type -> blocks.IdentityStatusReply
|
||||
24, // 38: mall.Product.ItemBatchOp:output_type -> blocks.IdentityStatusReply
|
||||
10, // 39: mall.Product.SpecFetch:output_type -> mall.SpecReply
|
||||
24, // 40: mall.Product.SpecCreate:output_type -> mall.StatusReply
|
||||
24, // 41: mall.Product.SpecModify:output_type -> mall.StatusReply
|
||||
24, // 42: mall.Product.SpecDelete:output_type -> mall.StatusReply
|
||||
24, // 40: mall.Product.SpecCreate:output_type -> blocks.IdentityStatusReply
|
||||
24, // 41: mall.Product.SpecModify:output_type -> blocks.IdentityStatusReply
|
||||
24, // 42: mall.Product.SpecDelete:output_type -> blocks.IdentityStatusReply
|
||||
17, // 43: mall.Product.SpecDetail:output_type -> mall.SpecItem
|
||||
24, // 44: mall.Product.PhotoCreate:output_type -> mall.StatusReply
|
||||
24, // 45: mall.Product.PhotoDelete:output_type -> mall.StatusReply
|
||||
24, // 44: mall.Product.PhotoCreate:output_type -> blocks.IdentityStatusReply
|
||||
24, // 45: mall.Product.PhotoDelete:output_type -> blocks.IdentityStatusReply
|
||||
9, // 46: mall.Product.PhotoList:output_type -> mall.PhotoReply
|
||||
11, // 47: mall.Product.CommentFetch:output_type -> mall.CommentListReply
|
||||
24, // 48: mall.Product.CommentCreate:output_type -> mall.StatusReply
|
||||
24, // 49: mall.Product.CommentRe:output_type -> mall.StatusReply
|
||||
24, // 50: mall.Product.CommentDelete:output_type -> mall.StatusReply
|
||||
24, // 51: mall.Product.CommentModify:output_type -> mall.StatusReply
|
||||
24, // 48: mall.Product.CommentCreate:output_type -> blocks.IdentityStatusReply
|
||||
24, // 49: mall.Product.CommentRe:output_type -> blocks.IdentityStatusReply
|
||||
24, // 50: mall.Product.CommentDelete:output_type -> blocks.IdentityStatusReply
|
||||
24, // 51: mall.Product.CommentModify:output_type -> blocks.IdentityStatusReply
|
||||
31, // [31:52] is the sub-list for method output_type
|
||||
10, // [10:31] is the sub-list for method input_type
|
||||
10, // [10:10] is the sub-list for extension type_name
|
||||
@@ -2490,27 +2492,26 @@ var file_product_proto_depIdxs = []int32{
|
||||
0, // [0:10] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_product_proto_init() }
|
||||
func file_product_proto_init() {
|
||||
if File_product_proto != nil {
|
||||
func init() { file_module_ec_mall_proto_product_proto_init() }
|
||||
func file_module_ec_mall_proto_product_proto_init() {
|
||||
if File_module_ec_mall_proto_product_proto != nil {
|
||||
return
|
||||
}
|
||||
file_blocks_proto_init()
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_product_proto_rawDesc), len(file_product_proto_rawDesc)),
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_module_ec_mall_proto_product_proto_rawDesc), len(file_module_ec_mall_proto_product_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 21,
|
||||
NumExtensions: 0,
|
||||
NumServices: 1,
|
||||
},
|
||||
GoTypes: file_product_proto_goTypes,
|
||||
DependencyIndexes: file_product_proto_depIdxs,
|
||||
MessageInfos: file_product_proto_msgTypes,
|
||||
GoTypes: file_module_ec_mall_proto_product_proto_goTypes,
|
||||
DependencyIndexes: file_module_ec_mall_proto_product_proto_depIdxs,
|
||||
MessageInfos: file_module_ec_mall_proto_product_proto_msgTypes,
|
||||
}.Build()
|
||||
File_product_proto = out.File
|
||||
file_product_proto_goTypes = nil
|
||||
file_product_proto_depIdxs = nil
|
||||
File_module_ec_mall_proto_product_proto = out.File
|
||||
file_module_ec_mall_proto_product_proto_goTypes = nil
|
||||
file_module_ec_mall_proto_product_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user