Kaynağa Gözat

feat: 礼包改名为权益包

BaiLuoYan 1 ay önce
ebeveyn
işleme
3aa06b687b
3 değiştirilmiş dosya ile 30 ekleme ve 30 silme
  1. 10 10
      pb/gorpc.proto
  2. 10 10
      pb/pb/gorpc.pb.go
  3. 10 10
      pb/plan.proto

+ 10 - 10
pb/gorpc.proto

@@ -283,8 +283,8 @@ service GoGameClient {
 message ServiceTypesVo {
   int64 id = 1;           // ID
   string productCode = 2; // 产品标识
-  string code = 3;        // 权益标识
-  string name = 4;        // 权益名称
+  string code = 3;        // 权益类型标识
+  string name = 4;        // 权益类型名称
   int64 sort = 5;         // 排序
   Status status = 6;      // 状态 1启用 2禁用
   string remark = 7;      // 备注
@@ -326,8 +326,8 @@ message ServiceTypesListResp {
 message ServiceBoxVo {
   int64 id = 1;           // ID
   string productCode = 2; // 产品标识
-  string code = 3;        // 包标识
-  string name = 4;        // 包名称
+  string code = 3;        // 权益包标识
+  string name = 4;        // 权益包名称
   int64 sort = 5;         // 排序
   Status status = 6;      // 状态 1启用 2禁用
   string remark = 7;      // 备注
@@ -402,8 +402,8 @@ message ServiceBoxListResp {
 // ServiceBoxTypes
 message ServiceBoxTypesVo {
   int64 id = 1;            // ID
-  int64 serviceBoxId = 2;  // 包ID
-  int64 serviceTypeId = 3; // 权益ID
+  int64 serviceBoxId = 2;  // 权益包ID
+  int64 serviceTypeId = 3; // 权益类型ID
   int64 serviceValue = 4;  // 权益值 根据不同的 serviceTypeId,这里的值的含义不同
   int64 createTime = 5;    // 创建时间
   int64 createAt = 6;      // 创建者ID
@@ -541,10 +541,10 @@ message ServicePlanListWithBoxesResp {
 message ServicePlanBoxesVo {
   int64 id = 1;                     // ID
   int64 servicePlanId = 2;          // 套餐ID
-  int64 serviceBoxId = 3;           // 包ID
-  int64 licenseDurationDay = 4;     // 包持续天数
-  int64 licenseDurationMinutes = 5; // 包额外持续分钟数
-  BoolInt isMaster = 6;             // 是否主包 1是 2否
+  int64 serviceBoxId = 3;           // 权益包ID
+  int64 licenseDurationDay = 4;     // 权益包持续天数
+  int64 licenseDurationMinutes = 5; // 权益包额外持续分钟数
+  BoolInt isMaster = 6;             // 是否主权益包 1是 2否
   int64 createTime = 7;             // 创建时间
   int64 createAt = 8;               // 创建者ID
   int64 updateTime = 9;             // 更新时间

+ 10 - 10
pb/pb/gorpc.pb.go

@@ -2439,8 +2439,8 @@ type ServiceTypesVo struct {
 	state         protoimpl.MessageState `protogen:"open.v1"`
 	Id            int64                  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`                           // ID
 	ProductCode   string                 `protobuf:"bytes,2,opt,name=productCode,proto3" json:"productCode,omitempty"`          // 产品标识
-	Code          string                 `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"`                        // 权益标识
-	Name          string                 `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`                        // 权益名称
+	Code          string                 `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"`                        // 权益类型标识
+	Name          string                 `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`                        // 权益类型名称
 	Sort          int64                  `protobuf:"varint,5,opt,name=sort,proto3" json:"sort,omitempty"`                       // 排序
 	Status        Status                 `protobuf:"varint,6,opt,name=status,proto3,enum=gorpc.Status" json:"status,omitempty"` // 状态 1启用 2禁用
 	Remark        string                 `protobuf:"bytes,7,opt,name=remark,proto3" json:"remark,omitempty"`                    // 备注
@@ -3044,8 +3044,8 @@ type ServiceBoxVo struct {
 	state         protoimpl.MessageState `protogen:"open.v1"`
 	Id            int64                  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`                           // ID
 	ProductCode   string                 `protobuf:"bytes,2,opt,name=productCode,proto3" json:"productCode,omitempty"`          // 产品标识
-	Code          string                 `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"`                        // 包标识
-	Name          string                 `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`                        // 包名称
+	Code          string                 `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"`                        // 权益包标识
+	Name          string                 `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`                        // 权益包名称
 	Sort          int64                  `protobuf:"varint,5,opt,name=sort,proto3" json:"sort,omitempty"`                       // 排序
 	Status        Status                 `protobuf:"varint,6,opt,name=status,proto3,enum=gorpc.Status" json:"status,omitempty"` // 状态 1启用 2禁用
 	Remark        string                 `protobuf:"bytes,7,opt,name=remark,proto3" json:"remark,omitempty"`                    // 备注
@@ -4028,8 +4028,8 @@ func (x *ServiceBoxListResp) GetList() []*ServiceBoxVo {
 type ServiceBoxTypesVo struct {
 	state         protoimpl.MessageState `protogen:"open.v1"`
 	Id            int64                  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`                       // ID
-	ServiceBoxId  int64                  `protobuf:"varint,2,opt,name=serviceBoxId,proto3" json:"serviceBoxId,omitempty"`   // 包ID
-	ServiceTypeId int64                  `protobuf:"varint,3,opt,name=serviceTypeId,proto3" json:"serviceTypeId,omitempty"` // 权益ID
+	ServiceBoxId  int64                  `protobuf:"varint,2,opt,name=serviceBoxId,proto3" json:"serviceBoxId,omitempty"`   // 权益包ID
+	ServiceTypeId int64                  `protobuf:"varint,3,opt,name=serviceTypeId,proto3" json:"serviceTypeId,omitempty"` // 权益类型ID
 	ServiceValue  int64                  `protobuf:"varint,4,opt,name=serviceValue,proto3" json:"serviceValue,omitempty"`   // 权益值 根据不同的 serviceTypeId,这里的值的含义不同
 	CreateTime    int64                  `protobuf:"varint,5,opt,name=createTime,proto3" json:"createTime,omitempty"`       // 创建时间
 	CreateAt      int64                  `protobuf:"varint,6,opt,name=createAt,proto3" json:"createAt,omitempty"`           // 创建者ID
@@ -5715,10 +5715,10 @@ type ServicePlanBoxesVo struct {
 	state                  protoimpl.MessageState `protogen:"open.v1"`
 	Id                     int64                  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`                                         // ID
 	ServicePlanId          int64                  `protobuf:"varint,2,opt,name=servicePlanId,proto3" json:"servicePlanId,omitempty"`                   // 套餐ID
-	ServiceBoxId           int64                  `protobuf:"varint,3,opt,name=serviceBoxId,proto3" json:"serviceBoxId,omitempty"`                     // 包ID
-	LicenseDurationDay     int64                  `protobuf:"varint,4,opt,name=licenseDurationDay,proto3" json:"licenseDurationDay,omitempty"`         // 包持续天数
-	LicenseDurationMinutes int64                  `protobuf:"varint,5,opt,name=licenseDurationMinutes,proto3" json:"licenseDurationMinutes,omitempty"` // 包额外持续分钟数
-	IsMaster               BoolInt                `protobuf:"varint,6,opt,name=isMaster,proto3,enum=gorpc.BoolInt" json:"isMaster,omitempty"`          // 是否主包 1是 2否
+	ServiceBoxId           int64                  `protobuf:"varint,3,opt,name=serviceBoxId,proto3" json:"serviceBoxId,omitempty"`                     // 权益包ID
+	LicenseDurationDay     int64                  `protobuf:"varint,4,opt,name=licenseDurationDay,proto3" json:"licenseDurationDay,omitempty"`         // 权益包持续天数
+	LicenseDurationMinutes int64                  `protobuf:"varint,5,opt,name=licenseDurationMinutes,proto3" json:"licenseDurationMinutes,omitempty"` // 权益包额外持续分钟数
+	IsMaster               BoolInt                `protobuf:"varint,6,opt,name=isMaster,proto3,enum=gorpc.BoolInt" json:"isMaster,omitempty"`          // 是否主权益包 1是 2否
 	CreateTime             int64                  `protobuf:"varint,7,opt,name=createTime,proto3" json:"createTime,omitempty"`                         // 创建时间
 	CreateAt               int64                  `protobuf:"varint,8,opt,name=createAt,proto3" json:"createAt,omitempty"`                             // 创建者ID
 	UpdateTime             int64                  `protobuf:"varint,9,opt,name=updateTime,proto3" json:"updateTime,omitempty"`                         // 更新时间

+ 10 - 10
pb/plan.proto

@@ -9,8 +9,8 @@ import "pb/common.proto";
 message ServiceTypesVo {
   int64 id = 1;           // ID
   string productCode = 2; // 产品标识
-  string code = 3;        // 权益标识
-  string name = 4;        // 权益名称
+  string code = 3;        // 权益类型标识
+  string name = 4;        // 权益类型名称
   int64 sort = 5;         // 排序
   Status status = 6;      // 状态 1启用 2禁用
   string remark = 7;      // 备注
@@ -52,8 +52,8 @@ message ServiceTypesListResp {
 message ServiceBoxVo {
   int64 id = 1;           // ID
   string productCode = 2; // 产品标识
-  string code = 3;        // 包标识
-  string name = 4;        // 包名称
+  string code = 3;        // 权益包标识
+  string name = 4;        // 权益包名称
   int64 sort = 5;         // 排序
   Status status = 6;      // 状态 1启用 2禁用
   string remark = 7;      // 备注
@@ -128,8 +128,8 @@ message ServiceBoxListResp {
 // ServiceBoxTypes
 message ServiceBoxTypesVo {
   int64 id = 1;            // ID
-  int64 serviceBoxId = 2;  // 包ID
-  int64 serviceTypeId = 3; // 权益ID
+  int64 serviceBoxId = 2;  // 权益包ID
+  int64 serviceTypeId = 3; // 权益类型ID
   int64 serviceValue = 4;  // 权益值 根据不同的 serviceTypeId,这里的值的含义不同
   int64 createTime = 5;    // 创建时间
   int64 createAt = 6;      // 创建者ID
@@ -267,10 +267,10 @@ message ServicePlanListWithBoxesResp {
 message ServicePlanBoxesVo {
   int64 id = 1;                     // ID
   int64 servicePlanId = 2;          // 套餐ID
-  int64 serviceBoxId = 3;           // 包ID
-  int64 licenseDurationDay = 4;     // 包持续天数
-  int64 licenseDurationMinutes = 5; // 包额外持续分钟数
-  BoolInt isMaster = 6;             // 是否主包 1是 2否
+  int64 serviceBoxId = 3;           // 权益包ID
+  int64 licenseDurationDay = 4;     // 权益包持续天数
+  int64 licenseDurationMinutes = 5; // 权益包额外持续分钟数
+  BoolInt isMaster = 6;             // 是否主权益包 1是 2否
   int64 createTime = 7;             // 创建时间
   int64 createAt = 8;               // 创建者ID
   int64 updateTime = 9;             // 更新时间