瀏覽代碼

feat: 套餐管理相关接口参数调整

BaiLuoYan 1 月之前
父節點
當前提交
f4786aed68
共有 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

@@ -372,6 +372,7 @@ message ServiceBoxWithDurationVo {
   int64 licenseDurationDay = 2;
   int64 licenseDurationMinutes = 3;
   BoolInt isMaster = 4;
+  int64 bindId = 5;
 }
 
 message ServiceBoxWithDurationAndDetailsVo {

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

@@ -3486,6 +3486,7 @@ type ServiceBoxWithDurationVo struct {
 	LicenseDurationDay     int64                  `protobuf:"varint,2,opt,name=licenseDurationDay,proto3" json:"licenseDurationDay,omitempty"`
 	LicenseDurationMinutes int64                  `protobuf:"varint,3,opt,name=licenseDurationMinutes,proto3" json:"licenseDurationMinutes,omitempty"`
 	IsMaster               BoolInt                `protobuf:"varint,4,opt,name=isMaster,proto3,enum=gorpc.BoolInt" json:"isMaster,omitempty"`
+	BindId                 int64                  `protobuf:"varint,5,opt,name=bindId,proto3" json:"bindId,omitempty"`
 	unknownFields          protoimpl.UnknownFields
 	sizeCache              protoimpl.SizeCache
 }
@@ -3548,6 +3549,13 @@ func (x *ServiceBoxWithDurationVo) GetIsMaster() BoolInt {
 	return BoolInt_BoolIntUnknown
 }
 
+func (x *ServiceBoxWithDurationVo) GetBindId() int64 {
+	if x != nil {
+		return x.BindId
+	}
+	return 0
+}
+
 type ServiceBoxWithDurationAndDetailsVo struct {
 	state         protoimpl.MessageState     `protogen:"open.v1"`
 	ServiceBox    *ServiceBoxWithDurationVo  `protobuf:"bytes,1,opt,name=serviceBox,proto3" json:"serviceBox,omitempty"`
@@ -33038,14 +33046,15 @@ const file_gorpc_proto_rawDesc = "" +
 	"\n" +
 	"serviceBox\x18\x01 \x01(\v2\x13.gorpc.ServiceBoxVoR\n" +
 	"serviceBox\x12B\n" +
-	"\fserviceTypes\x18\x02 \x03(\v2\x1e.gorpc.ServiceTypesWithValueVoR\fserviceTypes\"\xe3\x01\n" +
+	"\fserviceTypes\x18\x02 \x03(\v2\x1e.gorpc.ServiceTypesWithValueVoR\fserviceTypes\"\xfb\x01\n" +
 	"\x18ServiceBoxWithDurationVo\x123\n" +
 	"\n" +
 	"serviceBox\x18\x01 \x01(\v2\x13.gorpc.ServiceBoxVoR\n" +
 	"serviceBox\x12.\n" +
 	"\x12licenseDurationDay\x18\x02 \x01(\x03R\x12licenseDurationDay\x126\n" +
 	"\x16licenseDurationMinutes\x18\x03 \x01(\x03R\x16licenseDurationMinutes\x12*\n" +
-	"\bisMaster\x18\x04 \x01(\x0e2\x0e.gorpc.BoolIntR\bisMaster\"\xa9\x01\n" +
+	"\bisMaster\x18\x04 \x01(\x0e2\x0e.gorpc.BoolIntR\bisMaster\x12\x16\n" +
+	"\x06bindId\x18\x05 \x01(\x03R\x06bindId\"\xa9\x01\n" +
 	"\"ServiceBoxWithDurationAndDetailsVo\x12?\n" +
 	"\n" +
 	"serviceBox\x18\x01 \x01(\v2\x1f.gorpc.ServiceBoxWithDurationVoR\n" +

+ 1 - 0
pb/plan.proto

@@ -98,6 +98,7 @@ message ServiceBoxWithDurationVo {
   int64 licenseDurationDay = 2;
   int64 licenseDurationMinutes = 3;
   BoolInt isMaster = 4;
+  int64 bindId = 5;
 }
 
 message ServiceBoxWithDurationAndDetailsVo {