代码上传

This commit is contained in:
songchuang 2025-03-29 07:15:02 +08:00
parent 794efe4c07
commit 151fd5efbd
2 changed files with 353 additions and 85 deletions

View File

@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.35.2 // protoc-gen-go v1.26.0
// protoc v3.21.8 // protoc v3.10.1
// source: pb/bundle.proto // source: pb/bundle.proto
package bundle package bundle
@ -34,9 +34,11 @@ type CommonResponse struct {
func (x *CommonResponse) Reset() { func (x *CommonResponse) Reset() {
*x = CommonResponse{} *x = CommonResponse{}
mi := &file_pb_bundle_proto_msgTypes[0] if protoimpl.UnsafeEnabled {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) mi := &file_pb_bundle_proto_msgTypes[0]
ms.StoreMessageInfo(mi) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
} }
func (x *CommonResponse) String() string { func (x *CommonResponse) String() string {
@ -47,7 +49,7 @@ func (*CommonResponse) ProtoMessage() {}
func (x *CommonResponse) ProtoReflect() protoreflect.Message { func (x *CommonResponse) ProtoReflect() protoreflect.Message {
mi := &file_pb_bundle_proto_msgTypes[0] mi := &file_pb_bundle_proto_msgTypes[0]
if x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -91,7 +93,7 @@ type BundleProfile struct {
Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid"` Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"`
Price float32 `protobuf:"fixed32,3,opt,name=price,proto3" json:"price"` Price float32 `protobuf:"fixed32,3,opt,name=price,proto3" json:"price"`
PriceType int64 `protobuf:"varint,4,opt,name=PriceType,json=priceType,proto3" json:"PriceType"` PriceType int64 `protobuf:"varint,4,opt,name=priceType,proto3" json:"priceType"`
Content string `protobuf:"bytes,5,opt,name=content,proto3" json:"content"` Content string `protobuf:"bytes,5,opt,name=content,proto3" json:"content"`
Contract string `protobuf:"bytes,6,opt,name=contract,proto3" json:"contract"` Contract string `protobuf:"bytes,6,opt,name=contract,proto3" json:"contract"`
Language string `protobuf:"bytes,7,opt,name=language,proto3" json:"language"` Language string `protobuf:"bytes,7,opt,name=language,proto3" json:"language"`
@ -104,9 +106,11 @@ type BundleProfile struct {
func (x *BundleProfile) Reset() { func (x *BundleProfile) Reset() {
*x = BundleProfile{} *x = BundleProfile{}
mi := &file_pb_bundle_proto_msgTypes[1] if protoimpl.UnsafeEnabled {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) mi := &file_pb_bundle_proto_msgTypes[1]
ms.StoreMessageInfo(mi) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
} }
func (x *BundleProfile) String() string { func (x *BundleProfile) String() string {
@ -117,7 +121,7 @@ func (*BundleProfile) ProtoMessage() {}
func (x *BundleProfile) ProtoReflect() protoreflect.Message { func (x *BundleProfile) ProtoReflect() protoreflect.Message {
mi := &file_pb_bundle_proto_msgTypes[1] mi := &file_pb_bundle_proto_msgTypes[1]
if x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -226,9 +230,11 @@ type DelBundleRequest struct {
func (x *DelBundleRequest) Reset() { func (x *DelBundleRequest) Reset() {
*x = DelBundleRequest{} *x = DelBundleRequest{}
mi := &file_pb_bundle_proto_msgTypes[2] if protoimpl.UnsafeEnabled {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) mi := &file_pb_bundle_proto_msgTypes[2]
ms.StoreMessageInfo(mi) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
} }
func (x *DelBundleRequest) String() string { func (x *DelBundleRequest) String() string {
@ -239,7 +245,7 @@ func (*DelBundleRequest) ProtoMessage() {}
func (x *DelBundleRequest) ProtoReflect() protoreflect.Message { func (x *DelBundleRequest) ProtoReflect() protoreflect.Message {
mi := &file_pb_bundle_proto_msgTypes[2] mi := &file_pb_bundle_proto_msgTypes[2]
if x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -275,9 +281,11 @@ type BundleListRequest struct {
func (x *BundleListRequest) Reset() { func (x *BundleListRequest) Reset() {
*x = BundleListRequest{} *x = BundleListRequest{}
mi := &file_pb_bundle_proto_msgTypes[3] if protoimpl.UnsafeEnabled {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) mi := &file_pb_bundle_proto_msgTypes[3]
ms.StoreMessageInfo(mi) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
} }
func (x *BundleListRequest) String() string { func (x *BundleListRequest) String() string {
@ -288,7 +296,7 @@ func (*BundleListRequest) ProtoMessage() {}
func (x *BundleListRequest) ProtoReflect() protoreflect.Message { func (x *BundleListRequest) ProtoReflect() protoreflect.Message {
mi := &file_pb_bundle_proto_msgTypes[3] mi := &file_pb_bundle_proto_msgTypes[3]
if x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -349,9 +357,11 @@ type BundleListResponse struct {
func (x *BundleListResponse) Reset() { func (x *BundleListResponse) Reset() {
*x = BundleListResponse{} *x = BundleListResponse{}
mi := &file_pb_bundle_proto_msgTypes[4] if protoimpl.UnsafeEnabled {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) mi := &file_pb_bundle_proto_msgTypes[4]
ms.StoreMessageInfo(mi) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
} }
func (x *BundleListResponse) String() string { func (x *BundleListResponse) String() string {
@ -362,7 +372,7 @@ func (*BundleListResponse) ProtoMessage() {}
func (x *BundleListResponse) ProtoReflect() protoreflect.Message { func (x *BundleListResponse) ProtoReflect() protoreflect.Message {
mi := &file_pb_bundle_proto_msgTypes[4] mi := &file_pb_bundle_proto_msgTypes[4]
if x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -401,9 +411,11 @@ type BundleDetailRequest struct {
func (x *BundleDetailRequest) Reset() { func (x *BundleDetailRequest) Reset() {
*x = BundleDetailRequest{} *x = BundleDetailRequest{}
mi := &file_pb_bundle_proto_msgTypes[5] if protoimpl.UnsafeEnabled {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) mi := &file_pb_bundle_proto_msgTypes[5]
ms.StoreMessageInfo(mi) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
} }
func (x *BundleDetailRequest) String() string { func (x *BundleDetailRequest) String() string {
@ -414,7 +426,7 @@ func (*BundleDetailRequest) ProtoMessage() {}
func (x *BundleDetailRequest) ProtoReflect() protoreflect.Message { func (x *BundleDetailRequest) ProtoReflect() protoreflect.Message {
mi := &file_pb_bundle_proto_msgTypes[5] mi := &file_pb_bundle_proto_msgTypes[5]
if x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -447,9 +459,11 @@ type BundleDetailResponse struct {
func (x *BundleDetailResponse) Reset() { func (x *BundleDetailResponse) Reset() {
*x = BundleDetailResponse{} *x = BundleDetailResponse{}
mi := &file_pb_bundle_proto_msgTypes[6] if protoimpl.UnsafeEnabled {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) mi := &file_pb_bundle_proto_msgTypes[6]
ms.StoreMessageInfo(mi) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
} }
func (x *BundleDetailResponse) String() string { func (x *BundleDetailResponse) String() string {
@ -460,7 +474,7 @@ func (*BundleDetailResponse) ProtoMessage() {}
func (x *BundleDetailResponse) ProtoReflect() protoreflect.Message { func (x *BundleDetailResponse) ProtoReflect() protoreflect.Message {
mi := &file_pb_bundle_proto_msgTypes[6] mi := &file_pb_bundle_proto_msgTypes[6]
if x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -530,9 +544,11 @@ type OrderRecord struct {
func (x *OrderRecord) Reset() { func (x *OrderRecord) Reset() {
*x = OrderRecord{} *x = OrderRecord{}
mi := &file_pb_bundle_proto_msgTypes[7] if protoimpl.UnsafeEnabled {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) mi := &file_pb_bundle_proto_msgTypes[7]
ms.StoreMessageInfo(mi) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
} }
func (x *OrderRecord) String() string { func (x *OrderRecord) String() string {
@ -543,7 +559,7 @@ func (*OrderRecord) ProtoMessage() {}
func (x *OrderRecord) ProtoReflect() protoreflect.Message { func (x *OrderRecord) ProtoReflect() protoreflect.Message {
mi := &file_pb_bundle_proto_msgTypes[7] mi := &file_pb_bundle_proto_msgTypes[7]
if x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -805,9 +821,11 @@ type OrderRecordsRequest struct {
func (x *OrderRecordsRequest) Reset() { func (x *OrderRecordsRequest) Reset() {
*x = OrderRecordsRequest{} *x = OrderRecordsRequest{}
mi := &file_pb_bundle_proto_msgTypes[8] if protoimpl.UnsafeEnabled {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) mi := &file_pb_bundle_proto_msgTypes[8]
ms.StoreMessageInfo(mi) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
} }
func (x *OrderRecordsRequest) String() string { func (x *OrderRecordsRequest) String() string {
@ -818,7 +836,7 @@ func (*OrderRecordsRequest) ProtoMessage() {}
func (x *OrderRecordsRequest) ProtoReflect() protoreflect.Message { func (x *OrderRecordsRequest) ProtoReflect() protoreflect.Message {
mi := &file_pb_bundle_proto_msgTypes[8] mi := &file_pb_bundle_proto_msgTypes[8]
if x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -942,9 +960,11 @@ type OrderRecordsResponse struct {
func (x *OrderRecordsResponse) Reset() { func (x *OrderRecordsResponse) Reset() {
*x = OrderRecordsResponse{} *x = OrderRecordsResponse{}
mi := &file_pb_bundle_proto_msgTypes[9] if protoimpl.UnsafeEnabled {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) mi := &file_pb_bundle_proto_msgTypes[9]
ms.StoreMessageInfo(mi) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
} }
func (x *OrderRecordsResponse) String() string { func (x *OrderRecordsResponse) String() string {
@ -955,7 +975,7 @@ func (*OrderRecordsResponse) ProtoMessage() {}
func (x *OrderRecordsResponse) ProtoReflect() protoreflect.Message { func (x *OrderRecordsResponse) ProtoReflect() protoreflect.Message {
mi := &file_pb_bundle_proto_msgTypes[9] mi := &file_pb_bundle_proto_msgTypes[9]
if x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -996,9 +1016,11 @@ type OrderRecordsDetailRequest struct {
func (x *OrderRecordsDetailRequest) Reset() { func (x *OrderRecordsDetailRequest) Reset() {
*x = OrderRecordsDetailRequest{} *x = OrderRecordsDetailRequest{}
mi := &file_pb_bundle_proto_msgTypes[10] if protoimpl.UnsafeEnabled {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) mi := &file_pb_bundle_proto_msgTypes[10]
ms.StoreMessageInfo(mi) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
} }
func (x *OrderRecordsDetailRequest) String() string { func (x *OrderRecordsDetailRequest) String() string {
@ -1009,7 +1031,7 @@ func (*OrderRecordsDetailRequest) ProtoMessage() {}
func (x *OrderRecordsDetailRequest) ProtoReflect() protoreflect.Message { func (x *OrderRecordsDetailRequest) ProtoReflect() protoreflect.Message {
mi := &file_pb_bundle_proto_msgTypes[10] mi := &file_pb_bundle_proto_msgTypes[10]
if x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -1056,9 +1078,11 @@ type OrderRecordsDetailResponse struct {
func (x *OrderRecordsDetailResponse) Reset() { func (x *OrderRecordsDetailResponse) Reset() {
*x = OrderRecordsDetailResponse{} *x = OrderRecordsDetailResponse{}
mi := &file_pb_bundle_proto_msgTypes[11] if protoimpl.UnsafeEnabled {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) mi := &file_pb_bundle_proto_msgTypes[11]
ms.StoreMessageInfo(mi) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
} }
func (x *OrderRecordsDetailResponse) String() string { func (x *OrderRecordsDetailResponse) String() string {
@ -1069,7 +1093,7 @@ func (*OrderRecordsDetailResponse) ProtoMessage() {}
func (x *OrderRecordsDetailResponse) ProtoReflect() protoreflect.Message { func (x *OrderRecordsDetailResponse) ProtoReflect() protoreflect.Message {
mi := &file_pb_bundle_proto_msgTypes[11] mi := &file_pb_bundle_proto_msgTypes[11]
if x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -1118,9 +1142,11 @@ type ValueAddBundleProfile struct {
func (x *ValueAddBundleProfile) Reset() { func (x *ValueAddBundleProfile) Reset() {
*x = ValueAddBundleProfile{} *x = ValueAddBundleProfile{}
mi := &file_pb_bundle_proto_msgTypes[12] if protoimpl.UnsafeEnabled {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) mi := &file_pb_bundle_proto_msgTypes[12]
ms.StoreMessageInfo(mi) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
} }
func (x *ValueAddBundleProfile) String() string { func (x *ValueAddBundleProfile) String() string {
@ -1131,7 +1157,7 @@ func (*ValueAddBundleProfile) ProtoMessage() {}
func (x *ValueAddBundleProfile) ProtoReflect() protoreflect.Message { func (x *ValueAddBundleProfile) ProtoReflect() protoreflect.Message {
mi := &file_pb_bundle_proto_msgTypes[12] mi := &file_pb_bundle_proto_msgTypes[12]
if x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -1226,9 +1252,11 @@ type CreateValueAddBundleRequest struct {
func (x *CreateValueAddBundleRequest) Reset() { func (x *CreateValueAddBundleRequest) Reset() {
*x = CreateValueAddBundleRequest{} *x = CreateValueAddBundleRequest{}
mi := &file_pb_bundle_proto_msgTypes[13] if protoimpl.UnsafeEnabled {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) mi := &file_pb_bundle_proto_msgTypes[13]
ms.StoreMessageInfo(mi) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
} }
func (x *CreateValueAddBundleRequest) String() string { func (x *CreateValueAddBundleRequest) String() string {
@ -1239,7 +1267,7 @@ func (*CreateValueAddBundleRequest) ProtoMessage() {}
func (x *CreateValueAddBundleRequest) ProtoReflect() protoreflect.Message { func (x *CreateValueAddBundleRequest) ProtoReflect() protoreflect.Message {
mi := &file_pb_bundle_proto_msgTypes[13] mi := &file_pb_bundle_proto_msgTypes[13]
if x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -1274,9 +1302,11 @@ type CreateValueAddBundleResponse struct {
func (x *CreateValueAddBundleResponse) Reset() { func (x *CreateValueAddBundleResponse) Reset() {
*x = CreateValueAddBundleResponse{} *x = CreateValueAddBundleResponse{}
mi := &file_pb_bundle_proto_msgTypes[14] if protoimpl.UnsafeEnabled {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) mi := &file_pb_bundle_proto_msgTypes[14]
ms.StoreMessageInfo(mi) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
} }
func (x *CreateValueAddBundleResponse) String() string { func (x *CreateValueAddBundleResponse) String() string {
@ -1287,7 +1317,7 @@ func (*CreateValueAddBundleResponse) ProtoMessage() {}
func (x *CreateValueAddBundleResponse) ProtoReflect() protoreflect.Message { func (x *CreateValueAddBundleResponse) ProtoReflect() protoreflect.Message {
mi := &file_pb_bundle_proto_msgTypes[14] mi := &file_pb_bundle_proto_msgTypes[14]
if x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -1343,9 +1373,11 @@ type ValueAddBundleListRequest struct {
func (x *ValueAddBundleListRequest) Reset() { func (x *ValueAddBundleListRequest) Reset() {
*x = ValueAddBundleListRequest{} *x = ValueAddBundleListRequest{}
mi := &file_pb_bundle_proto_msgTypes[15] if protoimpl.UnsafeEnabled {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) mi := &file_pb_bundle_proto_msgTypes[15]
ms.StoreMessageInfo(mi) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
} }
func (x *ValueAddBundleListRequest) String() string { func (x *ValueAddBundleListRequest) String() string {
@ -1356,7 +1388,7 @@ func (*ValueAddBundleListRequest) ProtoMessage() {}
func (x *ValueAddBundleListRequest) ProtoReflect() protoreflect.Message { func (x *ValueAddBundleListRequest) ProtoReflect() protoreflect.Message {
mi := &file_pb_bundle_proto_msgTypes[15] mi := &file_pb_bundle_proto_msgTypes[15]
if x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -1409,9 +1441,11 @@ type ValueAddBundleListResponse struct {
func (x *ValueAddBundleListResponse) Reset() { func (x *ValueAddBundleListResponse) Reset() {
*x = ValueAddBundleListResponse{} *x = ValueAddBundleListResponse{}
mi := &file_pb_bundle_proto_msgTypes[16] if protoimpl.UnsafeEnabled {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) mi := &file_pb_bundle_proto_msgTypes[16]
ms.StoreMessageInfo(mi) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
} }
func (x *ValueAddBundleListResponse) String() string { func (x *ValueAddBundleListResponse) String() string {
@ -1422,7 +1456,7 @@ func (*ValueAddBundleListResponse) ProtoMessage() {}
func (x *ValueAddBundleListResponse) ProtoReflect() protoreflect.Message { func (x *ValueAddBundleListResponse) ProtoReflect() protoreflect.Message {
mi := &file_pb_bundle_proto_msgTypes[16] mi := &file_pb_bundle_proto_msgTypes[16]
if x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -1503,9 +1537,11 @@ type ValueAddBundleDetailRequest struct {
func (x *ValueAddBundleDetailRequest) Reset() { func (x *ValueAddBundleDetailRequest) Reset() {
*x = ValueAddBundleDetailRequest{} *x = ValueAddBundleDetailRequest{}
mi := &file_pb_bundle_proto_msgTypes[17] if protoimpl.UnsafeEnabled {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) mi := &file_pb_bundle_proto_msgTypes[17]
ms.StoreMessageInfo(mi) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
} }
func (x *ValueAddBundleDetailRequest) String() string { func (x *ValueAddBundleDetailRequest) String() string {
@ -1516,7 +1552,7 @@ func (*ValueAddBundleDetailRequest) ProtoMessage() {}
func (x *ValueAddBundleDetailRequest) ProtoReflect() protoreflect.Message { func (x *ValueAddBundleDetailRequest) ProtoReflect() protoreflect.Message {
mi := &file_pb_bundle_proto_msgTypes[17] mi := &file_pb_bundle_proto_msgTypes[17]
if x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -1550,9 +1586,11 @@ type ValueAddBundleDetailResponse struct {
func (x *ValueAddBundleDetailResponse) Reset() { func (x *ValueAddBundleDetailResponse) Reset() {
*x = ValueAddBundleDetailResponse{} *x = ValueAddBundleDetailResponse{}
mi := &file_pb_bundle_proto_msgTypes[18] if protoimpl.UnsafeEnabled {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) mi := &file_pb_bundle_proto_msgTypes[18]
ms.StoreMessageInfo(mi) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
} }
func (x *ValueAddBundleDetailResponse) String() string { func (x *ValueAddBundleDetailResponse) String() string {
@ -1563,7 +1601,7 @@ func (*ValueAddBundleDetailResponse) ProtoMessage() {}
func (x *ValueAddBundleDetailResponse) ProtoReflect() protoreflect.Message { func (x *ValueAddBundleDetailResponse) ProtoReflect() protoreflect.Message {
mi := &file_pb_bundle_proto_msgTypes[18] mi := &file_pb_bundle_proto_msgTypes[18]
if x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
@ -1616,7 +1654,7 @@ var file_pb_bundle_proto_rawDesc = []byte{
0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x75, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x75, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,
0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14,
0x0a, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x02, 0x52, 0x05, 0x70, 0x0a, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x02, 0x52, 0x05, 0x70,
0x72, 0x69, 0x63, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x50, 0x72, 0x69, 0x63, 0x65, 0x54, 0x79, 0x70, 0x72, 0x69, 0x63, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x72, 0x69, 0x63, 0x65, 0x54, 0x79, 0x70,
0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x70, 0x72, 0x69, 0x63, 0x65, 0x54, 0x79, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x70, 0x72, 0x69, 0x63, 0x65, 0x54, 0x79,
0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x05, 0x20,
0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x1a, 0x0a, 0x08,
@ -1934,7 +1972,7 @@ func file_pb_bundle_proto_rawDescGZIP() []byte {
} }
var file_pb_bundle_proto_msgTypes = make([]protoimpl.MessageInfo, 19) var file_pb_bundle_proto_msgTypes = make([]protoimpl.MessageInfo, 19)
var file_pb_bundle_proto_goTypes = []any{ var file_pb_bundle_proto_goTypes = []interface{}{
(*CommonResponse)(nil), // 0: bundle.CommonResponse (*CommonResponse)(nil), // 0: bundle.CommonResponse
(*BundleProfile)(nil), // 1: bundle.BundleProfile (*BundleProfile)(nil), // 1: bundle.BundleProfile
(*DelBundleRequest)(nil), // 2: bundle.DelBundleRequest (*DelBundleRequest)(nil), // 2: bundle.DelBundleRequest
@ -2000,6 +2038,236 @@ func file_pb_bundle_proto_init() {
if File_pb_bundle_proto != nil { if File_pb_bundle_proto != nil {
return return
} }
if !protoimpl.UnsafeEnabled {
file_pb_bundle_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CommonResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_pb_bundle_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*BundleProfile); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_pb_bundle_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DelBundleRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_pb_bundle_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*BundleListRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_pb_bundle_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*BundleListResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_pb_bundle_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*BundleDetailRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_pb_bundle_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*BundleDetailResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_pb_bundle_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*OrderRecord); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_pb_bundle_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*OrderRecordsRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_pb_bundle_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*OrderRecordsResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_pb_bundle_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*OrderRecordsDetailRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_pb_bundle_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*OrderRecordsDetailResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_pb_bundle_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ValueAddBundleProfile); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_pb_bundle_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CreateValueAddBundleRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_pb_bundle_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CreateValueAddBundleResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_pb_bundle_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ValueAddBundleListRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_pb_bundle_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ValueAddBundleListResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_pb_bundle_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ValueAddBundleDetailRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_pb_bundle_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ValueAddBundleDetailResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{} type x struct{}
out := protoimpl.TypeBuilder{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{

View File

@ -1,7 +1,7 @@
// Code generated by protoc-gen-go-triple. DO NOT EDIT. // Code generated by protoc-gen-go-triple. DO NOT EDIT.
// versions: // versions:
// - protoc-gen-go-triple v1.0.5 // - protoc-gen-go-triple v1.0.8
// - protoc v3.21.8 // - protoc v3.10.1
// source: pb/bundle.proto // source: pb/bundle.proto
package bundle package bundle
@ -38,7 +38,7 @@ type BundleClient interface {
UpdateOrderRecordByOrderNo(ctx context.Context, in *OrderRecord, opts ...grpc_go.CallOption) (*CommonResponse, common.ErrorWithAttachment) UpdateOrderRecordByOrderNo(ctx context.Context, in *OrderRecord, opts ...grpc_go.CallOption) (*CommonResponse, common.ErrorWithAttachment)
OrderRecordsList(ctx context.Context, in *OrderRecordsRequest, opts ...grpc_go.CallOption) (*OrderRecordsResponse, common.ErrorWithAttachment) OrderRecordsList(ctx context.Context, in *OrderRecordsRequest, opts ...grpc_go.CallOption) (*OrderRecordsResponse, common.ErrorWithAttachment)
OrderRecordsDetail(ctx context.Context, in *OrderRecordsDetailRequest, opts ...grpc_go.CallOption) (*OrderRecordsDetailResponse, common.ErrorWithAttachment) OrderRecordsDetail(ctx context.Context, in *OrderRecordsDetailRequest, opts ...grpc_go.CallOption) (*OrderRecordsDetailResponse, common.ErrorWithAttachment)
// 增值套餐 //增值套餐
CreateValueAddBundle(ctx context.Context, in *CreateValueAddBundleRequest, opts ...grpc_go.CallOption) (*CreateValueAddBundleResponse, common.ErrorWithAttachment) CreateValueAddBundle(ctx context.Context, in *CreateValueAddBundleRequest, opts ...grpc_go.CallOption) (*CreateValueAddBundleResponse, common.ErrorWithAttachment)
ValueAddBundleList(ctx context.Context, in *ValueAddBundleListRequest, opts ...grpc_go.CallOption) (*ValueAddBundleListResponse, common.ErrorWithAttachment) ValueAddBundleList(ctx context.Context, in *ValueAddBundleListRequest, opts ...grpc_go.CallOption) (*ValueAddBundleListResponse, common.ErrorWithAttachment)
ValueAddBundleDetail(ctx context.Context, in *ValueAddBundleDetailRequest, opts ...grpc_go.CallOption) (*ValueAddBundleDetailResponse, common.ErrorWithAttachment) ValueAddBundleDetail(ctx context.Context, in *ValueAddBundleDetailRequest, opts ...grpc_go.CallOption) (*ValueAddBundleDetailResponse, common.ErrorWithAttachment)
@ -168,7 +168,7 @@ type BundleServer interface {
UpdateOrderRecordByOrderNo(context.Context, *OrderRecord) (*CommonResponse, error) UpdateOrderRecordByOrderNo(context.Context, *OrderRecord) (*CommonResponse, error)
OrderRecordsList(context.Context, *OrderRecordsRequest) (*OrderRecordsResponse, error) OrderRecordsList(context.Context, *OrderRecordsRequest) (*OrderRecordsResponse, error)
OrderRecordsDetail(context.Context, *OrderRecordsDetailRequest) (*OrderRecordsDetailResponse, error) OrderRecordsDetail(context.Context, *OrderRecordsDetailRequest) (*OrderRecordsDetailResponse, error)
// 增值套餐 //增值套餐
CreateValueAddBundle(context.Context, *CreateValueAddBundleRequest) (*CreateValueAddBundleResponse, error) CreateValueAddBundle(context.Context, *CreateValueAddBundleRequest) (*CreateValueAddBundleResponse, error)
ValueAddBundleList(context.Context, *ValueAddBundleListRequest) (*ValueAddBundleListResponse, error) ValueAddBundleList(context.Context, *ValueAddBundleListRequest) (*ValueAddBundleListResponse, error)
ValueAddBundleDetail(context.Context, *ValueAddBundleDetailRequest) (*ValueAddBundleDetailResponse, error) ValueAddBundleDetail(context.Context, *ValueAddBundleDetailRequest) (*ValueAddBundleDetailResponse, error)