|
@@ -488,6 +488,117 @@ func (x *IsShowModifyFeedFormula) GetEditType() int32 {
|
|
return 0
|
|
return 0
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+// 配方编码
|
|
|
|
+type UniqueID struct {
|
|
|
|
+ state protoimpl.MessageState
|
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
|
+
|
|
|
|
+ Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
|
|
|
|
+ Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
|
|
|
|
+ Data *UniqueID_UniqueData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+func (x *UniqueID) Reset() {
|
|
|
|
+ *x = UniqueID{}
|
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
|
+ mi := &file_backend_operation_feed_formula_proto_msgTypes[5]
|
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
|
+ }
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+func (x *UniqueID) String() string {
|
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+func (*UniqueID) ProtoMessage() {}
|
|
|
|
+
|
|
|
|
+func (x *UniqueID) ProtoReflect() protoreflect.Message {
|
|
|
|
+ mi := &file_backend_operation_feed_formula_proto_msgTypes[5]
|
|
|
|
+ if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
+ if ms.LoadMessageInfo() == nil {
|
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
|
+ }
|
|
|
|
+ return ms
|
|
|
|
+ }
|
|
|
|
+ return mi.MessageOf(x)
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+// Deprecated: Use UniqueID.ProtoReflect.Descriptor instead.
|
|
|
|
+func (*UniqueID) Descriptor() ([]byte, []int) {
|
|
|
|
+ return file_backend_operation_feed_formula_proto_rawDescGZIP(), []int{5}
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+func (x *UniqueID) GetCode() int32 {
|
|
|
|
+ if x != nil {
|
|
|
|
+ return x.Code
|
|
|
|
+ }
|
|
|
|
+ return 0
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+func (x *UniqueID) GetMsg() string {
|
|
|
|
+ if x != nil {
|
|
|
|
+ return x.Msg
|
|
|
|
+ }
|
|
|
|
+ return ""
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+func (x *UniqueID) GetData() *UniqueID_UniqueData {
|
|
|
|
+ if x != nil {
|
|
|
|
+ return x.Data
|
|
|
|
+ }
|
|
|
|
+ return nil
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+type UniqueID_UniqueData struct {
|
|
|
|
+ state protoimpl.MessageState
|
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
|
+
|
|
|
|
+ EncodeNumber string `protobuf:"bytes,1,opt,name=encode_number,json=encodeNumber,proto3" json:"encode_number,omitempty"`
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+func (x *UniqueID_UniqueData) Reset() {
|
|
|
|
+ *x = UniqueID_UniqueData{}
|
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
|
+ mi := &file_backend_operation_feed_formula_proto_msgTypes[6]
|
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
|
+ }
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+func (x *UniqueID_UniqueData) String() string {
|
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+func (*UniqueID_UniqueData) ProtoMessage() {}
|
|
|
|
+
|
|
|
|
+func (x *UniqueID_UniqueData) ProtoReflect() protoreflect.Message {
|
|
|
|
+ mi := &file_backend_operation_feed_formula_proto_msgTypes[6]
|
|
|
|
+ if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
+ if ms.LoadMessageInfo() == nil {
|
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
|
+ }
|
|
|
|
+ return ms
|
|
|
|
+ }
|
|
|
|
+ return mi.MessageOf(x)
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+// Deprecated: Use UniqueID_UniqueData.ProtoReflect.Descriptor instead.
|
|
|
|
+func (*UniqueID_UniqueData) Descriptor() ([]byte, []int) {
|
|
|
|
+ return file_backend_operation_feed_formula_proto_rawDescGZIP(), []int{5, 0}
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+func (x *UniqueID_UniqueData) GetEncodeNumber() string {
|
|
|
|
+ if x != nil {
|
|
|
|
+ return x.EncodeNumber
|
|
|
|
+ }
|
|
|
|
+ return ""
|
|
|
|
+}
|
|
|
|
+
|
|
var File_backend_operation_feed_formula_proto protoreflect.FileDescriptor
|
|
var File_backend_operation_feed_formula_proto protoreflect.FileDescriptor
|
|
|
|
|
|
var file_backend_operation_feed_formula_proto_rawDesc = []byte{
|
|
var file_backend_operation_feed_formula_proto_rawDesc = []byte{
|
|
@@ -593,9 +704,19 @@ var file_backend_operation_feed_formula_proto_rawDesc = []byte{
|
|
0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77,
|
|
0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x49, 0x73, 0x53, 0x68, 0x6f, 0x77,
|
|
0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x06, 0x69, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x12, 0x1b, 0x0a,
|
|
0x2e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x06, 0x69, 0x73, 0x53, 0x68, 0x6f, 0x77, 0x12, 0x1b, 0x0a,
|
|
0x09, 0x65, 0x64, 0x69, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05,
|
|
0x09, 0x65, 0x64, 0x69, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05,
|
|
- 0x52, 0x08, 0x65, 0x64, 0x69, 0x74, 0x54, 0x79, 0x70, 0x65, 0x42, 0x0f, 0x5a, 0x0d, 0x2e, 0x3b,
|
|
|
|
- 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f,
|
|
|
|
- 0x74, 0x6f, 0x33,
|
|
|
|
|
|
+ 0x52, 0x08, 0x65, 0x64, 0x69, 0x74, 0x54, 0x79, 0x70, 0x65, 0x22, 0x9f, 0x01, 0x0a, 0x08, 0x55,
|
|
|
|
+ 0x6e, 0x69, 0x71, 0x75, 0x65, 0x49, 0x44, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18,
|
|
|
|
+ 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6d,
|
|
|
|
+ 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12, 0x3a, 0x0a,
|
|
|
|
+ 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x62, 0x61,
|
|
|
|
+ 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e,
|
|
|
|
+ 0x55, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x49, 0x44, 0x2e, 0x55, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x44,
|
|
|
|
+ 0x61, 0x74, 0x61, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x1a, 0x31, 0x0a, 0x0a, 0x55, 0x6e, 0x69,
|
|
|
|
+ 0x71, 0x75, 0x65, 0x44, 0x61, 0x74, 0x61, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x6e, 0x63, 0x6f, 0x64,
|
|
|
|
+ 0x65, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c,
|
|
|
|
+ 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x42, 0x0f, 0x5a, 0x0d,
|
|
|
|
+ 0x2e, 0x3b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x62, 0x62, 0x06, 0x70,
|
|
|
|
+ 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
}
|
|
}
|
|
|
|
|
|
var (
|
|
var (
|
|
@@ -610,33 +731,36 @@ func file_backend_operation_feed_formula_proto_rawDescGZIP() []byte {
|
|
return file_backend_operation_feed_formula_proto_rawDescData
|
|
return file_backend_operation_feed_formula_proto_rawDescData
|
|
}
|
|
}
|
|
|
|
|
|
-var file_backend_operation_feed_formula_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
|
|
|
|
|
|
+var file_backend_operation_feed_formula_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
|
|
var file_backend_operation_feed_formula_proto_goTypes = []interface{}{
|
|
var file_backend_operation_feed_formula_proto_goTypes = []interface{}{
|
|
(*AddFeedFormulaRequest)(nil), // 0: backend.operation.AddFeedFormulaRequest
|
|
(*AddFeedFormulaRequest)(nil), // 0: backend.operation.AddFeedFormulaRequest
|
|
(*SearchFeedFormulaRequest)(nil), // 1: backend.operation.SearchFeedFormulaRequest
|
|
(*SearchFeedFormulaRequest)(nil), // 1: backend.operation.SearchFeedFormulaRequest
|
|
(*SearchFeedFormulaListResponse)(nil), // 2: backend.operation.SearchFeedFormulaListResponse
|
|
(*SearchFeedFormulaListResponse)(nil), // 2: backend.operation.SearchFeedFormulaListResponse
|
|
(*SearchFeedFormulaListData)(nil), // 3: backend.operation.SearchFeedFormulaListData
|
|
(*SearchFeedFormulaListData)(nil), // 3: backend.operation.SearchFeedFormulaListData
|
|
(*IsShowModifyFeedFormula)(nil), // 4: backend.operation.IsShowModifyFeedFormula
|
|
(*IsShowModifyFeedFormula)(nil), // 4: backend.operation.IsShowModifyFeedFormula
|
|
- (CattleCategoryParent_Kind)(0), // 5: backend.operation.CattleCategoryParent.Kind
|
|
|
|
- (DataSource_Kind)(0), // 6: backend.operation.DataSource.Kind
|
|
|
|
- (IsShow_Kind)(0), // 7: backend.operation.IsShow.Kind
|
|
|
|
- (*PaginationModel)(nil), // 8: backend.operation.PaginationModel
|
|
|
|
|
|
+ (*UniqueID)(nil), // 5: backend.operation.UniqueID
|
|
|
|
+ (*UniqueID_UniqueData)(nil), // 6: backend.operation.UniqueID.UniqueData
|
|
|
|
+ (CattleCategoryParent_Kind)(0), // 7: backend.operation.CattleCategoryParent.Kind
|
|
|
|
+ (DataSource_Kind)(0), // 8: backend.operation.DataSource.Kind
|
|
|
|
+ (IsShow_Kind)(0), // 9: backend.operation.IsShow.Kind
|
|
|
|
+ (*PaginationModel)(nil), // 10: backend.operation.PaginationModel
|
|
}
|
|
}
|
|
var file_backend_operation_feed_formula_proto_depIdxs = []int32{
|
|
var file_backend_operation_feed_formula_proto_depIdxs = []int32{
|
|
- 5, // 0: backend.operation.AddFeedFormulaRequest.cattle_category_id:type_name -> backend.operation.CattleCategoryParent.Kind
|
|
|
|
- 6, // 1: backend.operation.AddFeedFormulaRequest.data_source_id:type_name -> backend.operation.DataSource.Kind
|
|
|
|
- 7, // 2: backend.operation.AddFeedFormulaRequest.is_show:type_name -> backend.operation.IsShow.Kind
|
|
|
|
- 7, // 3: backend.operation.AddFeedFormulaRequest.is_modify:type_name -> backend.operation.IsShow.Kind
|
|
|
|
- 7, // 4: backend.operation.SearchFeedFormulaRequest.is_show:type_name -> backend.operation.IsShow.Kind
|
|
|
|
- 8, // 5: backend.operation.SearchFeedFormulaRequest.pagination:type_name -> backend.operation.PaginationModel
|
|
|
|
- 3, // 6: backend.operation.SearchFeedFormulaListResponse.data:type_name -> backend.operation.SearchFeedFormulaListData
|
|
|
|
- 0, // 7: backend.operation.SearchFeedFormulaListData.list:type_name -> backend.operation.AddFeedFormulaRequest
|
|
|
|
- 7, // 8: backend.operation.IsShowModifyFeedFormula.is_show:type_name -> backend.operation.IsShow.Kind
|
|
|
|
- 9, // [9:9] is the sub-list for method output_type
|
|
|
|
- 9, // [9:9] is the sub-list for method input_type
|
|
|
|
- 9, // [9:9] is the sub-list for extension type_name
|
|
|
|
- 9, // [9:9] is the sub-list for extension extendee
|
|
|
|
- 0, // [0:9] is the sub-list for field type_name
|
|
|
|
|
|
+ 7, // 0: backend.operation.AddFeedFormulaRequest.cattle_category_id:type_name -> backend.operation.CattleCategoryParent.Kind
|
|
|
|
+ 8, // 1: backend.operation.AddFeedFormulaRequest.data_source_id:type_name -> backend.operation.DataSource.Kind
|
|
|
|
+ 9, // 2: backend.operation.AddFeedFormulaRequest.is_show:type_name -> backend.operation.IsShow.Kind
|
|
|
|
+ 9, // 3: backend.operation.AddFeedFormulaRequest.is_modify:type_name -> backend.operation.IsShow.Kind
|
|
|
|
+ 9, // 4: backend.operation.SearchFeedFormulaRequest.is_show:type_name -> backend.operation.IsShow.Kind
|
|
|
|
+ 10, // 5: backend.operation.SearchFeedFormulaRequest.pagination:type_name -> backend.operation.PaginationModel
|
|
|
|
+ 3, // 6: backend.operation.SearchFeedFormulaListResponse.data:type_name -> backend.operation.SearchFeedFormulaListData
|
|
|
|
+ 0, // 7: backend.operation.SearchFeedFormulaListData.list:type_name -> backend.operation.AddFeedFormulaRequest
|
|
|
|
+ 9, // 8: backend.operation.IsShowModifyFeedFormula.is_show:type_name -> backend.operation.IsShow.Kind
|
|
|
|
+ 6, // 9: backend.operation.UniqueID.data:type_name -> backend.operation.UniqueID.UniqueData
|
|
|
|
+ 10, // [10:10] is the sub-list for method output_type
|
|
|
|
+ 10, // [10:10] is the sub-list for method input_type
|
|
|
|
+ 10, // [10:10] is the sub-list for extension type_name
|
|
|
|
+ 10, // [10:10] is the sub-list for extension extendee
|
|
|
|
+ 0, // [0:10] is the sub-list for field type_name
|
|
}
|
|
}
|
|
|
|
|
|
func init() { file_backend_operation_feed_formula_proto_init() }
|
|
func init() { file_backend_operation_feed_formula_proto_init() }
|
|
@@ -707,6 +831,30 @@ func file_backend_operation_feed_formula_proto_init() {
|
|
return nil
|
|
return nil
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+ file_backend_operation_feed_formula_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
+ switch v := v.(*UniqueID); i {
|
|
|
|
+ case 0:
|
|
|
|
+ return &v.state
|
|
|
|
+ case 1:
|
|
|
|
+ return &v.sizeCache
|
|
|
|
+ case 2:
|
|
|
|
+ return &v.unknownFields
|
|
|
|
+ default:
|
|
|
|
+ return nil
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ file_backend_operation_feed_formula_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
+ switch v := v.(*UniqueID_UniqueData); 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{
|
|
@@ -714,7 +862,7 @@ func file_backend_operation_feed_formula_proto_init() {
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: file_backend_operation_feed_formula_proto_rawDesc,
|
|
RawDescriptor: file_backend_operation_feed_formula_proto_rawDesc,
|
|
NumEnums: 0,
|
|
NumEnums: 0,
|
|
- NumMessages: 5,
|
|
|
|
|
|
+ NumMessages: 7,
|
|
NumExtensions: 0,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
NumServices: 0,
|
|
},
|
|
},
|