Преглед на файлове

add startTime for UserService

Jay преди 2 месеца
родител
ревизия
a67a909e92
променени са 3 файла, в които са добавени 13 реда и са изтрити 2 реда
  1. 1 0
      pb/gorpc.proto
  2. 11 2
      pb/pb/gorpc.pb.go
  3. 1 0
      pb/user.proto

+ 1 - 0
pb/gorpc.proto

@@ -2131,6 +2131,7 @@ message  UserServiceVo {
   Status status = 14;           // 状态
   int64 createTime = 15;        // 创建时间
   int64 updateTime = 16;        // 更新时间
+  int64 startTime = 17;         // 套餐开始时间
 }
 
 message UserServiceAddReq { UserServiceVo vo = 1; }

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

@@ -16002,6 +16002,7 @@ type UserServiceVo struct {
 	Status         Status                 `protobuf:"varint,14,opt,name=status,proto3,enum=gorpc.Status" json:"status,omitempty"` // 状态
 	CreateTime     int64                  `protobuf:"varint,15,opt,name=createTime,proto3" json:"createTime,omitempty"`           // 创建时间
 	UpdateTime     int64                  `protobuf:"varint,16,opt,name=updateTime,proto3" json:"updateTime,omitempty"`           // 更新时间
+	StartTime      int64                  `protobuf:"varint,17,opt,name=startTime,proto3" json:"startTime,omitempty"`             // 套餐开始时间
 	unknownFields  protoimpl.UnknownFields
 	sizeCache      protoimpl.SizeCache
 }
@@ -16148,6 +16149,13 @@ func (x *UserServiceVo) GetUpdateTime() int64 {
 	return 0
 }
 
+func (x *UserServiceVo) GetStartTime() int64 {
+	if x != nil {
+		return x.StartTime
+	}
+	return 0
+}
+
 type UserServiceAddReq struct {
 	state         protoimpl.MessageState `protogen:"open.v1"`
 	Vo            *UserServiceVo         `protobuf:"bytes,1,opt,name=vo,proto3" json:"vo,omitempty"`
@@ -28869,7 +28877,7 @@ const file_gorpc_proto_rawDesc = "" +
 	"\x12UserTestUpdateResp\x12!\n" +
 	"\x02vo\x18\x01 \x01(\v2\x11.gorpc.UserTestVoR\x02vo\"\"\n" +
 	"\x0eUserTestDelReq\x12\x10\n" +
-	"\x03ids\x18\x01 \x03(\x03R\x03ids\"\x8e\x04\n" +
+	"\x03ids\x18\x01 \x03(\x03R\x03ids\"\xac\x04\n" +
 	"\rUserServiceVo\x12\x0e\n" +
 	"\x02id\x18\x01 \x01(\x03R\x02id\x12\x1a\n" +
 	"\buserUuid\x18\x02 \x01(\tR\buserUuid\x12 \n" +
@@ -28893,7 +28901,8 @@ const file_gorpc_proto_rawDesc = "" +
 	"createTime\x12\x1e\n" +
 	"\n" +
 	"updateTime\x18\x10 \x01(\x03R\n" +
-	"updateTime\"9\n" +
+	"updateTime\x12\x1c\n" +
+	"\tstartTime\x18\x11 \x01(\x03R\tstartTime\"9\n" +
 	"\x11UserServiceAddReq\x12$\n" +
 	"\x02vo\x18\x01 \x01(\v2\x14.gorpc.UserServiceVoR\x02vo\":\n" +
 	"\x12UserServiceAddResp\x12$\n" +

+ 1 - 0
pb/user.proto

@@ -161,6 +161,7 @@ message  UserServiceVo {
   Status status = 14;           // 状态
   int64 createTime = 15;        // 创建时间
   int64 updateTime = 16;        // 更新时间
+  int64 startTime = 17;         // 套餐开始时间
 }
 
 message UserServiceAddReq { UserServiceVo vo = 1; }