Просмотр исходного кода

feat: 套餐表和渠道套餐表新增字段[标签类型]

BaiLuoYan 1 месяц назад
Родитель
Сommit
46b4165cad
3 измененных файлов с 13 добавлено и 2 удалено
  1. 1 0
      pb/gorpc.proto
  2. 11 2
      pb/pb/gorpc.pb.go
  3. 1 0
      pb/plan.proto

+ 1 - 0
pb/gorpc.proto

@@ -472,6 +472,7 @@ message ServicePlanVo {
   int64 createAt = 23;                          // 创建者ID
   int64 updateTime = 24;                        // 更新时间
   int64 updateAt = 25;                          // 更新者ID
+  int64 tagType = 26;                           // 标签类型(与客户端约定)
 }
 
 message ServicePlanWithBoxesVo {

+ 11 - 2
pb/pb/gorpc.pb.go

@@ -4597,6 +4597,7 @@ type ServicePlanVo struct {
 	CreateAt             int64                  `protobuf:"varint,23,opt,name=createAt,proto3" json:"createAt,omitempty"`                                                      // 创建者ID
 	UpdateTime           int64                  `protobuf:"varint,24,opt,name=updateTime,proto3" json:"updateTime,omitempty"`                                                  // 更新时间
 	UpdateAt             int64                  `protobuf:"varint,25,opt,name=updateAt,proto3" json:"updateAt,omitempty"`                                                      // 更新者ID
+	TagType              int64                  `protobuf:"varint,26,opt,name=tagType,proto3" json:"tagType,omitempty"`                                                        // 标签类型(与客户端约定)
 	unknownFields        protoimpl.UnknownFields
 	sizeCache            protoimpl.SizeCache
 }
@@ -4806,6 +4807,13 @@ func (x *ServicePlanVo) GetUpdateAt() int64 {
 	return 0
 }
 
+func (x *ServicePlanVo) GetTagType() int64 {
+	if x != nil {
+		return x.TagType
+	}
+	return 0
+}
+
 type ServicePlanWithBoxesVo struct {
 	state         protoimpl.MessageState      `protogen:"open.v1"`
 	ServicePlan   *ServicePlanVo              `protobuf:"bytes,1,opt,name=servicePlan,proto3" json:"servicePlan,omitempty"`
@@ -31303,7 +31311,7 @@ const file_gorpc_proto_rawDesc = "" +
 	"\tboxStatus\x18\x06 \x01(\x03R\tboxStatus\"]\n" +
 	"\x17ServiceBoxTypesListResp\x12\x14\n" +
 	"\x05total\x18\x01 \x01(\x03R\x05total\x12,\n" +
-	"\x04list\x18\x02 \x03(\v2\x18.gorpc.ServiceBoxTypesVoR\x04list\"\xb2\x06\n" +
+	"\x04list\x18\x02 \x03(\v2\x18.gorpc.ServiceBoxTypesVoR\x04list\"\xcc\x06\n" +
 	"\rServicePlanVo\x12\x0e\n" +
 	"\x02id\x18\x01 \x01(\x03R\x02id\x12 \n" +
 	"\vproductCode\x18\x02 \x01(\tR\vproductCode\x12\x12\n" +
@@ -31334,7 +31342,8 @@ const file_gorpc_proto_rawDesc = "" +
 	"\n" +
 	"updateTime\x18\x18 \x01(\x03R\n" +
 	"updateTime\x12\x1a\n" +
-	"\bupdateAt\x18\x19 \x01(\x03R\bupdateAt\"\x95\x01\n" +
+	"\bupdateAt\x18\x19 \x01(\x03R\bupdateAt\x12\x18\n" +
+	"\atagType\x18\x1a \x01(\x03R\atagType\"\x95\x01\n" +
 	"\x16ServicePlanWithBoxesVo\x126\n" +
 	"\vservicePlan\x18\x01 \x01(\v2\x14.gorpc.ServicePlanVoR\vservicePlan\x12C\n" +
 	"\fserviceBoxes\x18\x02 \x03(\v2\x1f.gorpc.ServiceBoxWithDurationVoR\fserviceBoxes\"9\n" +

+ 1 - 0
pb/plan.proto

@@ -198,6 +198,7 @@ message ServicePlanVo {
   int64 createAt = 23;                          // 创建者ID
   int64 updateTime = 24;                        // 更新时间
   int64 updateAt = 25;                          // 更新者ID
+  int64 tagType = 26;                           // 标签类型(与客户端约定)
 }
 
 message ServicePlanWithBoxesVo {