From 16082072812ad7215ace5eb5c0ab4bd8f86acc94 Mon Sep 17 00:00:00 2001 From: daiyb <570056418@qq.com> Date: Thu, 26 Feb 2026 14:04:49 +0800 Subject: [PATCH 1/2] 1 --- api/cast/cast.pb.go | 824 +++++++++++++++++++++++--------- api/cast/cast.pb.validate.go | 386 +++++++++++++++ api/cast/cast_triple.pb.go | 47 ++ pkg/router/media.go | 5 + pkg/service/cast/publish_log.go | 25 + 5 files changed, 1053 insertions(+), 234 deletions(-) create mode 100644 pkg/service/cast/publish_log.go diff --git a/api/cast/cast.pb.go b/api/cast/cast.pb.go index acfec70e..6c399c00 100644 --- a/api/cast/cast.pb.go +++ b/api/cast/cast.pb.go @@ -16912,6 +16912,317 @@ func (x *UpdateMediaAccInfoReq) GetAuthStatus() AuthStatusENUM { return AuthStatusENUM_UNKNOWNAuth } +// 发布记录信息 +type PublishLogInfo struct { + state protoimpl.MessageState `protogen:"open.v1"` + Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid"` // 记录UUID + WorkUuid string `protobuf:"bytes,2,opt,name=workUuid,proto3" json:"workUuid"` // 作品UUID + Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title"` // 作品标题 + PlatformID uint32 `protobuf:"varint,4,opt,name=platformID,proto3" json:"platformID"` // 平台ID + PublishMediaID string `protobuf:"bytes,5,opt,name=publishMediaID,proto3" json:"publishMediaID"` // 发布平台返回的作品ID + PublishMediaStatus uint32 `protobuf:"varint,6,opt,name=publishMediaStatus,proto3" json:"publishMediaStatus"` // 发布状态 0未发布 1发布中 2发布完成 3发布失败 4异常 + PublishSource uint32 `protobuf:"varint,7,opt,name=publishSource,proto3" json:"publishSource"` // 发布来源 1PC后台 2定时 3定时补发 + Action string `protobuf:"bytes,8,opt,name=action,proto3" json:"action"` // 操作类型 + Detail string `protobuf:"bytes,9,opt,name=detail,proto3" json:"detail"` // 详情 + ArtistUuid string `protobuf:"bytes,10,opt,name=artistUuid,proto3" json:"artistUuid"` // 艺人UUID + ArtistSubNum string `protobuf:"bytes,11,opt,name=artistSubNum,proto3" json:"artistSubNum"` // 艺人订阅号 + CreatedAt string `protobuf:"bytes,12,opt,name=createdAt,proto3" json:"createdAt"` // 创建时间 + UpdatedAt string `protobuf:"bytes,13,opt,name=updatedAt,proto3" json:"updatedAt"` // 更新时间 + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PublishLogInfo) Reset() { + *x = PublishLogInfo{} + mi := &file_pb_fiee_cast_proto_msgTypes[200] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PublishLogInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PublishLogInfo) ProtoMessage() {} + +func (x *PublishLogInfo) ProtoReflect() protoreflect.Message { + mi := &file_pb_fiee_cast_proto_msgTypes[200] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PublishLogInfo.ProtoReflect.Descriptor instead. +func (*PublishLogInfo) Descriptor() ([]byte, []int) { + return file_pb_fiee_cast_proto_rawDescGZIP(), []int{200} +} + +func (x *PublishLogInfo) GetUuid() string { + if x != nil { + return x.Uuid + } + return "" +} + +func (x *PublishLogInfo) GetWorkUuid() string { + if x != nil { + return x.WorkUuid + } + return "" +} + +func (x *PublishLogInfo) GetTitle() string { + if x != nil { + return x.Title + } + return "" +} + +func (x *PublishLogInfo) GetPlatformID() uint32 { + if x != nil { + return x.PlatformID + } + return 0 +} + +func (x *PublishLogInfo) GetPublishMediaID() string { + if x != nil { + return x.PublishMediaID + } + return "" +} + +func (x *PublishLogInfo) GetPublishMediaStatus() uint32 { + if x != nil { + return x.PublishMediaStatus + } + return 0 +} + +func (x *PublishLogInfo) GetPublishSource() uint32 { + if x != nil { + return x.PublishSource + } + return 0 +} + +func (x *PublishLogInfo) GetAction() string { + if x != nil { + return x.Action + } + return "" +} + +func (x *PublishLogInfo) GetDetail() string { + if x != nil { + return x.Detail + } + return "" +} + +func (x *PublishLogInfo) GetArtistUuid() string { + if x != nil { + return x.ArtistUuid + } + return "" +} + +func (x *PublishLogInfo) GetArtistSubNum() string { + if x != nil { + return x.ArtistSubNum + } + return "" +} + +func (x *PublishLogInfo) GetCreatedAt() string { + if x != nil { + return x.CreatedAt + } + return "" +} + +func (x *PublishLogInfo) GetUpdatedAt() string { + if x != nil { + return x.UpdatedAt + } + return "" +} + +// 查询发布记录列表请求 +type ListPublishLogReq struct { + state protoimpl.MessageState `protogen:"open.v1"` + WorkUuid string `protobuf:"bytes,1,opt,name=workUuid,proto3" json:"workUuid"` // 作品UUID(可选) + ArtistUuid string `protobuf:"bytes,2,opt,name=artistUuid,proto3" json:"artistUuid"` // 艺人UUID(可选) + PlatformID uint32 `protobuf:"varint,3,opt,name=platformID,proto3" json:"platformID"` // 平台ID(可选,0表示不过滤) + PublishMediaStatus int32 `protobuf:"varint,4,opt,name=publishMediaStatus,proto3" json:"publishMediaStatus"` // 发布状态(可选,-1表示不过滤) + PublishSource uint32 `protobuf:"varint,5,opt,name=publishSource,proto3" json:"publishSource"` // 发布来源(可选,0表示不过滤) + StartTime string `protobuf:"bytes,6,opt,name=startTime,proto3" json:"startTime"` // 开始时间(可选) + EndTime string `protobuf:"bytes,7,opt,name=endTime,proto3" json:"endTime"` // 结束时间(可选) + Page int32 `protobuf:"varint,8,opt,name=page,proto3" json:"page"` // 页码 + PageSize int32 `protobuf:"varint,9,opt,name=pageSize,proto3" json:"pageSize"` // 每页数量 + ArtistSubNum string `protobuf:"bytes,10,opt,name=artistSubNum,proto3" json:"artistSubNum"` // 艺人订阅号(可选) + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *ListPublishLogReq) Reset() { + *x = ListPublishLogReq{} + mi := &file_pb_fiee_cast_proto_msgTypes[201] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *ListPublishLogReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListPublishLogReq) ProtoMessage() {} + +func (x *ListPublishLogReq) ProtoReflect() protoreflect.Message { + mi := &file_pb_fiee_cast_proto_msgTypes[201] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListPublishLogReq.ProtoReflect.Descriptor instead. +func (*ListPublishLogReq) Descriptor() ([]byte, []int) { + return file_pb_fiee_cast_proto_rawDescGZIP(), []int{201} +} + +func (x *ListPublishLogReq) GetWorkUuid() string { + if x != nil { + return x.WorkUuid + } + return "" +} + +func (x *ListPublishLogReq) GetArtistUuid() string { + if x != nil { + return x.ArtistUuid + } + return "" +} + +func (x *ListPublishLogReq) GetPlatformID() uint32 { + if x != nil { + return x.PlatformID + } + return 0 +} + +func (x *ListPublishLogReq) GetPublishMediaStatus() int32 { + if x != nil { + return x.PublishMediaStatus + } + return 0 +} + +func (x *ListPublishLogReq) GetPublishSource() uint32 { + if x != nil { + return x.PublishSource + } + return 0 +} + +func (x *ListPublishLogReq) GetStartTime() string { + if x != nil { + return x.StartTime + } + return "" +} + +func (x *ListPublishLogReq) GetEndTime() string { + if x != nil { + return x.EndTime + } + return "" +} + +func (x *ListPublishLogReq) GetPage() int32 { + if x != nil { + return x.Page + } + return 0 +} + +func (x *ListPublishLogReq) GetPageSize() int32 { + if x != nil { + return x.PageSize + } + return 0 +} + +func (x *ListPublishLogReq) GetArtistSubNum() string { + if x != nil { + return x.ArtistSubNum + } + return "" +} + +// 查询发布记录列表响应 +type ListPublishLogResp struct { + state protoimpl.MessageState `protogen:"open.v1"` + Data []*PublishLogInfo `protobuf:"bytes,1,rep,name=data,proto3" json:"data"` // 发布记录列表 + Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count"` // 总数 + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *ListPublishLogResp) Reset() { + *x = ListPublishLogResp{} + mi := &file_pb_fiee_cast_proto_msgTypes[202] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *ListPublishLogResp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListPublishLogResp) ProtoMessage() {} + +func (x *ListPublishLogResp) ProtoReflect() protoreflect.Message { + mi := &file_pb_fiee_cast_proto_msgTypes[202] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListPublishLogResp.ProtoReflect.Descriptor instead. +func (*ListPublishLogResp) Descriptor() ([]byte, []int) { + return file_pb_fiee_cast_proto_rawDescGZIP(), []int{202} +} + +func (x *ListPublishLogResp) GetData() []*PublishLogInfo { + if x != nil { + return x.Data + } + return nil +} + +func (x *ListPublishLogResp) GetCount() int64 { + if x != nil { + return x.Count + } + return 0 +} + type WorkListResp_Info struct { state protoimpl.MessageState `protogen:"open.v1"` WorkUuid string `protobuf:"bytes,1,opt,name=workUuid,proto3" json:"workUuid"` @@ -16950,7 +17261,7 @@ type WorkListResp_Info struct { func (x *WorkListResp_Info) Reset() { *x = WorkListResp_Info{} - mi := &file_pb_fiee_cast_proto_msgTypes[200] + mi := &file_pb_fiee_cast_proto_msgTypes[203] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -16962,7 +17273,7 @@ func (x *WorkListResp_Info) String() string { func (*WorkListResp_Info) ProtoMessage() {} func (x *WorkListResp_Info) ProtoReflect() protoreflect.Message { - mi := &file_pb_fiee_cast_proto_msgTypes[200] + mi := &file_pb_fiee_cast_proto_msgTypes[203] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -17204,7 +17515,7 @@ type MediaAccountsResp_Info struct { func (x *MediaAccountsResp_Info) Reset() { *x = MediaAccountsResp_Info{} - mi := &file_pb_fiee_cast_proto_msgTypes[203] + mi := &file_pb_fiee_cast_proto_msgTypes[206] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -17216,7 +17527,7 @@ func (x *MediaAccountsResp_Info) String() string { func (*MediaAccountsResp_Info) ProtoMessage() {} func (x *MediaAccountsResp_Info) ProtoReflect() protoreflect.Message { - mi := &file_pb_fiee_cast_proto_msgTypes[203] + mi := &file_pb_fiee_cast_proto_msgTypes[206] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -17306,7 +17617,7 @@ type MediaWorksResp_Info struct { func (x *MediaWorksResp_Info) Reset() { *x = MediaWorksResp_Info{} - mi := &file_pb_fiee_cast_proto_msgTypes[204] + mi := &file_pb_fiee_cast_proto_msgTypes[207] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -17318,7 +17629,7 @@ func (x *MediaWorksResp_Info) String() string { func (*MediaWorksResp_Info) ProtoMessage() {} func (x *MediaWorksResp_Info) ProtoReflect() protoreflect.Message { - mi := &file_pb_fiee_cast_proto_msgTypes[204] + mi := &file_pb_fiee_cast_proto_msgTypes[207] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -17414,7 +17725,7 @@ type PublishResp_Info struct { func (x *PublishResp_Info) Reset() { *x = PublishResp_Info{} - mi := &file_pb_fiee_cast_proto_msgTypes[205] + mi := &file_pb_fiee_cast_proto_msgTypes[208] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -17426,7 +17737,7 @@ func (x *PublishResp_Info) String() string { func (*PublishResp_Info) ProtoMessage() {} func (x *PublishResp_Info) ProtoReflect() protoreflect.Message { - mi := &file_pb_fiee_cast_proto_msgTypes[205] + mi := &file_pb_fiee_cast_proto_msgTypes[208] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -17476,7 +17787,7 @@ type WorkListPublishedResp_Info struct { func (x *WorkListPublishedResp_Info) Reset() { *x = WorkListPublishedResp_Info{} - mi := &file_pb_fiee_cast_proto_msgTypes[206] + mi := &file_pb_fiee_cast_proto_msgTypes[209] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -17488,7 +17799,7 @@ func (x *WorkListPublishedResp_Info) String() string { func (*WorkListPublishedResp_Info) ProtoMessage() {} func (x *WorkListPublishedResp_Info) ProtoReflect() protoreflect.Message { - mi := &file_pb_fiee_cast_proto_msgTypes[206] + mi := &file_pb_fiee_cast_proto_msgTypes[209] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -17599,7 +17910,7 @@ type RefreshWorkListResp_Info struct { func (x *RefreshWorkListResp_Info) Reset() { *x = RefreshWorkListResp_Info{} - mi := &file_pb_fiee_cast_proto_msgTypes[207] + mi := &file_pb_fiee_cast_proto_msgTypes[210] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -17611,7 +17922,7 @@ func (x *RefreshWorkListResp_Info) String() string { func (*RefreshWorkListResp_Info) ProtoMessage() {} func (x *RefreshWorkListResp_Info) ProtoReflect() protoreflect.Message { - mi := &file_pb_fiee_cast_proto_msgTypes[207] + mi := &file_pb_fiee_cast_proto_msgTypes[210] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -17662,7 +17973,7 @@ type RefreshWorkListResp_Info_PlatformInfo struct { func (x *RefreshWorkListResp_Info_PlatformInfo) Reset() { *x = RefreshWorkListResp_Info_PlatformInfo{} - mi := &file_pb_fiee_cast_proto_msgTypes[208] + mi := &file_pb_fiee_cast_proto_msgTypes[211] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -17674,7 +17985,7 @@ func (x *RefreshWorkListResp_Info_PlatformInfo) String() string { func (*RefreshWorkListResp_Info_PlatformInfo) ProtoMessage() {} func (x *RefreshWorkListResp_Info_PlatformInfo) ProtoReflect() protoreflect.Message { - mi := &file_pb_fiee_cast_proto_msgTypes[208] + mi := &file_pb_fiee_cast_proto_msgTypes[211] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -17745,7 +18056,7 @@ type UpdateOAuthReq_Info struct { func (x *UpdateOAuthReq_Info) Reset() { *x = UpdateOAuthReq_Info{} - mi := &file_pb_fiee_cast_proto_msgTypes[209] + mi := &file_pb_fiee_cast_proto_msgTypes[212] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -17757,7 +18068,7 @@ func (x *UpdateOAuthReq_Info) String() string { func (*UpdateOAuthReq_Info) ProtoMessage() {} func (x *UpdateOAuthReq_Info) ProtoReflect() protoreflect.Message { - mi := &file_pb_fiee_cast_proto_msgTypes[209] + mi := &file_pb_fiee_cast_proto_msgTypes[212] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -19774,7 +20085,45 @@ const file_pb_fiee_cast_proto_rawDesc = "" + "\x06remark\x18\x05 \x01(\tR\x06remark\x124\n" + "\n" + "authStatus\x18\x06 \x01(\x0e2\x14.Cast.AuthStatusENUMR\n" + - "authStatus*T\n" + + "authStatus\"\xa4\x03\n" + + "\x0ePublishLogInfo\x12\x12\n" + + "\x04uuid\x18\x01 \x01(\tR\x04uuid\x12\x1a\n" + + "\bworkUuid\x18\x02 \x01(\tR\bworkUuid\x12\x14\n" + + "\x05title\x18\x03 \x01(\tR\x05title\x12\x1e\n" + + "\n" + + "platformID\x18\x04 \x01(\rR\n" + + "platformID\x12&\n" + + "\x0epublishMediaID\x18\x05 \x01(\tR\x0epublishMediaID\x12.\n" + + "\x12publishMediaStatus\x18\x06 \x01(\rR\x12publishMediaStatus\x12$\n" + + "\rpublishSource\x18\a \x01(\rR\rpublishSource\x12\x16\n" + + "\x06action\x18\b \x01(\tR\x06action\x12\x16\n" + + "\x06detail\x18\t \x01(\tR\x06detail\x12\x1e\n" + + "\n" + + "artistUuid\x18\n" + + " \x01(\tR\n" + + "artistUuid\x12\"\n" + + "\fartistSubNum\x18\v \x01(\tR\fartistSubNum\x12\x1c\n" + + "\tcreatedAt\x18\f \x01(\tR\tcreatedAt\x12\x1c\n" + + "\tupdatedAt\x18\r \x01(\tR\tupdatedAt\"\xd1\x02\n" + + "\x11ListPublishLogReq\x12\x1a\n" + + "\bworkUuid\x18\x01 \x01(\tR\bworkUuid\x12\x1e\n" + + "\n" + + "artistUuid\x18\x02 \x01(\tR\n" + + "artistUuid\x12\x1e\n" + + "\n" + + "platformID\x18\x03 \x01(\rR\n" + + "platformID\x12.\n" + + "\x12publishMediaStatus\x18\x04 \x01(\x05R\x12publishMediaStatus\x12$\n" + + "\rpublishSource\x18\x05 \x01(\rR\rpublishSource\x12\x1c\n" + + "\tstartTime\x18\x06 \x01(\tR\tstartTime\x12\x18\n" + + "\aendTime\x18\a \x01(\tR\aendTime\x12\x12\n" + + "\x04page\x18\b \x01(\x05R\x04page\x12\x1a\n" + + "\bpageSize\x18\t \x01(\x05R\bpageSize\x12\"\n" + + "\fartistSubNum\x18\n" + + " \x01(\tR\fartistSubNum\"T\n" + + "\x12ListPublishLogResp\x12(\n" + + "\x04data\x18\x01 \x03(\v2\x14.Cast.PublishLogInfoR\x04data\x12\x14\n" + + "\x05count\x18\x02 \x01(\x03R\x05count*T\n" + "\x0ePlatformIDENUM\x12\v\n" + "\aUNKNOWN\x10\x00\x12\n" + "\n" + @@ -19827,7 +20176,7 @@ const file_pb_fiee_cast_proto_rawDesc = "" + "\x05TITLE\x10\x01\x12\v\n" + "\aCONTENT\x10\x02\x12\t\n" + "\x05IMAGE\x10\x03\x12\x10\n" + - "\fLONG_CONTENT\x10\x042\x848\n" + + "\fLONG_CONTENT\x10\x042\xcb8\n" + "\x04Cast\x12B\n" + "\rMediaUserList\x12\x16.Cast.MediaUserListReq\x1a\x17.Cast.MediaUserListResp\"\x00\x12Q\n" + "\x12UpdateMediaAccount\x12\x1b.Cast.UpdateMediaAccountReq\x1a\x1c.Cast.UpdateMediaAccountResp\"\x00\x12B\n" + @@ -19923,7 +20272,8 @@ const file_pb_fiee_cast_proto_rawDesc = "" + "\x15ListCompetitiveReport\x12\x1e.Cast.ListCompetitiveReportReq\x1a\x1f.Cast.ListCompetitiveReportResp\"\x00\x12U\n" + "\x17DeleteCompetitiveReport\x12 .Cast.DeleteCompetitiveReportReq\x1a\x16.google.protobuf.Empty\"\x00\x12i\n" + "!UpdateCompetitiveReportApprovalID\x12*.Cast.UpdateCompetitiveReportApprovalIDReq\x1a\x16.google.protobuf.Empty\"\x00\x12~\n" + - "!CountCompetitiveReportByWorkUuids\x12*.Cast.CountCompetitiveReportByWorkUuidsReq\x1a+.Cast.CountCompetitiveReportByWorkUuidsResp\"\x00B\rZ\v./cast;castb\x06proto3" + "!CountCompetitiveReportByWorkUuids\x12*.Cast.CountCompetitiveReportByWorkUuidsReq\x1a+.Cast.CountCompetitiveReportByWorkUuidsResp\"\x00\x12E\n" + + "\x0eListPublishLog\x12\x17.Cast.ListPublishLogReq\x1a\x18.Cast.ListPublishLogResp\"\x00B\rZ\v./cast;castb\x06proto3" var ( file_pb_fiee_cast_proto_rawDescOnce sync.Once @@ -19938,7 +20288,7 @@ func file_pb_fiee_cast_proto_rawDescGZIP() []byte { } var file_pb_fiee_cast_proto_enumTypes = make([]protoimpl.EnumInfo, 9) -var file_pb_fiee_cast_proto_msgTypes = make([]protoimpl.MessageInfo, 210) +var file_pb_fiee_cast_proto_msgTypes = make([]protoimpl.MessageInfo, 213) var file_pb_fiee_cast_proto_goTypes = []any{ (PlatformIDENUM)(0), // 0: Cast.PlatformIDENUM (AuthStatusENUM)(0), // 1: Cast.AuthStatusENUM @@ -20149,17 +20499,20 @@ var file_pb_fiee_cast_proto_goTypes = []any{ (*UnbindMediaAuthReq)(nil), // 206: Cast.UnbindMediaAuthReq (*UnbindMediaAuthResp)(nil), // 207: Cast.UnbindMediaAuthResp (*UpdateMediaAccInfoReq)(nil), // 208: Cast.UpdateMediaAccInfoReq - (*WorkListResp_Info)(nil), // 209: Cast.WorkListResp.Info - nil, // 210: Cast.WorkListResp.Info.PublishMediaIDsEntry - nil, // 211: Cast.WorkDetailResp.MediaAccDataEntry - (*MediaAccountsResp_Info)(nil), // 212: Cast.MediaAccountsResp.Info - (*MediaWorksResp_Info)(nil), // 213: Cast.MediaWorksResp.Info - (*PublishResp_Info)(nil), // 214: Cast.PublishResp.Info - (*WorkListPublishedResp_Info)(nil), // 215: Cast.WorkListPublishedResp.Info - (*RefreshWorkListResp_Info)(nil), // 216: Cast.RefreshWorkListResp.Info - (*RefreshWorkListResp_Info_PlatformInfo)(nil), // 217: Cast.RefreshWorkListResp.Info.PlatformInfo - (*UpdateOAuthReq_Info)(nil), // 218: Cast.UpdateOAuthReq.Info - (*emptypb.Empty)(nil), // 219: google.protobuf.Empty + (*PublishLogInfo)(nil), // 209: Cast.PublishLogInfo + (*ListPublishLogReq)(nil), // 210: Cast.ListPublishLogReq + (*ListPublishLogResp)(nil), // 211: Cast.ListPublishLogResp + (*WorkListResp_Info)(nil), // 212: Cast.WorkListResp.Info + nil, // 213: Cast.WorkListResp.Info.PublishMediaIDsEntry + nil, // 214: Cast.WorkDetailResp.MediaAccDataEntry + (*MediaAccountsResp_Info)(nil), // 215: Cast.MediaAccountsResp.Info + (*MediaWorksResp_Info)(nil), // 216: Cast.MediaWorksResp.Info + (*PublishResp_Info)(nil), // 217: Cast.PublishResp.Info + (*WorkListPublishedResp_Info)(nil), // 218: Cast.WorkListPublishedResp.Info + (*RefreshWorkListResp_Info)(nil), // 219: Cast.RefreshWorkListResp.Info + (*RefreshWorkListResp_Info_PlatformInfo)(nil), // 220: Cast.RefreshWorkListResp.Info.PlatformInfo + (*UpdateOAuthReq_Info)(nil), // 221: Cast.UpdateOAuthReq.Info + (*emptypb.Empty)(nil), // 222: google.protobuf.Empty } var file_pb_fiee_cast_proto_depIdxs = []int32{ 0, // 0: Cast.MediaUserListReq.platformID:type_name -> Cast.PlatformIDENUM @@ -20185,26 +20538,26 @@ var file_pb_fiee_cast_proto_depIdxs = []int32{ 11, // 20: Cast.MediaInfoResp.info:type_name -> Cast.MediaUserInfo 0, // 21: Cast.MediaInfoByPlatformReq.platformID:type_name -> Cast.PlatformIDENUM 11, // 22: Cast.MediaInfoByPlatformResp.info:type_name -> Cast.MediaUserInfo - 209, // 23: Cast.WorkListResp.data:type_name -> Cast.WorkListResp.Info + 212, // 23: Cast.WorkListResp.data:type_name -> Cast.WorkListResp.Info 20, // 24: Cast.WorkDetailResp.publishConfig1:type_name -> Cast.PublishConfig 20, // 25: Cast.WorkDetailResp.publishConfig2:type_name -> Cast.PublishConfig 20, // 26: Cast.WorkDetailResp.publishConfig3:type_name -> Cast.PublishConfig 20, // 27: Cast.WorkDetailResp.publishConfig4:type_name -> Cast.PublishConfig 30, // 28: Cast.WorkDetailResp.WorkLogData:type_name -> Cast.WorkLogInfo - 211, // 29: Cast.WorkDetailResp.mediaAccData:type_name -> Cast.WorkDetailResp.MediaAccDataEntry + 214, // 29: Cast.WorkDetailResp.mediaAccData:type_name -> Cast.WorkDetailResp.MediaAccDataEntry 20, // 30: Cast.WorkDetailResp.publishConfig5:type_name -> Cast.PublishConfig 3, // 31: Cast.UpdateStatusReq.workAction:type_name -> Cast.WorkActionENUM 4, // 32: Cast.UpdateStatusReq.autoPublish:type_name -> Cast.AutoPublishENUM 6, // 33: Cast.UpdateStatusReq.confirmFailType:type_name -> Cast.ConfirmFailENUM - 212, // 34: Cast.MediaAccountsResp.data:type_name -> Cast.MediaAccountsResp.Info - 213, // 35: Cast.MediaWorksResp.data:type_name -> Cast.MediaWorksResp.Info + 215, // 34: Cast.MediaAccountsResp.data:type_name -> Cast.MediaAccountsResp.Info + 216, // 35: Cast.MediaWorksResp.data:type_name -> Cast.MediaWorksResp.Info 7, // 36: Cast.PublishReq.publishSource:type_name -> Cast.PublishSourceENUM - 214, // 37: Cast.PublishResp.data:type_name -> Cast.PublishResp.Info + 217, // 37: Cast.PublishResp.data:type_name -> Cast.PublishResp.Info 0, // 38: Cast.RePublishReq.platformIDs:type_name -> Cast.PlatformIDENUM 7, // 39: Cast.RePublishReq.publishSource:type_name -> Cast.PublishSourceENUM 50, // 40: Cast.WorkInfoResp.platformInfoData:type_name -> Cast.PlatformInfo 5, // 41: Cast.WorkInfoResp.publishStatus:type_name -> Cast.PublishStatusENUM - 215, // 42: Cast.WorkListPublishedResp.data:type_name -> Cast.WorkListPublishedResp.Info + 218, // 42: Cast.WorkListPublishedResp.data:type_name -> Cast.WorkListPublishedResp.Info 18, // 43: Cast.ImportWorkBatchReq.imageWorks:type_name -> Cast.UpdateWorkImageReq 18, // 44: Cast.ImportWorkBatchResp.imageWorks:type_name -> Cast.UpdateWorkImageReq 5, // 45: Cast.PlatformInfo.publishMediaStatus:type_name -> Cast.PublishStatusENUM @@ -20213,9 +20566,9 @@ var file_pb_fiee_cast_proto_depIdxs = []int32{ 0, // 48: Cast.UpdateWorkPublishLogReq.platformID:type_name -> Cast.PlatformIDENUM 7, // 49: Cast.UpdateWorkPublishLogReq.publishSource:type_name -> Cast.PublishSourceENUM 5, // 50: Cast.UpdateWorkPublishLogReq.publishMediaStatus:type_name -> Cast.PublishStatusENUM - 216, // 51: Cast.RefreshWorkListResp.Data:type_name -> Cast.RefreshWorkListResp.Info + 219, // 51: Cast.RefreshWorkListResp.Data:type_name -> Cast.RefreshWorkListResp.Info 0, // 52: Cast.OAuthCodeToTokenReq.platformID:type_name -> Cast.PlatformIDENUM - 218, // 53: Cast.UpdateOAuthReq.Data:type_name -> Cast.UpdateOAuthReq.Info + 221, // 53: Cast.UpdateOAuthReq.Data:type_name -> Cast.UpdateOAuthReq.Info 0, // 54: Cast.RefreshTokenReq.platformID:type_name -> Cast.PlatformIDENUM 75, // 55: Cast.ListVideoScriptsResp.data:type_name -> Cast.VideoScriptInfo 75, // 56: Cast.UpdateVideoScriptBatchReq.data:type_name -> Cast.VideoScriptInfo @@ -20289,200 +20642,203 @@ var file_pb_fiee_cast_proto_depIdxs = []int32{ 197, // 124: Cast.CountCompetitiveReportByWorkUuidsResp.data:type_name -> Cast.WorkUuidCount 2, // 125: Cast.UpdateMediaAccInfoReq.expiredSource:type_name -> Cast.ExpiredMediaSourceENUM 1, // 126: Cast.UpdateMediaAccInfoReq.authStatus:type_name -> Cast.AuthStatusENUM - 210, // 127: Cast.WorkListResp.Info.PublishMediaIDs:type_name -> Cast.WorkListResp.Info.PublishMediaIDsEntry - 11, // 128: Cast.WorkDetailResp.MediaAccDataEntry.value:type_name -> Cast.MediaUserInfo - 217, // 129: Cast.RefreshWorkListResp.Info.PlatformInfoData:type_name -> Cast.RefreshWorkListResp.Info.PlatformInfo - 0, // 130: Cast.RefreshWorkListResp.Info.PlatformInfo.platformID:type_name -> Cast.PlatformIDENUM - 0, // 131: Cast.UpdateOAuthReq.Info.platformID:type_name -> Cast.PlatformIDENUM - 10, // 132: Cast.Cast.MediaUserList:input_type -> Cast.MediaUserListReq - 13, // 133: Cast.Cast.UpdateMediaAccount:input_type -> Cast.UpdateMediaAccountReq - 15, // 134: Cast.Cast.UnbindManager:input_type -> Cast.UnbindManagerReq - 17, // 135: Cast.Cast.BindManager:input_type -> Cast.BindManagerReq - 18, // 136: Cast.Cast.UpdateWorkImage:input_type -> Cast.UpdateWorkImageReq - 21, // 137: Cast.Cast.UpdateWorkVideo:input_type -> Cast.UpdateWorkVideoReq - 23, // 138: Cast.Cast.MediaInfo:input_type -> Cast.MediaInfoReq - 25, // 139: Cast.Cast.MediaInfoByPlatform:input_type -> Cast.MediaInfoByPlatformReq - 27, // 140: Cast.Cast.WorkList:input_type -> Cast.WorkListReq - 44, // 141: Cast.Cast.WorkListPublished:input_type -> Cast.WorkListPublishedReq - 29, // 142: Cast.Cast.WorkDetail:input_type -> Cast.WorkDetailReq - 32, // 143: Cast.Cast.UpdateStatus:input_type -> Cast.UpdateStatusReq - 33, // 144: Cast.Cast.MediaAccounts:input_type -> Cast.MediaAccountsReq - 35, // 145: Cast.Cast.MediaWorks:input_type -> Cast.MediaWorksReq - 37, // 146: Cast.Cast.Publish:input_type -> Cast.PublishReq - 39, // 147: Cast.Cast.RePublish:input_type -> Cast.RePublishReq - 41, // 148: Cast.Cast.DelWork:input_type -> Cast.DelWorkReq - 42, // 149: Cast.Cast.WorkInfo:input_type -> Cast.WorkInfoReq - 46, // 150: Cast.Cast.ArtistInfo:input_type -> Cast.ArtistInfoReq - 48, // 151: Cast.Cast.ImportWorkBatch:input_type -> Cast.ImportWorkBatchReq - 51, // 152: Cast.Cast.UpdateWorkPlatformInfo:input_type -> Cast.UpdateWorkPlatformInfoReq - 53, // 153: Cast.Cast.UpdateWorkPublishLog:input_type -> Cast.UpdateWorkPublishLogReq - 54, // 154: Cast.Cast.RefreshWorkList:input_type -> Cast.RefreshWorkListReq - 199, // 155: Cast.Cast.WorkResource:input_type -> Cast.WorkResourceReq - 201, // 156: Cast.Cast.UpdateWorkResource:input_type -> Cast.UpdateWorkResourceReq - 203, // 157: Cast.Cast.UpdateMediaAccStatus:input_type -> Cast.UpdateMediaAccStatusReq - 205, // 158: Cast.Cast.UpdateWorkScript:input_type -> Cast.UpdateWorkScriptReq - 56, // 159: Cast.Cast.OAuthAccount:input_type -> Cast.OAuthAccountReq - 206, // 160: Cast.Cast.UnbindMediaAuth:input_type -> Cast.UnbindMediaAuthReq - 208, // 161: Cast.Cast.UpdateMediaAccInfo:input_type -> Cast.UpdateMediaAccInfoReq - 58, // 162: Cast.Cast.OAuthAccountV2:input_type -> Cast.OAuthAccountV2Req - 62, // 163: Cast.Cast.OAuthCodeToToken:input_type -> Cast.OAuthCodeToTokenReq - 64, // 164: Cast.Cast.UpdateOAuth:input_type -> Cast.UpdateOAuthReq - 65, // 165: Cast.Cast.RefreshToken:input_type -> Cast.RefreshTokenReq - 67, // 166: Cast.Cast.PublishMediaInfo:input_type -> Cast.PublishMediaInfoReq - 69, // 167: Cast.Cast.Tools:input_type -> Cast.ToolsReq - 70, // 168: Cast.Cast.UpdateVideoScript:input_type -> Cast.UpdateVideoScriptReq - 72, // 169: Cast.Cast.GetVideoScript:input_type -> Cast.GetVideoScriptReq - 74, // 170: Cast.Cast.ListVideoScripts:input_type -> Cast.ListVideoScriptsReq - 77, // 171: Cast.Cast.DeleteVideoScript:input_type -> Cast.DeleteVideoScriptReq - 78, // 172: Cast.Cast.UpdateVideoScriptBatch:input_type -> Cast.UpdateVideoScriptBatchReq - 80, // 173: Cast.Cast.UpdateScriptStatus:input_type -> Cast.UpdateScriptStatusReq - 82, // 174: Cast.Cast.GetLayout:input_type -> Cast.GetLayoutReq - 81, // 175: Cast.Cast.SetLayout:input_type -> Cast.SetLayoutReq - 84, // 176: Cast.Cast.UpdatePrompt:input_type -> Cast.UpdatePromptReq - 85, // 177: Cast.Cast.DeletePrompt:input_type -> Cast.DeletePromptReq - 86, // 178: Cast.Cast.GetPrompt:input_type -> Cast.GetPromptReq - 88, // 179: Cast.Cast.ListPrompts:input_type -> Cast.ListPromptsReq - 91, // 180: Cast.Cast.UpdatePromptBatch:input_type -> Cast.UpdatePromptBatchReq - 94, // 181: Cast.Cast.UpdateArtist:input_type -> Cast.UpdateArtistReq - 96, // 182: Cast.Cast.GetArtist:input_type -> Cast.GetArtistReq - 98, // 183: Cast.Cast.CreateWorkAnalysis:input_type -> Cast.CreateWorkAnalysisReq - 100, // 184: Cast.Cast.UpdateWorkAnalysis:input_type -> Cast.UpdateWorkAnalysisReq - 101, // 185: Cast.Cast.UpdateWorkAnalysisStatus:input_type -> Cast.UpdateWorkAnalysisStatusReq - 112, // 186: Cast.Cast.GetWorkAnalysis:input_type -> Cast.GetWorkAnalysisDetailReq - 113, // 187: Cast.Cast.GetLatestWorkAnalysis:input_type -> Cast.GetLatestWorkAnalysisReq - 116, // 188: Cast.Cast.ListWorkAnalysis:input_type -> Cast.ListWorkAnalysisReq - 119, // 189: Cast.Cast.DeleteWorkAnalysis:input_type -> Cast.DeleteWorkAnalysisReq - 138, // 190: Cast.Cast.UpdateWorkAnalysisApprovalID:input_type -> Cast.UpdateWorkAnalysisApprovalIDReq - 120, // 191: Cast.Cast.ArtistDataList:input_type -> Cast.ArtistDataListReq - 123, // 192: Cast.Cast.MediaDataList:input_type -> Cast.MediaDataListReq - 126, // 193: Cast.Cast.DataOverview:input_type -> Cast.DataOverviewReq - 128, // 194: Cast.Cast.ArtistMetricsSeries:input_type -> Cast.ArtistMetricsSeriesReq - 130, // 195: Cast.Cast.ArtistMetricsDailyWindow:input_type -> Cast.ArtistMetricsDailyWindowReq - 135, // 196: Cast.Cast.TobeConfirmedList:input_type -> Cast.TobeConfirmedListReq - 140, // 197: Cast.Cast.UpsertMediaMetricsDailyBatch:input_type -> Cast.UpsertMediaMetricsDailyBatchReq - 143, // 198: Cast.Cast.UpsertWorkMetricsDailyBatch:input_type -> Cast.UpsertWorkMetricsDailyBatchReq - 153, // 199: Cast.Cast.ListMediaMetricsDaily:input_type -> Cast.ListMediaMetricsDailyReq - 156, // 200: Cast.Cast.ListWorkMetricsDaily:input_type -> Cast.ListWorkMetricsDailyReq - 167, // 201: Cast.Cast.CalculateMediaMetricsByWorks:input_type -> Cast.CalculateMediaMetricsByWorksReq - 145, // 202: Cast.Cast.GetArtistAyrShareInfo:input_type -> Cast.GetArtistAyrShareInfoReq - 148, // 203: Cast.Cast.GetArtistAyrShareInfoByPlatformIDs:input_type -> Cast.GetArtistAyrShareInfoByPlatformIDsReq - 150, // 204: Cast.Cast.ListWorkPlatformInfo:input_type -> Cast.ListWorkPlatformInfoReq - 159, // 205: Cast.Cast.UpsertTaskList:input_type -> Cast.UpsertTaskListReq - 161, // 206: Cast.Cast.GetTaskList:input_type -> Cast.GetTaskListReq - 164, // 207: Cast.Cast.ListTaskList:input_type -> Cast.ListTaskListReq - 166, // 208: Cast.Cast.DeleteTaskList:input_type -> Cast.DeleteTaskListReq - 169, // 209: Cast.Cast.UpdateCastTag:input_type -> Cast.UpdateCastTagReq - 171, // 210: Cast.Cast.ListCastTags:input_type -> Cast.ListCastTagsReq - 174, // 211: Cast.Cast.UpdateCastTagBatch:input_type -> Cast.UpdateCastTagBatchReq - 176, // 212: Cast.Cast.BatchUpdateCastTags:input_type -> Cast.BatchUpdateCastTagsReq - 177, // 213: Cast.Cast.UpdateCastTagStatus:input_type -> Cast.UpdateCastTagStatusReq - 219, // 214: Cast.Cast.RecalculateCastTagQuoteCount:input_type -> google.protobuf.Empty - 179, // 215: Cast.Cast.CreateCompetitiveReport:input_type -> Cast.CreateCompetitiveReportReq - 194, // 216: Cast.Cast.ImportCompetitiveReportBatch:input_type -> Cast.ImportCompetitiveReportBatchReq - 182, // 217: Cast.Cast.UpdateCompetitiveReportStatus:input_type -> Cast.UpdateCompetitiveReportStatusReq - 186, // 218: Cast.Cast.GetCompetitiveReport:input_type -> Cast.GetCompetitiveReportDetailReq - 187, // 219: Cast.Cast.GetCompetitiveReportForApp:input_type -> Cast.GetCompetitiveReportForAppReq - 190, // 220: Cast.Cast.ListCompetitiveReport:input_type -> Cast.ListCompetitiveReportReq - 193, // 221: Cast.Cast.DeleteCompetitiveReport:input_type -> Cast.DeleteCompetitiveReportReq - 183, // 222: Cast.Cast.UpdateCompetitiveReportApprovalID:input_type -> Cast.UpdateCompetitiveReportApprovalIDReq - 196, // 223: Cast.Cast.CountCompetitiveReportByWorkUuids:input_type -> Cast.CountCompetitiveReportByWorkUuidsReq - 12, // 224: Cast.Cast.MediaUserList:output_type -> Cast.MediaUserListResp - 14, // 225: Cast.Cast.UpdateMediaAccount:output_type -> Cast.UpdateMediaAccountResp - 16, // 226: Cast.Cast.UnbindManager:output_type -> Cast.UnbindManagerResp - 219, // 227: Cast.Cast.BindManager:output_type -> google.protobuf.Empty - 19, // 228: Cast.Cast.UpdateWorkImage:output_type -> Cast.UpdateWorkImageResp - 22, // 229: Cast.Cast.UpdateWorkVideo:output_type -> Cast.UpdateWorkVideoResp - 24, // 230: Cast.Cast.MediaInfo:output_type -> Cast.MediaInfoResp - 26, // 231: Cast.Cast.MediaInfoByPlatform:output_type -> Cast.MediaInfoByPlatformResp - 28, // 232: Cast.Cast.WorkList:output_type -> Cast.WorkListResp - 45, // 233: Cast.Cast.WorkListPublished:output_type -> Cast.WorkListPublishedResp - 31, // 234: Cast.Cast.WorkDetail:output_type -> Cast.WorkDetailResp - 219, // 235: Cast.Cast.UpdateStatus:output_type -> google.protobuf.Empty - 34, // 236: Cast.Cast.MediaAccounts:output_type -> Cast.MediaAccountsResp - 36, // 237: Cast.Cast.MediaWorks:output_type -> Cast.MediaWorksResp - 38, // 238: Cast.Cast.Publish:output_type -> Cast.PublishResp - 40, // 239: Cast.Cast.RePublish:output_type -> Cast.RePublishResp - 219, // 240: Cast.Cast.DelWork:output_type -> google.protobuf.Empty - 43, // 241: Cast.Cast.WorkInfo:output_type -> Cast.WorkInfoResp - 47, // 242: Cast.Cast.ArtistInfo:output_type -> Cast.ArtistInfoResp - 49, // 243: Cast.Cast.ImportWorkBatch:output_type -> Cast.ImportWorkBatchResp - 52, // 244: Cast.Cast.UpdateWorkPlatformInfo:output_type -> Cast.UpdateWorkPlatformInfoResp - 219, // 245: Cast.Cast.UpdateWorkPublishLog:output_type -> google.protobuf.Empty - 55, // 246: Cast.Cast.RefreshWorkList:output_type -> Cast.RefreshWorkListResp - 200, // 247: Cast.Cast.WorkResource:output_type -> Cast.WorkResourceResp - 202, // 248: Cast.Cast.UpdateWorkResource:output_type -> Cast.UpdateWorkResourceResp - 204, // 249: Cast.Cast.UpdateMediaAccStatus:output_type -> Cast.UpdateMediaAccStatusResp - 219, // 250: Cast.Cast.UpdateWorkScript:output_type -> google.protobuf.Empty - 57, // 251: Cast.Cast.OAuthAccount:output_type -> Cast.OAuthAccountResp - 207, // 252: Cast.Cast.UnbindMediaAuth:output_type -> Cast.UnbindMediaAuthResp - 219, // 253: Cast.Cast.UpdateMediaAccInfo:output_type -> google.protobuf.Empty - 59, // 254: Cast.Cast.OAuthAccountV2:output_type -> Cast.OAuthAccountV2Resp - 63, // 255: Cast.Cast.OAuthCodeToToken:output_type -> Cast.OAuthCodeToTokenResp - 219, // 256: Cast.Cast.UpdateOAuth:output_type -> google.protobuf.Empty - 66, // 257: Cast.Cast.RefreshToken:output_type -> Cast.RefreshTokenResp - 68, // 258: Cast.Cast.PublishMediaInfo:output_type -> Cast.PublishMediaInfoResp - 219, // 259: Cast.Cast.Tools:output_type -> google.protobuf.Empty - 71, // 260: Cast.Cast.UpdateVideoScript:output_type -> Cast.UpdateVideoScriptResp - 73, // 261: Cast.Cast.GetVideoScript:output_type -> Cast.GetVideoScriptResp - 76, // 262: Cast.Cast.ListVideoScripts:output_type -> Cast.ListVideoScriptsResp - 219, // 263: Cast.Cast.DeleteVideoScript:output_type -> google.protobuf.Empty - 79, // 264: Cast.Cast.UpdateVideoScriptBatch:output_type -> Cast.UpdateVideoScriptBatchResp - 219, // 265: Cast.Cast.UpdateScriptStatus:output_type -> google.protobuf.Empty - 83, // 266: Cast.Cast.GetLayout:output_type -> Cast.GetLayoutResp - 219, // 267: Cast.Cast.SetLayout:output_type -> google.protobuf.Empty - 219, // 268: Cast.Cast.UpdatePrompt:output_type -> google.protobuf.Empty - 219, // 269: Cast.Cast.DeletePrompt:output_type -> google.protobuf.Empty - 87, // 270: Cast.Cast.GetPrompt:output_type -> Cast.GetPromptResp - 90, // 271: Cast.Cast.ListPrompts:output_type -> Cast.ListPromptsResp - 92, // 272: Cast.Cast.UpdatePromptBatch:output_type -> Cast.UpdatePromptBatchResp - 95, // 273: Cast.Cast.UpdateArtist:output_type -> Cast.UpdateArtistResp - 97, // 274: Cast.Cast.GetArtist:output_type -> Cast.GetArtistResp - 99, // 275: Cast.Cast.CreateWorkAnalysis:output_type -> Cast.CreateWorkAnalysisResp - 219, // 276: Cast.Cast.UpdateWorkAnalysis:output_type -> google.protobuf.Empty - 219, // 277: Cast.Cast.UpdateWorkAnalysisStatus:output_type -> google.protobuf.Empty - 115, // 278: Cast.Cast.GetWorkAnalysis:output_type -> Cast.GetWorkAnalysisDetailResp - 114, // 279: Cast.Cast.GetLatestWorkAnalysis:output_type -> Cast.GetWorkAnalysisResp - 118, // 280: Cast.Cast.ListWorkAnalysis:output_type -> Cast.ListWorkAnalysisResp - 219, // 281: Cast.Cast.DeleteWorkAnalysis:output_type -> google.protobuf.Empty - 219, // 282: Cast.Cast.UpdateWorkAnalysisApprovalID:output_type -> google.protobuf.Empty - 122, // 283: Cast.Cast.ArtistDataList:output_type -> Cast.ArtistDataListResp - 125, // 284: Cast.Cast.MediaDataList:output_type -> Cast.MediaDataListResp - 127, // 285: Cast.Cast.DataOverview:output_type -> Cast.DataOverviewResp - 129, // 286: Cast.Cast.ArtistMetricsSeries:output_type -> Cast.ArtistMetricsSeriesResp - 134, // 287: Cast.Cast.ArtistMetricsDailyWindow:output_type -> Cast.ArtistMetricsDailyWindowResp - 137, // 288: Cast.Cast.TobeConfirmedList:output_type -> Cast.TobeConfirmedListResp - 141, // 289: Cast.Cast.UpsertMediaMetricsDailyBatch:output_type -> Cast.UpsertMediaMetricsDailyBatchResp - 144, // 290: Cast.Cast.UpsertWorkMetricsDailyBatch:output_type -> Cast.UpsertWorkMetricsDailyBatchResp - 155, // 291: Cast.Cast.ListMediaMetricsDaily:output_type -> Cast.ListMediaMetricsDailyResp - 158, // 292: Cast.Cast.ListWorkMetricsDaily:output_type -> Cast.ListWorkMetricsDailyResp - 168, // 293: Cast.Cast.CalculateMediaMetricsByWorks:output_type -> Cast.CalculateMediaMetricsByWorksResp - 147, // 294: Cast.Cast.GetArtistAyrShareInfo:output_type -> Cast.GetArtistAyrShareInfoResp - 149, // 295: Cast.Cast.GetArtistAyrShareInfoByPlatformIDs:output_type -> Cast.GetArtistAyrShareInfoByPlatformIDsResp - 152, // 296: Cast.Cast.ListWorkPlatformInfo:output_type -> Cast.ListWorkPlatformInfoResp - 160, // 297: Cast.Cast.UpsertTaskList:output_type -> Cast.UpsertTaskListResp - 163, // 298: Cast.Cast.GetTaskList:output_type -> Cast.GetTaskListResp - 165, // 299: Cast.Cast.ListTaskList:output_type -> Cast.ListTaskListResp - 219, // 300: Cast.Cast.DeleteTaskList:output_type -> google.protobuf.Empty - 170, // 301: Cast.Cast.UpdateCastTag:output_type -> Cast.UpdateCastTagResp - 173, // 302: Cast.Cast.ListCastTags:output_type -> Cast.ListCastTagsResp - 175, // 303: Cast.Cast.UpdateCastTagBatch:output_type -> Cast.UpdateCastTagBatchResp - 219, // 304: Cast.Cast.BatchUpdateCastTags:output_type -> google.protobuf.Empty - 219, // 305: Cast.Cast.UpdateCastTagStatus:output_type -> google.protobuf.Empty - 178, // 306: Cast.Cast.RecalculateCastTagQuoteCount:output_type -> Cast.RecalculateCastTagQuoteCountResp - 180, // 307: Cast.Cast.CreateCompetitiveReport:output_type -> Cast.CreateCompetitiveReportResp - 195, // 308: Cast.Cast.ImportCompetitiveReportBatch:output_type -> Cast.ImportCompetitiveReportBatchResp - 219, // 309: Cast.Cast.UpdateCompetitiveReportStatus:output_type -> google.protobuf.Empty - 189, // 310: Cast.Cast.GetCompetitiveReport:output_type -> Cast.GetCompetitiveReportDetailResp - 188, // 311: Cast.Cast.GetCompetitiveReportForApp:output_type -> Cast.GetCompetitiveReportForAppResp - 192, // 312: Cast.Cast.ListCompetitiveReport:output_type -> Cast.ListCompetitiveReportResp - 219, // 313: Cast.Cast.DeleteCompetitiveReport:output_type -> google.protobuf.Empty - 219, // 314: Cast.Cast.UpdateCompetitiveReportApprovalID:output_type -> google.protobuf.Empty - 198, // 315: Cast.Cast.CountCompetitiveReportByWorkUuids:output_type -> Cast.CountCompetitiveReportByWorkUuidsResp - 224, // [224:316] is the sub-list for method output_type - 132, // [132:224] is the sub-list for method input_type - 132, // [132:132] is the sub-list for extension type_name - 132, // [132:132] is the sub-list for extension extendee - 0, // [0:132] is the sub-list for field type_name + 209, // 127: Cast.ListPublishLogResp.data:type_name -> Cast.PublishLogInfo + 213, // 128: Cast.WorkListResp.Info.PublishMediaIDs:type_name -> Cast.WorkListResp.Info.PublishMediaIDsEntry + 11, // 129: Cast.WorkDetailResp.MediaAccDataEntry.value:type_name -> Cast.MediaUserInfo + 220, // 130: Cast.RefreshWorkListResp.Info.PlatformInfoData:type_name -> Cast.RefreshWorkListResp.Info.PlatformInfo + 0, // 131: Cast.RefreshWorkListResp.Info.PlatformInfo.platformID:type_name -> Cast.PlatformIDENUM + 0, // 132: Cast.UpdateOAuthReq.Info.platformID:type_name -> Cast.PlatformIDENUM + 10, // 133: Cast.Cast.MediaUserList:input_type -> Cast.MediaUserListReq + 13, // 134: Cast.Cast.UpdateMediaAccount:input_type -> Cast.UpdateMediaAccountReq + 15, // 135: Cast.Cast.UnbindManager:input_type -> Cast.UnbindManagerReq + 17, // 136: Cast.Cast.BindManager:input_type -> Cast.BindManagerReq + 18, // 137: Cast.Cast.UpdateWorkImage:input_type -> Cast.UpdateWorkImageReq + 21, // 138: Cast.Cast.UpdateWorkVideo:input_type -> Cast.UpdateWorkVideoReq + 23, // 139: Cast.Cast.MediaInfo:input_type -> Cast.MediaInfoReq + 25, // 140: Cast.Cast.MediaInfoByPlatform:input_type -> Cast.MediaInfoByPlatformReq + 27, // 141: Cast.Cast.WorkList:input_type -> Cast.WorkListReq + 44, // 142: Cast.Cast.WorkListPublished:input_type -> Cast.WorkListPublishedReq + 29, // 143: Cast.Cast.WorkDetail:input_type -> Cast.WorkDetailReq + 32, // 144: Cast.Cast.UpdateStatus:input_type -> Cast.UpdateStatusReq + 33, // 145: Cast.Cast.MediaAccounts:input_type -> Cast.MediaAccountsReq + 35, // 146: Cast.Cast.MediaWorks:input_type -> Cast.MediaWorksReq + 37, // 147: Cast.Cast.Publish:input_type -> Cast.PublishReq + 39, // 148: Cast.Cast.RePublish:input_type -> Cast.RePublishReq + 41, // 149: Cast.Cast.DelWork:input_type -> Cast.DelWorkReq + 42, // 150: Cast.Cast.WorkInfo:input_type -> Cast.WorkInfoReq + 46, // 151: Cast.Cast.ArtistInfo:input_type -> Cast.ArtistInfoReq + 48, // 152: Cast.Cast.ImportWorkBatch:input_type -> Cast.ImportWorkBatchReq + 51, // 153: Cast.Cast.UpdateWorkPlatformInfo:input_type -> Cast.UpdateWorkPlatformInfoReq + 53, // 154: Cast.Cast.UpdateWorkPublishLog:input_type -> Cast.UpdateWorkPublishLogReq + 54, // 155: Cast.Cast.RefreshWorkList:input_type -> Cast.RefreshWorkListReq + 199, // 156: Cast.Cast.WorkResource:input_type -> Cast.WorkResourceReq + 201, // 157: Cast.Cast.UpdateWorkResource:input_type -> Cast.UpdateWorkResourceReq + 203, // 158: Cast.Cast.UpdateMediaAccStatus:input_type -> Cast.UpdateMediaAccStatusReq + 205, // 159: Cast.Cast.UpdateWorkScript:input_type -> Cast.UpdateWorkScriptReq + 56, // 160: Cast.Cast.OAuthAccount:input_type -> Cast.OAuthAccountReq + 206, // 161: Cast.Cast.UnbindMediaAuth:input_type -> Cast.UnbindMediaAuthReq + 208, // 162: Cast.Cast.UpdateMediaAccInfo:input_type -> Cast.UpdateMediaAccInfoReq + 58, // 163: Cast.Cast.OAuthAccountV2:input_type -> Cast.OAuthAccountV2Req + 62, // 164: Cast.Cast.OAuthCodeToToken:input_type -> Cast.OAuthCodeToTokenReq + 64, // 165: Cast.Cast.UpdateOAuth:input_type -> Cast.UpdateOAuthReq + 65, // 166: Cast.Cast.RefreshToken:input_type -> Cast.RefreshTokenReq + 67, // 167: Cast.Cast.PublishMediaInfo:input_type -> Cast.PublishMediaInfoReq + 69, // 168: Cast.Cast.Tools:input_type -> Cast.ToolsReq + 70, // 169: Cast.Cast.UpdateVideoScript:input_type -> Cast.UpdateVideoScriptReq + 72, // 170: Cast.Cast.GetVideoScript:input_type -> Cast.GetVideoScriptReq + 74, // 171: Cast.Cast.ListVideoScripts:input_type -> Cast.ListVideoScriptsReq + 77, // 172: Cast.Cast.DeleteVideoScript:input_type -> Cast.DeleteVideoScriptReq + 78, // 173: Cast.Cast.UpdateVideoScriptBatch:input_type -> Cast.UpdateVideoScriptBatchReq + 80, // 174: Cast.Cast.UpdateScriptStatus:input_type -> Cast.UpdateScriptStatusReq + 82, // 175: Cast.Cast.GetLayout:input_type -> Cast.GetLayoutReq + 81, // 176: Cast.Cast.SetLayout:input_type -> Cast.SetLayoutReq + 84, // 177: Cast.Cast.UpdatePrompt:input_type -> Cast.UpdatePromptReq + 85, // 178: Cast.Cast.DeletePrompt:input_type -> Cast.DeletePromptReq + 86, // 179: Cast.Cast.GetPrompt:input_type -> Cast.GetPromptReq + 88, // 180: Cast.Cast.ListPrompts:input_type -> Cast.ListPromptsReq + 91, // 181: Cast.Cast.UpdatePromptBatch:input_type -> Cast.UpdatePromptBatchReq + 94, // 182: Cast.Cast.UpdateArtist:input_type -> Cast.UpdateArtistReq + 96, // 183: Cast.Cast.GetArtist:input_type -> Cast.GetArtistReq + 98, // 184: Cast.Cast.CreateWorkAnalysis:input_type -> Cast.CreateWorkAnalysisReq + 100, // 185: Cast.Cast.UpdateWorkAnalysis:input_type -> Cast.UpdateWorkAnalysisReq + 101, // 186: Cast.Cast.UpdateWorkAnalysisStatus:input_type -> Cast.UpdateWorkAnalysisStatusReq + 112, // 187: Cast.Cast.GetWorkAnalysis:input_type -> Cast.GetWorkAnalysisDetailReq + 113, // 188: Cast.Cast.GetLatestWorkAnalysis:input_type -> Cast.GetLatestWorkAnalysisReq + 116, // 189: Cast.Cast.ListWorkAnalysis:input_type -> Cast.ListWorkAnalysisReq + 119, // 190: Cast.Cast.DeleteWorkAnalysis:input_type -> Cast.DeleteWorkAnalysisReq + 138, // 191: Cast.Cast.UpdateWorkAnalysisApprovalID:input_type -> Cast.UpdateWorkAnalysisApprovalIDReq + 120, // 192: Cast.Cast.ArtistDataList:input_type -> Cast.ArtistDataListReq + 123, // 193: Cast.Cast.MediaDataList:input_type -> Cast.MediaDataListReq + 126, // 194: Cast.Cast.DataOverview:input_type -> Cast.DataOverviewReq + 128, // 195: Cast.Cast.ArtistMetricsSeries:input_type -> Cast.ArtistMetricsSeriesReq + 130, // 196: Cast.Cast.ArtistMetricsDailyWindow:input_type -> Cast.ArtistMetricsDailyWindowReq + 135, // 197: Cast.Cast.TobeConfirmedList:input_type -> Cast.TobeConfirmedListReq + 140, // 198: Cast.Cast.UpsertMediaMetricsDailyBatch:input_type -> Cast.UpsertMediaMetricsDailyBatchReq + 143, // 199: Cast.Cast.UpsertWorkMetricsDailyBatch:input_type -> Cast.UpsertWorkMetricsDailyBatchReq + 153, // 200: Cast.Cast.ListMediaMetricsDaily:input_type -> Cast.ListMediaMetricsDailyReq + 156, // 201: Cast.Cast.ListWorkMetricsDaily:input_type -> Cast.ListWorkMetricsDailyReq + 167, // 202: Cast.Cast.CalculateMediaMetricsByWorks:input_type -> Cast.CalculateMediaMetricsByWorksReq + 145, // 203: Cast.Cast.GetArtistAyrShareInfo:input_type -> Cast.GetArtistAyrShareInfoReq + 148, // 204: Cast.Cast.GetArtistAyrShareInfoByPlatformIDs:input_type -> Cast.GetArtistAyrShareInfoByPlatformIDsReq + 150, // 205: Cast.Cast.ListWorkPlatformInfo:input_type -> Cast.ListWorkPlatformInfoReq + 159, // 206: Cast.Cast.UpsertTaskList:input_type -> Cast.UpsertTaskListReq + 161, // 207: Cast.Cast.GetTaskList:input_type -> Cast.GetTaskListReq + 164, // 208: Cast.Cast.ListTaskList:input_type -> Cast.ListTaskListReq + 166, // 209: Cast.Cast.DeleteTaskList:input_type -> Cast.DeleteTaskListReq + 169, // 210: Cast.Cast.UpdateCastTag:input_type -> Cast.UpdateCastTagReq + 171, // 211: Cast.Cast.ListCastTags:input_type -> Cast.ListCastTagsReq + 174, // 212: Cast.Cast.UpdateCastTagBatch:input_type -> Cast.UpdateCastTagBatchReq + 176, // 213: Cast.Cast.BatchUpdateCastTags:input_type -> Cast.BatchUpdateCastTagsReq + 177, // 214: Cast.Cast.UpdateCastTagStatus:input_type -> Cast.UpdateCastTagStatusReq + 222, // 215: Cast.Cast.RecalculateCastTagQuoteCount:input_type -> google.protobuf.Empty + 179, // 216: Cast.Cast.CreateCompetitiveReport:input_type -> Cast.CreateCompetitiveReportReq + 194, // 217: Cast.Cast.ImportCompetitiveReportBatch:input_type -> Cast.ImportCompetitiveReportBatchReq + 182, // 218: Cast.Cast.UpdateCompetitiveReportStatus:input_type -> Cast.UpdateCompetitiveReportStatusReq + 186, // 219: Cast.Cast.GetCompetitiveReport:input_type -> Cast.GetCompetitiveReportDetailReq + 187, // 220: Cast.Cast.GetCompetitiveReportForApp:input_type -> Cast.GetCompetitiveReportForAppReq + 190, // 221: Cast.Cast.ListCompetitiveReport:input_type -> Cast.ListCompetitiveReportReq + 193, // 222: Cast.Cast.DeleteCompetitiveReport:input_type -> Cast.DeleteCompetitiveReportReq + 183, // 223: Cast.Cast.UpdateCompetitiveReportApprovalID:input_type -> Cast.UpdateCompetitiveReportApprovalIDReq + 196, // 224: Cast.Cast.CountCompetitiveReportByWorkUuids:input_type -> Cast.CountCompetitiveReportByWorkUuidsReq + 210, // 225: Cast.Cast.ListPublishLog:input_type -> Cast.ListPublishLogReq + 12, // 226: Cast.Cast.MediaUserList:output_type -> Cast.MediaUserListResp + 14, // 227: Cast.Cast.UpdateMediaAccount:output_type -> Cast.UpdateMediaAccountResp + 16, // 228: Cast.Cast.UnbindManager:output_type -> Cast.UnbindManagerResp + 222, // 229: Cast.Cast.BindManager:output_type -> google.protobuf.Empty + 19, // 230: Cast.Cast.UpdateWorkImage:output_type -> Cast.UpdateWorkImageResp + 22, // 231: Cast.Cast.UpdateWorkVideo:output_type -> Cast.UpdateWorkVideoResp + 24, // 232: Cast.Cast.MediaInfo:output_type -> Cast.MediaInfoResp + 26, // 233: Cast.Cast.MediaInfoByPlatform:output_type -> Cast.MediaInfoByPlatformResp + 28, // 234: Cast.Cast.WorkList:output_type -> Cast.WorkListResp + 45, // 235: Cast.Cast.WorkListPublished:output_type -> Cast.WorkListPublishedResp + 31, // 236: Cast.Cast.WorkDetail:output_type -> Cast.WorkDetailResp + 222, // 237: Cast.Cast.UpdateStatus:output_type -> google.protobuf.Empty + 34, // 238: Cast.Cast.MediaAccounts:output_type -> Cast.MediaAccountsResp + 36, // 239: Cast.Cast.MediaWorks:output_type -> Cast.MediaWorksResp + 38, // 240: Cast.Cast.Publish:output_type -> Cast.PublishResp + 40, // 241: Cast.Cast.RePublish:output_type -> Cast.RePublishResp + 222, // 242: Cast.Cast.DelWork:output_type -> google.protobuf.Empty + 43, // 243: Cast.Cast.WorkInfo:output_type -> Cast.WorkInfoResp + 47, // 244: Cast.Cast.ArtistInfo:output_type -> Cast.ArtistInfoResp + 49, // 245: Cast.Cast.ImportWorkBatch:output_type -> Cast.ImportWorkBatchResp + 52, // 246: Cast.Cast.UpdateWorkPlatformInfo:output_type -> Cast.UpdateWorkPlatformInfoResp + 222, // 247: Cast.Cast.UpdateWorkPublishLog:output_type -> google.protobuf.Empty + 55, // 248: Cast.Cast.RefreshWorkList:output_type -> Cast.RefreshWorkListResp + 200, // 249: Cast.Cast.WorkResource:output_type -> Cast.WorkResourceResp + 202, // 250: Cast.Cast.UpdateWorkResource:output_type -> Cast.UpdateWorkResourceResp + 204, // 251: Cast.Cast.UpdateMediaAccStatus:output_type -> Cast.UpdateMediaAccStatusResp + 222, // 252: Cast.Cast.UpdateWorkScript:output_type -> google.protobuf.Empty + 57, // 253: Cast.Cast.OAuthAccount:output_type -> Cast.OAuthAccountResp + 207, // 254: Cast.Cast.UnbindMediaAuth:output_type -> Cast.UnbindMediaAuthResp + 222, // 255: Cast.Cast.UpdateMediaAccInfo:output_type -> google.protobuf.Empty + 59, // 256: Cast.Cast.OAuthAccountV2:output_type -> Cast.OAuthAccountV2Resp + 63, // 257: Cast.Cast.OAuthCodeToToken:output_type -> Cast.OAuthCodeToTokenResp + 222, // 258: Cast.Cast.UpdateOAuth:output_type -> google.protobuf.Empty + 66, // 259: Cast.Cast.RefreshToken:output_type -> Cast.RefreshTokenResp + 68, // 260: Cast.Cast.PublishMediaInfo:output_type -> Cast.PublishMediaInfoResp + 222, // 261: Cast.Cast.Tools:output_type -> google.protobuf.Empty + 71, // 262: Cast.Cast.UpdateVideoScript:output_type -> Cast.UpdateVideoScriptResp + 73, // 263: Cast.Cast.GetVideoScript:output_type -> Cast.GetVideoScriptResp + 76, // 264: Cast.Cast.ListVideoScripts:output_type -> Cast.ListVideoScriptsResp + 222, // 265: Cast.Cast.DeleteVideoScript:output_type -> google.protobuf.Empty + 79, // 266: Cast.Cast.UpdateVideoScriptBatch:output_type -> Cast.UpdateVideoScriptBatchResp + 222, // 267: Cast.Cast.UpdateScriptStatus:output_type -> google.protobuf.Empty + 83, // 268: Cast.Cast.GetLayout:output_type -> Cast.GetLayoutResp + 222, // 269: Cast.Cast.SetLayout:output_type -> google.protobuf.Empty + 222, // 270: Cast.Cast.UpdatePrompt:output_type -> google.protobuf.Empty + 222, // 271: Cast.Cast.DeletePrompt:output_type -> google.protobuf.Empty + 87, // 272: Cast.Cast.GetPrompt:output_type -> Cast.GetPromptResp + 90, // 273: Cast.Cast.ListPrompts:output_type -> Cast.ListPromptsResp + 92, // 274: Cast.Cast.UpdatePromptBatch:output_type -> Cast.UpdatePromptBatchResp + 95, // 275: Cast.Cast.UpdateArtist:output_type -> Cast.UpdateArtistResp + 97, // 276: Cast.Cast.GetArtist:output_type -> Cast.GetArtistResp + 99, // 277: Cast.Cast.CreateWorkAnalysis:output_type -> Cast.CreateWorkAnalysisResp + 222, // 278: Cast.Cast.UpdateWorkAnalysis:output_type -> google.protobuf.Empty + 222, // 279: Cast.Cast.UpdateWorkAnalysisStatus:output_type -> google.protobuf.Empty + 115, // 280: Cast.Cast.GetWorkAnalysis:output_type -> Cast.GetWorkAnalysisDetailResp + 114, // 281: Cast.Cast.GetLatestWorkAnalysis:output_type -> Cast.GetWorkAnalysisResp + 118, // 282: Cast.Cast.ListWorkAnalysis:output_type -> Cast.ListWorkAnalysisResp + 222, // 283: Cast.Cast.DeleteWorkAnalysis:output_type -> google.protobuf.Empty + 222, // 284: Cast.Cast.UpdateWorkAnalysisApprovalID:output_type -> google.protobuf.Empty + 122, // 285: Cast.Cast.ArtistDataList:output_type -> Cast.ArtistDataListResp + 125, // 286: Cast.Cast.MediaDataList:output_type -> Cast.MediaDataListResp + 127, // 287: Cast.Cast.DataOverview:output_type -> Cast.DataOverviewResp + 129, // 288: Cast.Cast.ArtistMetricsSeries:output_type -> Cast.ArtistMetricsSeriesResp + 134, // 289: Cast.Cast.ArtistMetricsDailyWindow:output_type -> Cast.ArtistMetricsDailyWindowResp + 137, // 290: Cast.Cast.TobeConfirmedList:output_type -> Cast.TobeConfirmedListResp + 141, // 291: Cast.Cast.UpsertMediaMetricsDailyBatch:output_type -> Cast.UpsertMediaMetricsDailyBatchResp + 144, // 292: Cast.Cast.UpsertWorkMetricsDailyBatch:output_type -> Cast.UpsertWorkMetricsDailyBatchResp + 155, // 293: Cast.Cast.ListMediaMetricsDaily:output_type -> Cast.ListMediaMetricsDailyResp + 158, // 294: Cast.Cast.ListWorkMetricsDaily:output_type -> Cast.ListWorkMetricsDailyResp + 168, // 295: Cast.Cast.CalculateMediaMetricsByWorks:output_type -> Cast.CalculateMediaMetricsByWorksResp + 147, // 296: Cast.Cast.GetArtistAyrShareInfo:output_type -> Cast.GetArtistAyrShareInfoResp + 149, // 297: Cast.Cast.GetArtistAyrShareInfoByPlatformIDs:output_type -> Cast.GetArtistAyrShareInfoByPlatformIDsResp + 152, // 298: Cast.Cast.ListWorkPlatformInfo:output_type -> Cast.ListWorkPlatformInfoResp + 160, // 299: Cast.Cast.UpsertTaskList:output_type -> Cast.UpsertTaskListResp + 163, // 300: Cast.Cast.GetTaskList:output_type -> Cast.GetTaskListResp + 165, // 301: Cast.Cast.ListTaskList:output_type -> Cast.ListTaskListResp + 222, // 302: Cast.Cast.DeleteTaskList:output_type -> google.protobuf.Empty + 170, // 303: Cast.Cast.UpdateCastTag:output_type -> Cast.UpdateCastTagResp + 173, // 304: Cast.Cast.ListCastTags:output_type -> Cast.ListCastTagsResp + 175, // 305: Cast.Cast.UpdateCastTagBatch:output_type -> Cast.UpdateCastTagBatchResp + 222, // 306: Cast.Cast.BatchUpdateCastTags:output_type -> google.protobuf.Empty + 222, // 307: Cast.Cast.UpdateCastTagStatus:output_type -> google.protobuf.Empty + 178, // 308: Cast.Cast.RecalculateCastTagQuoteCount:output_type -> Cast.RecalculateCastTagQuoteCountResp + 180, // 309: Cast.Cast.CreateCompetitiveReport:output_type -> Cast.CreateCompetitiveReportResp + 195, // 310: Cast.Cast.ImportCompetitiveReportBatch:output_type -> Cast.ImportCompetitiveReportBatchResp + 222, // 311: Cast.Cast.UpdateCompetitiveReportStatus:output_type -> google.protobuf.Empty + 189, // 312: Cast.Cast.GetCompetitiveReport:output_type -> Cast.GetCompetitiveReportDetailResp + 188, // 313: Cast.Cast.GetCompetitiveReportForApp:output_type -> Cast.GetCompetitiveReportForAppResp + 192, // 314: Cast.Cast.ListCompetitiveReport:output_type -> Cast.ListCompetitiveReportResp + 222, // 315: Cast.Cast.DeleteCompetitiveReport:output_type -> google.protobuf.Empty + 222, // 316: Cast.Cast.UpdateCompetitiveReportApprovalID:output_type -> google.protobuf.Empty + 198, // 317: Cast.Cast.CountCompetitiveReportByWorkUuids:output_type -> Cast.CountCompetitiveReportByWorkUuidsResp + 211, // 318: Cast.Cast.ListPublishLog:output_type -> Cast.ListPublishLogResp + 226, // [226:319] is the sub-list for method output_type + 133, // [133:226] is the sub-list for method input_type + 133, // [133:133] is the sub-list for extension type_name + 133, // [133:133] is the sub-list for extension extendee + 0, // [0:133] is the sub-list for field type_name } func init() { file_pb_fiee_cast_proto_init() } @@ -20496,7 +20852,7 @@ func file_pb_fiee_cast_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_pb_fiee_cast_proto_rawDesc), len(file_pb_fiee_cast_proto_rawDesc)), NumEnums: 9, - NumMessages: 210, + NumMessages: 213, NumExtensions: 0, NumServices: 1, }, diff --git a/api/cast/cast.pb.validate.go b/api/cast/cast.pb.validate.go index 24925e04..ab8af1a6 100644 --- a/api/cast/cast.pb.validate.go +++ b/api/cast/cast.pb.validate.go @@ -25351,6 +25351,392 @@ var _ interface { ErrorName() string } = UpdateMediaAccInfoReqValidationError{} +// Validate checks the field values on PublishLogInfo with the rules defined in +// the proto definition for this message. If any rules are violated, the first +// error encountered is returned, or nil if there are no violations. +func (m *PublishLogInfo) Validate() error { + return m.validate(false) +} + +// ValidateAll checks the field values on PublishLogInfo with the rules defined +// in the proto definition for this message. If any rules are violated, the +// result is a list of violation errors wrapped in PublishLogInfoMultiError, +// or nil if none found. +func (m *PublishLogInfo) ValidateAll() error { + return m.validate(true) +} + +func (m *PublishLogInfo) validate(all bool) error { + if m == nil { + return nil + } + + var errors []error + + // no validation rules for Uuid + + // no validation rules for WorkUuid + + // no validation rules for Title + + // no validation rules for PlatformID + + // no validation rules for PublishMediaID + + // no validation rules for PublishMediaStatus + + // no validation rules for PublishSource + + // no validation rules for Action + + // no validation rules for Detail + + // no validation rules for ArtistUuid + + // no validation rules for ArtistSubNum + + // no validation rules for CreatedAt + + // no validation rules for UpdatedAt + + if len(errors) > 0 { + return PublishLogInfoMultiError(errors) + } + + return nil +} + +// PublishLogInfoMultiError is an error wrapping multiple validation errors +// returned by PublishLogInfo.ValidateAll() if the designated constraints +// aren't met. +type PublishLogInfoMultiError []error + +// Error returns a concatenation of all the error messages it wraps. +func (m PublishLogInfoMultiError) Error() string { + msgs := make([]string, 0, len(m)) + for _, err := range m { + msgs = append(msgs, err.Error()) + } + return strings.Join(msgs, "; ") +} + +// AllErrors returns a list of validation violation errors. +func (m PublishLogInfoMultiError) AllErrors() []error { return m } + +// PublishLogInfoValidationError is the validation error returned by +// PublishLogInfo.Validate if the designated constraints aren't met. +type PublishLogInfoValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e PublishLogInfoValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e PublishLogInfoValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e PublishLogInfoValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e PublishLogInfoValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e PublishLogInfoValidationError) ErrorName() string { return "PublishLogInfoValidationError" } + +// Error satisfies the builtin error interface +func (e PublishLogInfoValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sPublishLogInfo.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = PublishLogInfoValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = PublishLogInfoValidationError{} + +// Validate checks the field values on ListPublishLogReq with the rules defined +// in the proto definition for this message. If any rules are violated, the +// first error encountered is returned, or nil if there are no violations. +func (m *ListPublishLogReq) Validate() error { + return m.validate(false) +} + +// ValidateAll checks the field values on ListPublishLogReq with the rules +// defined in the proto definition for this message. If any rules are +// violated, the result is a list of violation errors wrapped in +// ListPublishLogReqMultiError, or nil if none found. +func (m *ListPublishLogReq) ValidateAll() error { + return m.validate(true) +} + +func (m *ListPublishLogReq) validate(all bool) error { + if m == nil { + return nil + } + + var errors []error + + // no validation rules for WorkUuid + + // no validation rules for ArtistUuid + + // no validation rules for PlatformID + + // no validation rules for PublishMediaStatus + + // no validation rules for PublishSource + + // no validation rules for StartTime + + // no validation rules for EndTime + + // no validation rules for Page + + // no validation rules for PageSize + + // no validation rules for ArtistSubNum + + if len(errors) > 0 { + return ListPublishLogReqMultiError(errors) + } + + return nil +} + +// ListPublishLogReqMultiError is an error wrapping multiple validation errors +// returned by ListPublishLogReq.ValidateAll() if the designated constraints +// aren't met. +type ListPublishLogReqMultiError []error + +// Error returns a concatenation of all the error messages it wraps. +func (m ListPublishLogReqMultiError) Error() string { + msgs := make([]string, 0, len(m)) + for _, err := range m { + msgs = append(msgs, err.Error()) + } + return strings.Join(msgs, "; ") +} + +// AllErrors returns a list of validation violation errors. +func (m ListPublishLogReqMultiError) AllErrors() []error { return m } + +// ListPublishLogReqValidationError is the validation error returned by +// ListPublishLogReq.Validate if the designated constraints aren't met. +type ListPublishLogReqValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e ListPublishLogReqValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e ListPublishLogReqValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e ListPublishLogReqValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e ListPublishLogReqValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e ListPublishLogReqValidationError) ErrorName() string { + return "ListPublishLogReqValidationError" +} + +// Error satisfies the builtin error interface +func (e ListPublishLogReqValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sListPublishLogReq.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = ListPublishLogReqValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = ListPublishLogReqValidationError{} + +// Validate checks the field values on ListPublishLogResp with the rules +// defined in the proto definition for this message. If any rules are +// violated, the first error encountered is returned, or nil if there are no violations. +func (m *ListPublishLogResp) Validate() error { + return m.validate(false) +} + +// ValidateAll checks the field values on ListPublishLogResp with the rules +// defined in the proto definition for this message. If any rules are +// violated, the result is a list of violation errors wrapped in +// ListPublishLogRespMultiError, or nil if none found. +func (m *ListPublishLogResp) ValidateAll() error { + return m.validate(true) +} + +func (m *ListPublishLogResp) validate(all bool) error { + if m == nil { + return nil + } + + var errors []error + + for idx, item := range m.GetData() { + _, _ = idx, item + + if all { + switch v := interface{}(item).(type) { + case interface{ ValidateAll() error }: + if err := v.ValidateAll(); err != nil { + errors = append(errors, ListPublishLogRespValidationError{ + field: fmt.Sprintf("Data[%v]", idx), + reason: "embedded message failed validation", + cause: err, + }) + } + case interface{ Validate() error }: + if err := v.Validate(); err != nil { + errors = append(errors, ListPublishLogRespValidationError{ + field: fmt.Sprintf("Data[%v]", idx), + reason: "embedded message failed validation", + cause: err, + }) + } + } + } else if v, ok := interface{}(item).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return ListPublishLogRespValidationError{ + field: fmt.Sprintf("Data[%v]", idx), + reason: "embedded message failed validation", + cause: err, + } + } + } + + } + + // no validation rules for Count + + if len(errors) > 0 { + return ListPublishLogRespMultiError(errors) + } + + return nil +} + +// ListPublishLogRespMultiError is an error wrapping multiple validation errors +// returned by ListPublishLogResp.ValidateAll() if the designated constraints +// aren't met. +type ListPublishLogRespMultiError []error + +// Error returns a concatenation of all the error messages it wraps. +func (m ListPublishLogRespMultiError) Error() string { + msgs := make([]string, 0, len(m)) + for _, err := range m { + msgs = append(msgs, err.Error()) + } + return strings.Join(msgs, "; ") +} + +// AllErrors returns a list of validation violation errors. +func (m ListPublishLogRespMultiError) AllErrors() []error { return m } + +// ListPublishLogRespValidationError is the validation error returned by +// ListPublishLogResp.Validate if the designated constraints aren't met. +type ListPublishLogRespValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e ListPublishLogRespValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e ListPublishLogRespValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e ListPublishLogRespValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e ListPublishLogRespValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e ListPublishLogRespValidationError) ErrorName() string { + return "ListPublishLogRespValidationError" +} + +// Error satisfies the builtin error interface +func (e ListPublishLogRespValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sListPublishLogResp.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = ListPublishLogRespValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = ListPublishLogRespValidationError{} + // Validate checks the field values on WorkListResp_Info with the rules defined // in the proto definition for this message. If any rules are violated, the // first error encountered is returned, or nil if there are no violations. diff --git a/api/cast/cast_triple.pb.go b/api/cast/cast_triple.pb.go index 0b69c55a..029d435b 100644 --- a/api/cast/cast_triple.pb.go +++ b/api/cast/cast_triple.pb.go @@ -136,6 +136,8 @@ type CastClient interface { DeleteCompetitiveReport(ctx context.Context, in *DeleteCompetitiveReportReq, opts ...grpc_go.CallOption) (*emptypb.Empty, common.ErrorWithAttachment) UpdateCompetitiveReportApprovalID(ctx context.Context, in *UpdateCompetitiveReportApprovalIDReq, opts ...grpc_go.CallOption) (*emptypb.Empty, common.ErrorWithAttachment) CountCompetitiveReportByWorkUuids(ctx context.Context, in *CountCompetitiveReportByWorkUuidsReq, opts ...grpc_go.CallOption) (*CountCompetitiveReportByWorkUuidsResp, common.ErrorWithAttachment) + // 发布记录相关接口 + ListPublishLog(ctx context.Context, in *ListPublishLogReq, opts ...grpc_go.CallOption) (*ListPublishLogResp, common.ErrorWithAttachment) } type castClient struct { @@ -235,6 +237,7 @@ type CastClientImpl struct { DeleteCompetitiveReport func(ctx context.Context, in *DeleteCompetitiveReportReq) (*emptypb.Empty, error) UpdateCompetitiveReportApprovalID func(ctx context.Context, in *UpdateCompetitiveReportApprovalIDReq) (*emptypb.Empty, error) CountCompetitiveReportByWorkUuids func(ctx context.Context, in *CountCompetitiveReportByWorkUuidsReq) (*CountCompetitiveReportByWorkUuidsResp, error) + ListPublishLog func(ctx context.Context, in *ListPublishLogReq) (*ListPublishLogResp, error) } func (c *CastClientImpl) GetDubboStub(cc *triple.TripleConn) CastClient { @@ -801,6 +804,12 @@ func (c *castClient) CountCompetitiveReportByWorkUuids(ctx context.Context, in * return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/CountCompetitiveReportByWorkUuids", in, out) } +func (c *castClient) ListPublishLog(ctx context.Context, in *ListPublishLogReq, opts ...grpc_go.CallOption) (*ListPublishLogResp, common.ErrorWithAttachment) { + out := new(ListPublishLogResp) + interfaceKey := ctx.Value(constant.InterfaceKey).(string) + return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/ListPublishLog", in, out) +} + // CastServer is the server API for Cast service. // All implementations must embed UnimplementedCastServer // for forward compatibility @@ -912,6 +921,8 @@ type CastServer interface { DeleteCompetitiveReport(context.Context, *DeleteCompetitiveReportReq) (*emptypb.Empty, error) UpdateCompetitiveReportApprovalID(context.Context, *UpdateCompetitiveReportApprovalIDReq) (*emptypb.Empty, error) CountCompetitiveReportByWorkUuids(context.Context, *CountCompetitiveReportByWorkUuidsReq) (*CountCompetitiveReportByWorkUuidsResp, error) + // 发布记录相关接口 + ListPublishLog(context.Context, *ListPublishLogReq) (*ListPublishLogResp, error) mustEmbedUnimplementedCastServer() } @@ -1196,6 +1207,9 @@ func (UnimplementedCastServer) UpdateCompetitiveReportApprovalID(context.Context func (UnimplementedCastServer) CountCompetitiveReportByWorkUuids(context.Context, *CountCompetitiveReportByWorkUuidsReq) (*CountCompetitiveReportByWorkUuidsResp, error) { return nil, status.Errorf(codes.Unimplemented, "method CountCompetitiveReportByWorkUuids not implemented") } +func (UnimplementedCastServer) ListPublishLog(context.Context, *ListPublishLogReq) (*ListPublishLogResp, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListPublishLog not implemented") +} func (s *UnimplementedCastServer) XXX_SetProxyImpl(impl protocol.Invoker) { s.proxyImpl = impl } @@ -3892,6 +3906,35 @@ func _Cast_CountCompetitiveReportByWorkUuids_Handler(srv interface{}, ctx contex return interceptor(ctx, in, info, handler) } +func _Cast_ListPublishLog_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { + in := new(ListPublishLogReq) + if err := dec(in); err != nil { + return nil, err + } + base := srv.(dubbo3.Dubbo3GrpcService) + args := []interface{}{} + args = append(args, in) + md, _ := metadata.FromIncomingContext(ctx) + invAttachment := make(map[string]interface{}, len(md)) + for k, v := range md { + invAttachment[k] = v + } + invo := invocation.NewRPCInvocation("ListPublishLog", args, invAttachment) + if interceptor == nil { + result := base.XXX_GetProxyImpl().Invoke(ctx, invo) + return result, result.Error() + } + info := &grpc_go.UnaryServerInfo{ + Server: srv, + FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string), + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + result := base.XXX_GetProxyImpl().Invoke(ctx, invo) + return result, result.Error() + } + return interceptor(ctx, in, info, handler) +} + // Cast_ServiceDesc is the grpc_go.ServiceDesc for Cast service. // It's only intended for direct use with grpc_go.RegisterService, // and not to be introspected or modified (even as a copy) @@ -4267,6 +4310,10 @@ var Cast_ServiceDesc = grpc_go.ServiceDesc{ MethodName: "CountCompetitiveReportByWorkUuids", Handler: _Cast_CountCompetitiveReportByWorkUuids_Handler, }, + { + MethodName: "ListPublishLog", + Handler: _Cast_ListPublishLog_Handler, + }, }, Streams: []grpc_go.StreamDesc{}, Metadata: "pb/fiee/cast.proto", diff --git a/pkg/router/media.go b/pkg/router/media.go index 292d2214..b4e9f74f 100644 --- a/pkg/router/media.go +++ b/pkg/router/media.go @@ -75,6 +75,11 @@ func MediaRouter(r *gin.RouterGroup) { task.POST("download", serviceCast.DownloadTaskFile) } + publishLog := auth.Group("publish-log") + { + publishLog.POST("list", serviceCast.PublishLogList) + } + layout := auth.Group("layout") { layout.POST("update", serviceCast.LayoutUpdate) diff --git a/pkg/service/cast/publish_log.go b/pkg/service/cast/publish_log.go new file mode 100644 index 00000000..ff24e2c2 --- /dev/null +++ b/pkg/service/cast/publish_log.go @@ -0,0 +1,25 @@ +package cast + +import ( + "context" + + "fonchain-fiee/api/cast" + "fonchain-fiee/pkg/service" + + "github.com/gin-gonic/gin" +) + +// PublishLogList 查询发布记录列表 +func PublishLogList(ctx *gin.Context) { + var req cast.ListPublishLogReq + if err := ctx.ShouldBind(&req); err != nil { + service.Error(ctx, err) + return + } + resp, err := service.CastProvider.ListPublishLog(context.Background(), &req) + if err != nil { + service.Error(ctx, err) + return + } + service.Success(ctx, resp) +} From d526db4c3132e13a53930bd6d6cd7b358b875cc1 Mon Sep 17 00:00:00 2001 From: daiyb <570056418@qq.com> Date: Thu, 26 Feb 2026 14:41:14 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=8F=91=E5=B8=83=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/cast/cast.pb.go | 71 ++++++++++++++++++++++++++++++------ api/cast/cast.pb.validate.go | 14 ++++++- pkg/router/media.go | 6 +-- 3 files changed, 72 insertions(+), 19 deletions(-) diff --git a/api/cast/cast.pb.go b/api/cast/cast.pb.go index 6c399c00..e4c3363b 100644 --- a/api/cast/cast.pb.go +++ b/api/cast/cast.pb.go @@ -16928,6 +16928,8 @@ type PublishLogInfo struct { ArtistSubNum string `protobuf:"bytes,11,opt,name=artistSubNum,proto3" json:"artistSubNum"` // 艺人订阅号 CreatedAt string `protobuf:"bytes,12,opt,name=createdAt,proto3" json:"createdAt"` // 创建时间 UpdatedAt string `protobuf:"bytes,13,opt,name=updatedAt,proto3" json:"updatedAt"` // 更新时间 + WorkCategory uint32 `protobuf:"varint,14,opt,name=workCategory,proto3" json:"workCategory"` + ArtistName string `protobuf:"bytes,15,opt,name=artistName,proto3" json:"artistName"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -17053,6 +17055,20 @@ func (x *PublishLogInfo) GetUpdatedAt() string { return "" } +func (x *PublishLogInfo) GetWorkCategory() uint32 { + if x != nil { + return x.WorkCategory + } + return 0 +} + +func (x *PublishLogInfo) GetArtistName() string { + if x != nil { + return x.ArtistName + } + return "" +} + // 查询发布记录列表请求 type ListPublishLogReq struct { state protoimpl.MessageState `protogen:"open.v1"` @@ -17061,11 +17077,14 @@ type ListPublishLogReq struct { PlatformID uint32 `protobuf:"varint,3,opt,name=platformID,proto3" json:"platformID"` // 平台ID(可选,0表示不过滤) PublishMediaStatus int32 `protobuf:"varint,4,opt,name=publishMediaStatus,proto3" json:"publishMediaStatus"` // 发布状态(可选,-1表示不过滤) PublishSource uint32 `protobuf:"varint,5,opt,name=publishSource,proto3" json:"publishSource"` // 发布来源(可选,0表示不过滤) - StartTime string `protobuf:"bytes,6,opt,name=startTime,proto3" json:"startTime"` // 开始时间(可选) - EndTime string `protobuf:"bytes,7,opt,name=endTime,proto3" json:"endTime"` // 结束时间(可选) + PublishStartTime string `protobuf:"bytes,6,opt,name=publishStartTime,proto3" json:"publishStartTime"` // 开始时间(可选) + PublishEndTime string `protobuf:"bytes,7,opt,name=publishEndTime,proto3" json:"publishEndTime"` // 结束时间(可选) Page int32 `protobuf:"varint,8,opt,name=page,proto3" json:"page"` // 页码 PageSize int32 `protobuf:"varint,9,opt,name=pageSize,proto3" json:"pageSize"` // 每页数量 ArtistSubNum string `protobuf:"bytes,10,opt,name=artistSubNum,proto3" json:"artistSubNum"` // 艺人订阅号(可选) + ArtistKeyword string `protobuf:"bytes,11,opt,name=artistKeyword,proto3" json:"artistKeyword"` + Title string `protobuf:"bytes,12,opt,name=title,proto3" json:"title"` + WorkCategory uint32 `protobuf:"varint,13,opt,name=workCategory,proto3" json:"workCategory"` // 作品类型(可选,0表示不过滤) unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -17135,16 +17154,16 @@ func (x *ListPublishLogReq) GetPublishSource() uint32 { return 0 } -func (x *ListPublishLogReq) GetStartTime() string { +func (x *ListPublishLogReq) GetPublishStartTime() string { if x != nil { - return x.StartTime + return x.PublishStartTime } return "" } -func (x *ListPublishLogReq) GetEndTime() string { +func (x *ListPublishLogReq) GetPublishEndTime() string { if x != nil { - return x.EndTime + return x.PublishEndTime } return "" } @@ -17170,6 +17189,27 @@ func (x *ListPublishLogReq) GetArtistSubNum() string { return "" } +func (x *ListPublishLogReq) GetArtistKeyword() string { + if x != nil { + return x.ArtistKeyword + } + return "" +} + +func (x *ListPublishLogReq) GetTitle() string { + if x != nil { + return x.Title + } + return "" +} + +func (x *ListPublishLogReq) GetWorkCategory() uint32 { + if x != nil { + return x.WorkCategory + } + return 0 +} + // 查询发布记录列表响应 type ListPublishLogResp struct { state protoimpl.MessageState `protogen:"open.v1"` @@ -20085,7 +20125,7 @@ const file_pb_fiee_cast_proto_rawDesc = "" + "\x06remark\x18\x05 \x01(\tR\x06remark\x124\n" + "\n" + "authStatus\x18\x06 \x01(\x0e2\x14.Cast.AuthStatusENUMR\n" + - "authStatus\"\xa4\x03\n" + + "authStatus\"\xe8\x03\n" + "\x0ePublishLogInfo\x12\x12\n" + "\x04uuid\x18\x01 \x01(\tR\x04uuid\x12\x1a\n" + "\bworkUuid\x18\x02 \x01(\tR\bworkUuid\x12\x14\n" + @@ -20104,7 +20144,11 @@ const file_pb_fiee_cast_proto_rawDesc = "" + "artistUuid\x12\"\n" + "\fartistSubNum\x18\v \x01(\tR\fartistSubNum\x12\x1c\n" + "\tcreatedAt\x18\f \x01(\tR\tcreatedAt\x12\x1c\n" + - "\tupdatedAt\x18\r \x01(\tR\tupdatedAt\"\xd1\x02\n" + + "\tupdatedAt\x18\r \x01(\tR\tupdatedAt\x12\"\n" + + "\fworkCategory\x18\x0e \x01(\rR\fworkCategory\x12\x1e\n" + + "\n" + + "artistName\x18\x0f \x01(\tR\n" + + "artistName\"\xcd\x03\n" + "\x11ListPublishLogReq\x12\x1a\n" + "\bworkUuid\x18\x01 \x01(\tR\bworkUuid\x12\x1e\n" + "\n" + @@ -20114,13 +20158,16 @@ const file_pb_fiee_cast_proto_rawDesc = "" + "platformID\x18\x03 \x01(\rR\n" + "platformID\x12.\n" + "\x12publishMediaStatus\x18\x04 \x01(\x05R\x12publishMediaStatus\x12$\n" + - "\rpublishSource\x18\x05 \x01(\rR\rpublishSource\x12\x1c\n" + - "\tstartTime\x18\x06 \x01(\tR\tstartTime\x12\x18\n" + - "\aendTime\x18\a \x01(\tR\aendTime\x12\x12\n" + + "\rpublishSource\x18\x05 \x01(\rR\rpublishSource\x12*\n" + + "\x10publishStartTime\x18\x06 \x01(\tR\x10publishStartTime\x12&\n" + + "\x0epublishEndTime\x18\a \x01(\tR\x0epublishEndTime\x12\x12\n" + "\x04page\x18\b \x01(\x05R\x04page\x12\x1a\n" + "\bpageSize\x18\t \x01(\x05R\bpageSize\x12\"\n" + "\fartistSubNum\x18\n" + - " \x01(\tR\fartistSubNum\"T\n" + + " \x01(\tR\fartistSubNum\x12$\n" + + "\rartistKeyword\x18\v \x01(\tR\rartistKeyword\x12\x14\n" + + "\x05title\x18\f \x01(\tR\x05title\x12\"\n" + + "\fworkCategory\x18\r \x01(\rR\fworkCategory\"T\n" + "\x12ListPublishLogResp\x12(\n" + "\x04data\x18\x01 \x03(\v2\x14.Cast.PublishLogInfoR\x04data\x12\x14\n" + "\x05count\x18\x02 \x01(\x03R\x05count*T\n" + diff --git a/api/cast/cast.pb.validate.go b/api/cast/cast.pb.validate.go index ab8af1a6..0724dddc 100644 --- a/api/cast/cast.pb.validate.go +++ b/api/cast/cast.pb.validate.go @@ -25399,6 +25399,10 @@ func (m *PublishLogInfo) validate(all bool) error { // no validation rules for UpdatedAt + // no validation rules for WorkCategory + + // no validation rules for ArtistName + if len(errors) > 0 { return PublishLogInfoMultiError(errors) } @@ -25509,9 +25513,9 @@ func (m *ListPublishLogReq) validate(all bool) error { // no validation rules for PublishSource - // no validation rules for StartTime + // no validation rules for PublishStartTime - // no validation rules for EndTime + // no validation rules for PublishEndTime // no validation rules for Page @@ -25519,6 +25523,12 @@ func (m *ListPublishLogReq) validate(all bool) error { // no validation rules for ArtistSubNum + // no validation rules for ArtistKeyword + + // no validation rules for Title + + // no validation rules for WorkCategory + if len(errors) > 0 { return ListPublishLogReqMultiError(errors) } diff --git a/pkg/router/media.go b/pkg/router/media.go index b4e9f74f..74ac0ff8 100644 --- a/pkg/router/media.go +++ b/pkg/router/media.go @@ -50,6 +50,7 @@ func MediaRouter(r *gin.RouterGroup) { work.POST("import-batch", serviceCast.ImportWorkBatch) work.POST("list-published", serviceCast.WorkListPublished) work.POST("update-work-script", serviceCast.UpdateWorkScript) + work.POST("publish-log-list", serviceCast.PublishLogList) } workNoAuth := noAuth.Group("work") @@ -75,11 +76,6 @@ func MediaRouter(r *gin.RouterGroup) { task.POST("download", serviceCast.DownloadTaskFile) } - publishLog := auth.Group("publish-log") - { - publishLog.POST("list", serviceCast.PublishLogList) - } - layout := auth.Group("layout") { layout.POST("update", serviceCast.LayoutUpdate)