修改任务列表

This commit is contained in:
戴育兵 2026-01-14 13:52:01 +08:00
commit 9d1adef700
5 changed files with 367 additions and 295 deletions

View File

@ -3329,6 +3329,7 @@ type WorkInfoResp struct {
WorkCategory uint32 `protobuf:"varint,6,opt,name=workCategory,proto3" json:"workCategory"`
PlatformInfoData []*PlatformInfo `protobuf:"bytes,7,rep,name=platformInfoData,proto3" json:"platformInfoData"`
Title string `protobuf:"bytes,8,opt,name=title,proto3" json:"title"`
PublishStatus PublishStatusENUM `protobuf:"varint,9,opt,name=publishStatus,proto3,enum=Cast.PublishStatusENUM" json:"publishStatus"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
@ -3419,6 +3420,13 @@ func (x *WorkInfoResp) GetTitle() string {
return ""
}
func (x *WorkInfoResp) GetPublishStatus() PublishStatusENUM {
if x != nil {
return x.PublishStatus
}
return PublishStatusENUM_PublishMediaStatus_NO
}
// 发布成功的作品列表请求
type WorkListPublishedReq struct {
state protoimpl.MessageState `protogen:"open.v1"`
@ -17287,7 +17295,7 @@ const file_pb_fiee_cast_proto_rawDesc = "" +
"DelWorkReq\x12\x1a\n" +
"\bworkUuid\x18\x01 \x01(\tR\bworkUuid\")\n" +
"\vWorkInfoReq\x12\x1a\n" +
"\bworkUuid\x18\x01 \x01(\tR\bworkUuid\"\xbc\x02\n" +
"\bworkUuid\x18\x01 \x01(\tR\bworkUuid\"\xfb\x02\n" +
"\fWorkInfoResp\x12\x1e\n" +
"\n" +
"workStatus\x18\x01 \x01(\rR\n" +
@ -17302,7 +17310,8 @@ const file_pb_fiee_cast_proto_rawDesc = "" +
"\x13artistPhoneAreaCode\x18\x05 \x01(\tR\x13artistPhoneAreaCode\x12\"\n" +
"\fworkCategory\x18\x06 \x01(\rR\fworkCategory\x12>\n" +
"\x10platformInfoData\x18\a \x03(\v2\x12.Cast.PlatformInfoR\x10platformInfoData\x12\x14\n" +
"\x05title\x18\b \x01(\tR\x05title\"f\n" +
"\x05title\x18\b \x01(\tR\x05title\x12=\n" +
"\rpublishStatus\x18\t \x01(\x0e2\x17.Cast.PublishStatusENUMR\rpublishStatus\"f\n" +
"\x14WorkListPublishedReq\x12\x1e\n" +
"\n" +
"artistUuid\x18\x01 \x01(\tR\n" +
@ -19136,268 +19145,269 @@ var file_pb_fiee_cast_proto_depIdxs = []int32{
201, // 35: Cast.MediaWorksResp.data:type_name -> Cast.MediaWorksResp.Info
202, // 36: Cast.PublishResp.data:type_name -> Cast.PublishResp.Info
48, // 37: Cast.WorkInfoResp.platformInfoData:type_name -> Cast.PlatformInfo
203, // 38: Cast.WorkListPublishedResp.data:type_name -> Cast.WorkListPublishedResp.Info
16, // 39: Cast.ImportWorkBatchReq.imageWorks:type_name -> Cast.UpdateWorkImageReq
16, // 40: Cast.ImportWorkBatchResp.imageWorks:type_name -> Cast.UpdateWorkImageReq
4, // 41: Cast.PlatformInfo.publishMediaStatus:type_name -> Cast.PublishStatusENUM
48, // 42: Cast.UpdateWorkPlatformInfoReq.PlatformInfoData:type_name -> Cast.PlatformInfo
0, // 43: Cast.UpdateWorkPublishLogReq.platformID:type_name -> Cast.PlatformIDENUM
204, // 44: Cast.RefreshWorkListResp.Data:type_name -> Cast.RefreshWorkListResp.Info
0, // 45: Cast.OAuthCodeToTokenReq.platformID:type_name -> Cast.PlatformIDENUM
206, // 46: Cast.UpdateOAuthReq.Data:type_name -> Cast.UpdateOAuthReq.Info
0, // 47: Cast.RefreshTokenReq.platformID:type_name -> Cast.PlatformIDENUM
73, // 48: Cast.ListVideoScriptsResp.data:type_name -> Cast.VideoScriptInfo
73, // 49: Cast.UpdateVideoScriptBatchReq.data:type_name -> Cast.VideoScriptInfo
73, // 50: Cast.UpdateVideoScriptBatchResp.data:type_name -> Cast.VideoScriptInfo
2, // 51: Cast.UpdateScriptStatusReq.workAction:type_name -> Cast.WorkActionENUM
6, // 52: Cast.UpdatePromptReq.category:type_name -> Cast.CategoryENUM
6, // 53: Cast.GetPromptResp.category:type_name -> Cast.CategoryENUM
6, // 54: Cast.ListPromptsReq.category:type_name -> Cast.CategoryENUM
6, // 55: Cast.PromptInfo.category:type_name -> Cast.CategoryENUM
87, // 56: Cast.ListPromptsResp.data:type_name -> Cast.PromptInfo
87, // 57: Cast.UpdatePromptBatchReq.data:type_name -> Cast.PromptInfo
87, // 58: Cast.UpdatePromptBatchResp.data:type_name -> Cast.PromptInfo
91, // 59: Cast.UpdateArtistReq.artistInfo:type_name -> Cast.ArtistInfo
91, // 60: Cast.GetArtistResp.artistInfo:type_name -> Cast.ArtistInfo
2, // 61: Cast.UpdateWorkAnalysisStatusReq.workAction:type_name -> Cast.WorkActionENUM
101, // 62: Cast.GetWorkAnalysisResp.fansSeries:type_name -> Cast.WorkAnalysisFansSeries
102, // 63: Cast.GetWorkAnalysisResp.viewsSeries:type_name -> Cast.WorkAnalysisViewsSeries
103, // 64: Cast.GetWorkAnalysisResp.likesSeries:type_name -> Cast.WorkAnalysisLikesSeries
104, // 65: Cast.GetWorkAnalysisResp.commentsSeries:type_name -> Cast.WorkAnalysisCommentsSeries
105, // 66: Cast.GetWorkAnalysisResp.sharesSeries:type_name -> Cast.WorkAnalysisSharesSeries
106, // 67: Cast.GetWorkAnalysisResp.topCitiesSeries:type_name -> Cast.WorkAnalysisTopCities
107, // 68: Cast.GetWorkAnalysisResp.mostActiveDaySeries:type_name -> Cast.WorkAnalysisMostActiveDay
108, // 69: Cast.GetWorkAnalysisResp.bestPostTimeSeries:type_name -> Cast.WorkAnalysisBestPostTime
100, // 70: Cast.GetWorkAnalysisDetailResp.WorkAnalysisLogData:type_name -> Cast.WorkAnalysisLogInfo
101, // 71: Cast.GetWorkAnalysisDetailResp.fansSeries:type_name -> Cast.WorkAnalysisFansSeries
102, // 72: Cast.GetWorkAnalysisDetailResp.viewsSeries:type_name -> Cast.WorkAnalysisViewsSeries
103, // 73: Cast.GetWorkAnalysisDetailResp.likesSeries:type_name -> Cast.WorkAnalysisLikesSeries
104, // 74: Cast.GetWorkAnalysisDetailResp.commentsSeries:type_name -> Cast.WorkAnalysisCommentsSeries
105, // 75: Cast.GetWorkAnalysisDetailResp.sharesSeries:type_name -> Cast.WorkAnalysisSharesSeries
106, // 76: Cast.GetWorkAnalysisDetailResp.topCitiesSeries:type_name -> Cast.WorkAnalysisTopCities
107, // 77: Cast.GetWorkAnalysisDetailResp.mostActiveDaySeries:type_name -> Cast.WorkAnalysisMostActiveDay
108, // 78: Cast.GetWorkAnalysisDetailResp.bestPostTimeSeries:type_name -> Cast.WorkAnalysisBestPostTime
109, // 79: Cast.GetWorkAnalysisDetailResp.extra:type_name -> Cast.WorkAnalysisExtra
115, // 80: Cast.ListWorkAnalysisResp.data:type_name -> Cast.WorkAnalysisInfo
119, // 81: Cast.ArtistDataListResp.data:type_name -> Cast.ArtistDataRespItem
122, // 82: Cast.MediaDataListResp.data:type_name -> Cast.MediaDataListItem
101, // 83: Cast.ArtistMetricsSeriesResp.fansSeries:type_name -> Cast.WorkAnalysisFansSeries
102, // 84: Cast.ArtistMetricsSeriesResp.viewsSeries:type_name -> Cast.WorkAnalysisViewsSeries
103, // 85: Cast.ArtistMetricsSeriesResp.likesSeries:type_name -> Cast.WorkAnalysisLikesSeries
104, // 86: Cast.ArtistMetricsSeriesResp.commentsSeries:type_name -> Cast.WorkAnalysisCommentsSeries
105, // 87: Cast.ArtistMetricsSeriesResp.sharesSeries:type_name -> Cast.WorkAnalysisSharesSeries
108, // 88: Cast.ArtistMetricsSeriesResp.bestPostTime:type_name -> Cast.WorkAnalysisBestPostTime
107, // 89: Cast.ArtistMetricsSeriesResp.mostActiveDay:type_name -> Cast.WorkAnalysisMostActiveDay
129, // 90: Cast.ArtistMetricsDailyWindowResp.fans:type_name -> Cast.SimplePoint
129, // 91: Cast.ArtistMetricsDailyWindowResp.views:type_name -> Cast.SimplePoint
129, // 92: Cast.ArtistMetricsDailyWindowResp.likes:type_name -> Cast.SimplePoint
129, // 93: Cast.ArtistMetricsDailyWindowResp.comments:type_name -> Cast.SimplePoint
129, // 94: Cast.ArtistMetricsDailyWindowResp.shares:type_name -> Cast.SimplePoint
130, // 95: Cast.ArtistMetricsDailyWindowResp.bestPostTime:type_name -> Cast.BestPostTimePoint
131, // 96: Cast.ArtistMetricsDailyWindowResp.mostActiveDay:type_name -> Cast.MostActiveDayPoint
134, // 97: Cast.TobeConfirmedListResp.data:type_name -> Cast.TobeConfirmedItem
137, // 98: Cast.UpsertMediaMetricsDailyBatchReq.data:type_name -> Cast.MediaMetricsDailyItem
140, // 99: Cast.UpsertWorkMetricsDailyBatchReq.data:type_name -> Cast.WorkMetricsDailyItem
144, // 100: Cast.GetArtistAyrShareInfoResp.data:type_name -> Cast.ArtistAyrShareInfo
144, // 101: Cast.GetArtistAyrShareInfoByPlatformIDsResp.data:type_name -> Cast.ArtistAyrShareInfo
149, // 102: Cast.ListWorkPlatformInfoResp.data:type_name -> Cast.WorkPlatformInfo
152, // 103: Cast.ListMediaMetricsDailyResp.data:type_name -> Cast.MediaMetricsDailyInfo
155, // 104: Cast.ListWorkMetricsDailyResp.data:type_name -> Cast.WorkMetricsDailyInfo
160, // 105: Cast.GetTaskListResp.data:type_name -> Cast.TaskListInfo
160, // 106: Cast.ListTaskListResp.data:type_name -> Cast.TaskListInfo
170, // 107: Cast.ListCastTagsResp.data:type_name -> Cast.CastTagInfo
170, // 108: Cast.UpdateCastTagBatchReq.data:type_name -> Cast.CastTagInfo
170, // 109: Cast.UpdateCastTagBatchResp.data:type_name -> Cast.CastTagInfo
170, // 110: Cast.BatchUpdateCastTagsReq.data:type_name -> Cast.CastTagInfo
2, // 111: Cast.UpdateCompetitiveReportStatusReq.workAction:type_name -> Cast.WorkActionENUM
182, // 112: Cast.GetCompetitiveReportDetailResp.reportLogData:type_name -> Cast.CompetitiveReportLogInfo
183, // 113: Cast.GetCompetitiveReportDetailResp.extra:type_name -> Cast.CompetitiveReportExtra
189, // 114: Cast.ListCompetitiveReportResp.data:type_name -> Cast.CompetitiveReportInfo
177, // 115: Cast.ImportCompetitiveReportBatchReq.reports:type_name -> Cast.CreateCompetitiveReportReq
177, // 116: Cast.ImportCompetitiveReportBatchResp.reports:type_name -> Cast.CreateCompetitiveReportReq
195, // 117: Cast.CountCompetitiveReportByWorkUuidsResp.data:type_name -> Cast.WorkUuidCount
198, // 118: Cast.WorkListResp.Info.PublishMediaIDs:type_name -> Cast.WorkListResp.Info.PublishMediaIDsEntry
9, // 119: Cast.WorkDetailResp.MediaAccDataEntry.value:type_name -> Cast.MediaUserInfo
205, // 120: Cast.RefreshWorkListResp.Info.PlatformInfoData:type_name -> Cast.RefreshWorkListResp.Info.PlatformInfo
0, // 121: Cast.RefreshWorkListResp.Info.PlatformInfo.platformID:type_name -> Cast.PlatformIDENUM
0, // 122: Cast.UpdateOAuthReq.Info.platformID:type_name -> Cast.PlatformIDENUM
8, // 123: Cast.Cast.MediaUserList:input_type -> Cast.MediaUserListReq
11, // 124: Cast.Cast.UpdateMediaAccount:input_type -> Cast.UpdateMediaAccountReq
13, // 125: Cast.Cast.UnbindManager:input_type -> Cast.UnbindManagerReq
15, // 126: Cast.Cast.BindManager:input_type -> Cast.BindManagerReq
16, // 127: Cast.Cast.UpdateWorkImage:input_type -> Cast.UpdateWorkImageReq
19, // 128: Cast.Cast.UpdateWorkVideo:input_type -> Cast.UpdateWorkVideoReq
21, // 129: Cast.Cast.MediaInfo:input_type -> Cast.MediaInfoReq
23, // 130: Cast.Cast.MediaInfoByPlatform:input_type -> Cast.MediaInfoByPlatformReq
25, // 131: Cast.Cast.WorkList:input_type -> Cast.WorkListReq
42, // 132: Cast.Cast.WorkListPublished:input_type -> Cast.WorkListPublishedReq
27, // 133: Cast.Cast.WorkDetail:input_type -> Cast.WorkDetailReq
30, // 134: Cast.Cast.UpdateStatus:input_type -> Cast.UpdateStatusReq
31, // 135: Cast.Cast.MediaAccounts:input_type -> Cast.MediaAccountsReq
33, // 136: Cast.Cast.MediaWorks:input_type -> Cast.MediaWorksReq
35, // 137: Cast.Cast.Publish:input_type -> Cast.PublishReq
37, // 138: Cast.Cast.RePublish:input_type -> Cast.RePublishReq
39, // 139: Cast.Cast.DelWork:input_type -> Cast.DelWorkReq
40, // 140: Cast.Cast.WorkInfo:input_type -> Cast.WorkInfoReq
44, // 141: Cast.Cast.ArtistInfo:input_type -> Cast.ArtistInfoReq
46, // 142: Cast.Cast.ImportWorkBatch:input_type -> Cast.ImportWorkBatchReq
49, // 143: Cast.Cast.UpdateWorkPlatformInfo:input_type -> Cast.UpdateWorkPlatformInfoReq
51, // 144: Cast.Cast.UpdateWorkPublishLog:input_type -> Cast.UpdateWorkPublishLogReq
52, // 145: Cast.Cast.RefreshWorkList:input_type -> Cast.RefreshWorkListReq
54, // 146: Cast.Cast.OAuthAccount:input_type -> Cast.OAuthAccountReq
56, // 147: Cast.Cast.OAuthAccountV2:input_type -> Cast.OAuthAccountV2Req
60, // 148: Cast.Cast.OAuthCodeToToken:input_type -> Cast.OAuthCodeToTokenReq
62, // 149: Cast.Cast.UpdateOAuth:input_type -> Cast.UpdateOAuthReq
63, // 150: Cast.Cast.RefreshToken:input_type -> Cast.RefreshTokenReq
65, // 151: Cast.Cast.PublishMediaInfo:input_type -> Cast.PublishMediaInfoReq
67, // 152: Cast.Cast.Tools:input_type -> Cast.ToolsReq
68, // 153: Cast.Cast.UpdateVideoScript:input_type -> Cast.UpdateVideoScriptReq
70, // 154: Cast.Cast.GetVideoScript:input_type -> Cast.GetVideoScriptReq
72, // 155: Cast.Cast.ListVideoScripts:input_type -> Cast.ListVideoScriptsReq
75, // 156: Cast.Cast.DeleteVideoScript:input_type -> Cast.DeleteVideoScriptReq
76, // 157: Cast.Cast.UpdateVideoScriptBatch:input_type -> Cast.UpdateVideoScriptBatchReq
78, // 158: Cast.Cast.UpdateScriptStatus:input_type -> Cast.UpdateScriptStatusReq
80, // 159: Cast.Cast.GetLayout:input_type -> Cast.GetLayoutReq
79, // 160: Cast.Cast.SetLayout:input_type -> Cast.SetLayoutReq
82, // 161: Cast.Cast.UpdatePrompt:input_type -> Cast.UpdatePromptReq
83, // 162: Cast.Cast.DeletePrompt:input_type -> Cast.DeletePromptReq
84, // 163: Cast.Cast.GetPrompt:input_type -> Cast.GetPromptReq
86, // 164: Cast.Cast.ListPrompts:input_type -> Cast.ListPromptsReq
89, // 165: Cast.Cast.UpdatePromptBatch:input_type -> Cast.UpdatePromptBatchReq
92, // 166: Cast.Cast.UpdateArtist:input_type -> Cast.UpdateArtistReq
94, // 167: Cast.Cast.GetArtist:input_type -> Cast.GetArtistReq
96, // 168: Cast.Cast.CreateWorkAnalysis:input_type -> Cast.CreateWorkAnalysisReq
98, // 169: Cast.Cast.UpdateWorkAnalysis:input_type -> Cast.UpdateWorkAnalysisReq
99, // 170: Cast.Cast.UpdateWorkAnalysisStatus:input_type -> Cast.UpdateWorkAnalysisStatusReq
110, // 171: Cast.Cast.GetWorkAnalysis:input_type -> Cast.GetWorkAnalysisDetailReq
111, // 172: Cast.Cast.GetLatestWorkAnalysis:input_type -> Cast.GetLatestWorkAnalysisReq
114, // 173: Cast.Cast.ListWorkAnalysis:input_type -> Cast.ListWorkAnalysisReq
117, // 174: Cast.Cast.DeleteWorkAnalysis:input_type -> Cast.DeleteWorkAnalysisReq
136, // 175: Cast.Cast.UpdateWorkAnalysisApprovalID:input_type -> Cast.UpdateWorkAnalysisApprovalIDReq
118, // 176: Cast.Cast.ArtistDataList:input_type -> Cast.ArtistDataListReq
121, // 177: Cast.Cast.MediaDataList:input_type -> Cast.MediaDataListReq
124, // 178: Cast.Cast.DataOverview:input_type -> Cast.DataOverviewReq
126, // 179: Cast.Cast.ArtistMetricsSeries:input_type -> Cast.ArtistMetricsSeriesReq
128, // 180: Cast.Cast.ArtistMetricsDailyWindow:input_type -> Cast.ArtistMetricsDailyWindowReq
133, // 181: Cast.Cast.TobeConfirmedList:input_type -> Cast.TobeConfirmedListReq
138, // 182: Cast.Cast.UpsertMediaMetricsDailyBatch:input_type -> Cast.UpsertMediaMetricsDailyBatchReq
141, // 183: Cast.Cast.UpsertWorkMetricsDailyBatch:input_type -> Cast.UpsertWorkMetricsDailyBatchReq
151, // 184: Cast.Cast.ListMediaMetricsDaily:input_type -> Cast.ListMediaMetricsDailyReq
154, // 185: Cast.Cast.ListWorkMetricsDaily:input_type -> Cast.ListWorkMetricsDailyReq
165, // 186: Cast.Cast.CalculateMediaMetricsByWorks:input_type -> Cast.CalculateMediaMetricsByWorksReq
143, // 187: Cast.Cast.GetArtistAyrShareInfo:input_type -> Cast.GetArtistAyrShareInfoReq
146, // 188: Cast.Cast.GetArtistAyrShareInfoByPlatformIDs:input_type -> Cast.GetArtistAyrShareInfoByPlatformIDsReq
148, // 189: Cast.Cast.ListWorkPlatformInfo:input_type -> Cast.ListWorkPlatformInfoReq
157, // 190: Cast.Cast.UpsertTaskList:input_type -> Cast.UpsertTaskListReq
159, // 191: Cast.Cast.GetTaskList:input_type -> Cast.GetTaskListReq
162, // 192: Cast.Cast.ListTaskList:input_type -> Cast.ListTaskListReq
164, // 193: Cast.Cast.DeleteTaskList:input_type -> Cast.DeleteTaskListReq
167, // 194: Cast.Cast.UpdateCastTag:input_type -> Cast.UpdateCastTagReq
169, // 195: Cast.Cast.ListCastTags:input_type -> Cast.ListCastTagsReq
172, // 196: Cast.Cast.UpdateCastTagBatch:input_type -> Cast.UpdateCastTagBatchReq
174, // 197: Cast.Cast.BatchUpdateCastTags:input_type -> Cast.BatchUpdateCastTagsReq
175, // 198: Cast.Cast.UpdateCastTagStatus:input_type -> Cast.UpdateCastTagStatusReq
207, // 199: Cast.Cast.RecalculateCastTagQuoteCount:input_type -> google.protobuf.Empty
177, // 200: Cast.Cast.CreateCompetitiveReport:input_type -> Cast.CreateCompetitiveReportReq
192, // 201: Cast.Cast.ImportCompetitiveReportBatch:input_type -> Cast.ImportCompetitiveReportBatchReq
180, // 202: Cast.Cast.UpdateCompetitiveReportStatus:input_type -> Cast.UpdateCompetitiveReportStatusReq
184, // 203: Cast.Cast.GetCompetitiveReport:input_type -> Cast.GetCompetitiveReportDetailReq
185, // 204: Cast.Cast.GetCompetitiveReportForApp:input_type -> Cast.GetCompetitiveReportForAppReq
188, // 205: Cast.Cast.ListCompetitiveReport:input_type -> Cast.ListCompetitiveReportReq
191, // 206: Cast.Cast.DeleteCompetitiveReport:input_type -> Cast.DeleteCompetitiveReportReq
181, // 207: Cast.Cast.UpdateCompetitiveReportApprovalID:input_type -> Cast.UpdateCompetitiveReportApprovalIDReq
194, // 208: Cast.Cast.CountCompetitiveReportByWorkUuids:input_type -> Cast.CountCompetitiveReportByWorkUuidsReq
10, // 209: Cast.Cast.MediaUserList:output_type -> Cast.MediaUserListResp
12, // 210: Cast.Cast.UpdateMediaAccount:output_type -> Cast.UpdateMediaAccountResp
14, // 211: Cast.Cast.UnbindManager:output_type -> Cast.UnbindManagerResp
207, // 212: Cast.Cast.BindManager:output_type -> google.protobuf.Empty
17, // 213: Cast.Cast.UpdateWorkImage:output_type -> Cast.UpdateWorkImageResp
20, // 214: Cast.Cast.UpdateWorkVideo:output_type -> Cast.UpdateWorkVideoResp
22, // 215: Cast.Cast.MediaInfo:output_type -> Cast.MediaInfoResp
24, // 216: Cast.Cast.MediaInfoByPlatform:output_type -> Cast.MediaInfoByPlatformResp
26, // 217: Cast.Cast.WorkList:output_type -> Cast.WorkListResp
43, // 218: Cast.Cast.WorkListPublished:output_type -> Cast.WorkListPublishedResp
29, // 219: Cast.Cast.WorkDetail:output_type -> Cast.WorkDetailResp
207, // 220: Cast.Cast.UpdateStatus:output_type -> google.protobuf.Empty
32, // 221: Cast.Cast.MediaAccounts:output_type -> Cast.MediaAccountsResp
34, // 222: Cast.Cast.MediaWorks:output_type -> Cast.MediaWorksResp
36, // 223: Cast.Cast.Publish:output_type -> Cast.PublishResp
38, // 224: Cast.Cast.RePublish:output_type -> Cast.RePublishResp
207, // 225: Cast.Cast.DelWork:output_type -> google.protobuf.Empty
41, // 226: Cast.Cast.WorkInfo:output_type -> Cast.WorkInfoResp
45, // 227: Cast.Cast.ArtistInfo:output_type -> Cast.ArtistInfoResp
47, // 228: Cast.Cast.ImportWorkBatch:output_type -> Cast.ImportWorkBatchResp
50, // 229: Cast.Cast.UpdateWorkPlatformInfo:output_type -> Cast.UpdateWorkPlatformInfoResp
207, // 230: Cast.Cast.UpdateWorkPublishLog:output_type -> google.protobuf.Empty
53, // 231: Cast.Cast.RefreshWorkList:output_type -> Cast.RefreshWorkListResp
55, // 232: Cast.Cast.OAuthAccount:output_type -> Cast.OAuthAccountResp
57, // 233: Cast.Cast.OAuthAccountV2:output_type -> Cast.OAuthAccountV2Resp
61, // 234: Cast.Cast.OAuthCodeToToken:output_type -> Cast.OAuthCodeToTokenResp
207, // 235: Cast.Cast.UpdateOAuth:output_type -> google.protobuf.Empty
64, // 236: Cast.Cast.RefreshToken:output_type -> Cast.RefreshTokenResp
66, // 237: Cast.Cast.PublishMediaInfo:output_type -> Cast.PublishMediaInfoResp
207, // 238: Cast.Cast.Tools:output_type -> google.protobuf.Empty
69, // 239: Cast.Cast.UpdateVideoScript:output_type -> Cast.UpdateVideoScriptResp
71, // 240: Cast.Cast.GetVideoScript:output_type -> Cast.GetVideoScriptResp
74, // 241: Cast.Cast.ListVideoScripts:output_type -> Cast.ListVideoScriptsResp
207, // 242: Cast.Cast.DeleteVideoScript:output_type -> google.protobuf.Empty
77, // 243: Cast.Cast.UpdateVideoScriptBatch:output_type -> Cast.UpdateVideoScriptBatchResp
207, // 244: Cast.Cast.UpdateScriptStatus:output_type -> google.protobuf.Empty
81, // 245: Cast.Cast.GetLayout:output_type -> Cast.GetLayoutResp
207, // 246: Cast.Cast.SetLayout:output_type -> google.protobuf.Empty
207, // 247: Cast.Cast.UpdatePrompt:output_type -> google.protobuf.Empty
207, // 248: Cast.Cast.DeletePrompt:output_type -> google.protobuf.Empty
85, // 249: Cast.Cast.GetPrompt:output_type -> Cast.GetPromptResp
88, // 250: Cast.Cast.ListPrompts:output_type -> Cast.ListPromptsResp
90, // 251: Cast.Cast.UpdatePromptBatch:output_type -> Cast.UpdatePromptBatchResp
93, // 252: Cast.Cast.UpdateArtist:output_type -> Cast.UpdateArtistResp
95, // 253: Cast.Cast.GetArtist:output_type -> Cast.GetArtistResp
97, // 254: Cast.Cast.CreateWorkAnalysis:output_type -> Cast.CreateWorkAnalysisResp
207, // 255: Cast.Cast.UpdateWorkAnalysis:output_type -> google.protobuf.Empty
207, // 256: Cast.Cast.UpdateWorkAnalysisStatus:output_type -> google.protobuf.Empty
113, // 257: Cast.Cast.GetWorkAnalysis:output_type -> Cast.GetWorkAnalysisDetailResp
112, // 258: Cast.Cast.GetLatestWorkAnalysis:output_type -> Cast.GetWorkAnalysisResp
116, // 259: Cast.Cast.ListWorkAnalysis:output_type -> Cast.ListWorkAnalysisResp
207, // 260: Cast.Cast.DeleteWorkAnalysis:output_type -> google.protobuf.Empty
207, // 261: Cast.Cast.UpdateWorkAnalysisApprovalID:output_type -> google.protobuf.Empty
120, // 262: Cast.Cast.ArtistDataList:output_type -> Cast.ArtistDataListResp
123, // 263: Cast.Cast.MediaDataList:output_type -> Cast.MediaDataListResp
125, // 264: Cast.Cast.DataOverview:output_type -> Cast.DataOverviewResp
127, // 265: Cast.Cast.ArtistMetricsSeries:output_type -> Cast.ArtistMetricsSeriesResp
132, // 266: Cast.Cast.ArtistMetricsDailyWindow:output_type -> Cast.ArtistMetricsDailyWindowResp
135, // 267: Cast.Cast.TobeConfirmedList:output_type -> Cast.TobeConfirmedListResp
139, // 268: Cast.Cast.UpsertMediaMetricsDailyBatch:output_type -> Cast.UpsertMediaMetricsDailyBatchResp
142, // 269: Cast.Cast.UpsertWorkMetricsDailyBatch:output_type -> Cast.UpsertWorkMetricsDailyBatchResp
153, // 270: Cast.Cast.ListMediaMetricsDaily:output_type -> Cast.ListMediaMetricsDailyResp
156, // 271: Cast.Cast.ListWorkMetricsDaily:output_type -> Cast.ListWorkMetricsDailyResp
166, // 272: Cast.Cast.CalculateMediaMetricsByWorks:output_type -> Cast.CalculateMediaMetricsByWorksResp
145, // 273: Cast.Cast.GetArtistAyrShareInfo:output_type -> Cast.GetArtistAyrShareInfoResp
147, // 274: Cast.Cast.GetArtistAyrShareInfoByPlatformIDs:output_type -> Cast.GetArtistAyrShareInfoByPlatformIDsResp
150, // 275: Cast.Cast.ListWorkPlatformInfo:output_type -> Cast.ListWorkPlatformInfoResp
158, // 276: Cast.Cast.UpsertTaskList:output_type -> Cast.UpsertTaskListResp
161, // 277: Cast.Cast.GetTaskList:output_type -> Cast.GetTaskListResp
163, // 278: Cast.Cast.ListTaskList:output_type -> Cast.ListTaskListResp
207, // 279: Cast.Cast.DeleteTaskList:output_type -> google.protobuf.Empty
168, // 280: Cast.Cast.UpdateCastTag:output_type -> Cast.UpdateCastTagResp
171, // 281: Cast.Cast.ListCastTags:output_type -> Cast.ListCastTagsResp
173, // 282: Cast.Cast.UpdateCastTagBatch:output_type -> Cast.UpdateCastTagBatchResp
207, // 283: Cast.Cast.BatchUpdateCastTags:output_type -> google.protobuf.Empty
207, // 284: Cast.Cast.UpdateCastTagStatus:output_type -> google.protobuf.Empty
176, // 285: Cast.Cast.RecalculateCastTagQuoteCount:output_type -> Cast.RecalculateCastTagQuoteCountResp
178, // 286: Cast.Cast.CreateCompetitiveReport:output_type -> Cast.CreateCompetitiveReportResp
193, // 287: Cast.Cast.ImportCompetitiveReportBatch:output_type -> Cast.ImportCompetitiveReportBatchResp
207, // 288: Cast.Cast.UpdateCompetitiveReportStatus:output_type -> google.protobuf.Empty
187, // 289: Cast.Cast.GetCompetitiveReport:output_type -> Cast.GetCompetitiveReportDetailResp
186, // 290: Cast.Cast.GetCompetitiveReportForApp:output_type -> Cast.GetCompetitiveReportForAppResp
190, // 291: Cast.Cast.ListCompetitiveReport:output_type -> Cast.ListCompetitiveReportResp
207, // 292: Cast.Cast.DeleteCompetitiveReport:output_type -> google.protobuf.Empty
207, // 293: Cast.Cast.UpdateCompetitiveReportApprovalID:output_type -> google.protobuf.Empty
196, // 294: Cast.Cast.CountCompetitiveReportByWorkUuids:output_type -> Cast.CountCompetitiveReportByWorkUuidsResp
209, // [209:295] is the sub-list for method output_type
123, // [123:209] is the sub-list for method input_type
123, // [123:123] is the sub-list for extension type_name
123, // [123:123] is the sub-list for extension extendee
0, // [0:123] is the sub-list for field type_name
4, // 38: Cast.WorkInfoResp.publishStatus:type_name -> Cast.PublishStatusENUM
203, // 39: Cast.WorkListPublishedResp.data:type_name -> Cast.WorkListPublishedResp.Info
16, // 40: Cast.ImportWorkBatchReq.imageWorks:type_name -> Cast.UpdateWorkImageReq
16, // 41: Cast.ImportWorkBatchResp.imageWorks:type_name -> Cast.UpdateWorkImageReq
4, // 42: Cast.PlatformInfo.publishMediaStatus:type_name -> Cast.PublishStatusENUM
48, // 43: Cast.UpdateWorkPlatformInfoReq.PlatformInfoData:type_name -> Cast.PlatformInfo
0, // 44: Cast.UpdateWorkPublishLogReq.platformID:type_name -> Cast.PlatformIDENUM
204, // 45: Cast.RefreshWorkListResp.Data:type_name -> Cast.RefreshWorkListResp.Info
0, // 46: Cast.OAuthCodeToTokenReq.platformID:type_name -> Cast.PlatformIDENUM
206, // 47: Cast.UpdateOAuthReq.Data:type_name -> Cast.UpdateOAuthReq.Info
0, // 48: Cast.RefreshTokenReq.platformID:type_name -> Cast.PlatformIDENUM
73, // 49: Cast.ListVideoScriptsResp.data:type_name -> Cast.VideoScriptInfo
73, // 50: Cast.UpdateVideoScriptBatchReq.data:type_name -> Cast.VideoScriptInfo
73, // 51: Cast.UpdateVideoScriptBatchResp.data:type_name -> Cast.VideoScriptInfo
2, // 52: Cast.UpdateScriptStatusReq.workAction:type_name -> Cast.WorkActionENUM
6, // 53: Cast.UpdatePromptReq.category:type_name -> Cast.CategoryENUM
6, // 54: Cast.GetPromptResp.category:type_name -> Cast.CategoryENUM
6, // 55: Cast.ListPromptsReq.category:type_name -> Cast.CategoryENUM
6, // 56: Cast.PromptInfo.category:type_name -> Cast.CategoryENUM
87, // 57: Cast.ListPromptsResp.data:type_name -> Cast.PromptInfo
87, // 58: Cast.UpdatePromptBatchReq.data:type_name -> Cast.PromptInfo
87, // 59: Cast.UpdatePromptBatchResp.data:type_name -> Cast.PromptInfo
91, // 60: Cast.UpdateArtistReq.artistInfo:type_name -> Cast.ArtistInfo
91, // 61: Cast.GetArtistResp.artistInfo:type_name -> Cast.ArtistInfo
2, // 62: Cast.UpdateWorkAnalysisStatusReq.workAction:type_name -> Cast.WorkActionENUM
101, // 63: Cast.GetWorkAnalysisResp.fansSeries:type_name -> Cast.WorkAnalysisFansSeries
102, // 64: Cast.GetWorkAnalysisResp.viewsSeries:type_name -> Cast.WorkAnalysisViewsSeries
103, // 65: Cast.GetWorkAnalysisResp.likesSeries:type_name -> Cast.WorkAnalysisLikesSeries
104, // 66: Cast.GetWorkAnalysisResp.commentsSeries:type_name -> Cast.WorkAnalysisCommentsSeries
105, // 67: Cast.GetWorkAnalysisResp.sharesSeries:type_name -> Cast.WorkAnalysisSharesSeries
106, // 68: Cast.GetWorkAnalysisResp.topCitiesSeries:type_name -> Cast.WorkAnalysisTopCities
107, // 69: Cast.GetWorkAnalysisResp.mostActiveDaySeries:type_name -> Cast.WorkAnalysisMostActiveDay
108, // 70: Cast.GetWorkAnalysisResp.bestPostTimeSeries:type_name -> Cast.WorkAnalysisBestPostTime
100, // 71: Cast.GetWorkAnalysisDetailResp.WorkAnalysisLogData:type_name -> Cast.WorkAnalysisLogInfo
101, // 72: Cast.GetWorkAnalysisDetailResp.fansSeries:type_name -> Cast.WorkAnalysisFansSeries
102, // 73: Cast.GetWorkAnalysisDetailResp.viewsSeries:type_name -> Cast.WorkAnalysisViewsSeries
103, // 74: Cast.GetWorkAnalysisDetailResp.likesSeries:type_name -> Cast.WorkAnalysisLikesSeries
104, // 75: Cast.GetWorkAnalysisDetailResp.commentsSeries:type_name -> Cast.WorkAnalysisCommentsSeries
105, // 76: Cast.GetWorkAnalysisDetailResp.sharesSeries:type_name -> Cast.WorkAnalysisSharesSeries
106, // 77: Cast.GetWorkAnalysisDetailResp.topCitiesSeries:type_name -> Cast.WorkAnalysisTopCities
107, // 78: Cast.GetWorkAnalysisDetailResp.mostActiveDaySeries:type_name -> Cast.WorkAnalysisMostActiveDay
108, // 79: Cast.GetWorkAnalysisDetailResp.bestPostTimeSeries:type_name -> Cast.WorkAnalysisBestPostTime
109, // 80: Cast.GetWorkAnalysisDetailResp.extra:type_name -> Cast.WorkAnalysisExtra
115, // 81: Cast.ListWorkAnalysisResp.data:type_name -> Cast.WorkAnalysisInfo
119, // 82: Cast.ArtistDataListResp.data:type_name -> Cast.ArtistDataRespItem
122, // 83: Cast.MediaDataListResp.data:type_name -> Cast.MediaDataListItem
101, // 84: Cast.ArtistMetricsSeriesResp.fansSeries:type_name -> Cast.WorkAnalysisFansSeries
102, // 85: Cast.ArtistMetricsSeriesResp.viewsSeries:type_name -> Cast.WorkAnalysisViewsSeries
103, // 86: Cast.ArtistMetricsSeriesResp.likesSeries:type_name -> Cast.WorkAnalysisLikesSeries
104, // 87: Cast.ArtistMetricsSeriesResp.commentsSeries:type_name -> Cast.WorkAnalysisCommentsSeries
105, // 88: Cast.ArtistMetricsSeriesResp.sharesSeries:type_name -> Cast.WorkAnalysisSharesSeries
108, // 89: Cast.ArtistMetricsSeriesResp.bestPostTime:type_name -> Cast.WorkAnalysisBestPostTime
107, // 90: Cast.ArtistMetricsSeriesResp.mostActiveDay:type_name -> Cast.WorkAnalysisMostActiveDay
129, // 91: Cast.ArtistMetricsDailyWindowResp.fans:type_name -> Cast.SimplePoint
129, // 92: Cast.ArtistMetricsDailyWindowResp.views:type_name -> Cast.SimplePoint
129, // 93: Cast.ArtistMetricsDailyWindowResp.likes:type_name -> Cast.SimplePoint
129, // 94: Cast.ArtistMetricsDailyWindowResp.comments:type_name -> Cast.SimplePoint
129, // 95: Cast.ArtistMetricsDailyWindowResp.shares:type_name -> Cast.SimplePoint
130, // 96: Cast.ArtistMetricsDailyWindowResp.bestPostTime:type_name -> Cast.BestPostTimePoint
131, // 97: Cast.ArtistMetricsDailyWindowResp.mostActiveDay:type_name -> Cast.MostActiveDayPoint
134, // 98: Cast.TobeConfirmedListResp.data:type_name -> Cast.TobeConfirmedItem
137, // 99: Cast.UpsertMediaMetricsDailyBatchReq.data:type_name -> Cast.MediaMetricsDailyItem
140, // 100: Cast.UpsertWorkMetricsDailyBatchReq.data:type_name -> Cast.WorkMetricsDailyItem
144, // 101: Cast.GetArtistAyrShareInfoResp.data:type_name -> Cast.ArtistAyrShareInfo
144, // 102: Cast.GetArtistAyrShareInfoByPlatformIDsResp.data:type_name -> Cast.ArtistAyrShareInfo
149, // 103: Cast.ListWorkPlatformInfoResp.data:type_name -> Cast.WorkPlatformInfo
152, // 104: Cast.ListMediaMetricsDailyResp.data:type_name -> Cast.MediaMetricsDailyInfo
155, // 105: Cast.ListWorkMetricsDailyResp.data:type_name -> Cast.WorkMetricsDailyInfo
160, // 106: Cast.GetTaskListResp.data:type_name -> Cast.TaskListInfo
160, // 107: Cast.ListTaskListResp.data:type_name -> Cast.TaskListInfo
170, // 108: Cast.ListCastTagsResp.data:type_name -> Cast.CastTagInfo
170, // 109: Cast.UpdateCastTagBatchReq.data:type_name -> Cast.CastTagInfo
170, // 110: Cast.UpdateCastTagBatchResp.data:type_name -> Cast.CastTagInfo
170, // 111: Cast.BatchUpdateCastTagsReq.data:type_name -> Cast.CastTagInfo
2, // 112: Cast.UpdateCompetitiveReportStatusReq.workAction:type_name -> Cast.WorkActionENUM
182, // 113: Cast.GetCompetitiveReportDetailResp.reportLogData:type_name -> Cast.CompetitiveReportLogInfo
183, // 114: Cast.GetCompetitiveReportDetailResp.extra:type_name -> Cast.CompetitiveReportExtra
189, // 115: Cast.ListCompetitiveReportResp.data:type_name -> Cast.CompetitiveReportInfo
177, // 116: Cast.ImportCompetitiveReportBatchReq.reports:type_name -> Cast.CreateCompetitiveReportReq
177, // 117: Cast.ImportCompetitiveReportBatchResp.reports:type_name -> Cast.CreateCompetitiveReportReq
195, // 118: Cast.CountCompetitiveReportByWorkUuidsResp.data:type_name -> Cast.WorkUuidCount
198, // 119: Cast.WorkListResp.Info.PublishMediaIDs:type_name -> Cast.WorkListResp.Info.PublishMediaIDsEntry
9, // 120: Cast.WorkDetailResp.MediaAccDataEntry.value:type_name -> Cast.MediaUserInfo
205, // 121: Cast.RefreshWorkListResp.Info.PlatformInfoData:type_name -> Cast.RefreshWorkListResp.Info.PlatformInfo
0, // 122: Cast.RefreshWorkListResp.Info.PlatformInfo.platformID:type_name -> Cast.PlatformIDENUM
0, // 123: Cast.UpdateOAuthReq.Info.platformID:type_name -> Cast.PlatformIDENUM
8, // 124: Cast.Cast.MediaUserList:input_type -> Cast.MediaUserListReq
11, // 125: Cast.Cast.UpdateMediaAccount:input_type -> Cast.UpdateMediaAccountReq
13, // 126: Cast.Cast.UnbindManager:input_type -> Cast.UnbindManagerReq
15, // 127: Cast.Cast.BindManager:input_type -> Cast.BindManagerReq
16, // 128: Cast.Cast.UpdateWorkImage:input_type -> Cast.UpdateWorkImageReq
19, // 129: Cast.Cast.UpdateWorkVideo:input_type -> Cast.UpdateWorkVideoReq
21, // 130: Cast.Cast.MediaInfo:input_type -> Cast.MediaInfoReq
23, // 131: Cast.Cast.MediaInfoByPlatform:input_type -> Cast.MediaInfoByPlatformReq
25, // 132: Cast.Cast.WorkList:input_type -> Cast.WorkListReq
42, // 133: Cast.Cast.WorkListPublished:input_type -> Cast.WorkListPublishedReq
27, // 134: Cast.Cast.WorkDetail:input_type -> Cast.WorkDetailReq
30, // 135: Cast.Cast.UpdateStatus:input_type -> Cast.UpdateStatusReq
31, // 136: Cast.Cast.MediaAccounts:input_type -> Cast.MediaAccountsReq
33, // 137: Cast.Cast.MediaWorks:input_type -> Cast.MediaWorksReq
35, // 138: Cast.Cast.Publish:input_type -> Cast.PublishReq
37, // 139: Cast.Cast.RePublish:input_type -> Cast.RePublishReq
39, // 140: Cast.Cast.DelWork:input_type -> Cast.DelWorkReq
40, // 141: Cast.Cast.WorkInfo:input_type -> Cast.WorkInfoReq
44, // 142: Cast.Cast.ArtistInfo:input_type -> Cast.ArtistInfoReq
46, // 143: Cast.Cast.ImportWorkBatch:input_type -> Cast.ImportWorkBatchReq
49, // 144: Cast.Cast.UpdateWorkPlatformInfo:input_type -> Cast.UpdateWorkPlatformInfoReq
51, // 145: Cast.Cast.UpdateWorkPublishLog:input_type -> Cast.UpdateWorkPublishLogReq
52, // 146: Cast.Cast.RefreshWorkList:input_type -> Cast.RefreshWorkListReq
54, // 147: Cast.Cast.OAuthAccount:input_type -> Cast.OAuthAccountReq
56, // 148: Cast.Cast.OAuthAccountV2:input_type -> Cast.OAuthAccountV2Req
60, // 149: Cast.Cast.OAuthCodeToToken:input_type -> Cast.OAuthCodeToTokenReq
62, // 150: Cast.Cast.UpdateOAuth:input_type -> Cast.UpdateOAuthReq
63, // 151: Cast.Cast.RefreshToken:input_type -> Cast.RefreshTokenReq
65, // 152: Cast.Cast.PublishMediaInfo:input_type -> Cast.PublishMediaInfoReq
67, // 153: Cast.Cast.Tools:input_type -> Cast.ToolsReq
68, // 154: Cast.Cast.UpdateVideoScript:input_type -> Cast.UpdateVideoScriptReq
70, // 155: Cast.Cast.GetVideoScript:input_type -> Cast.GetVideoScriptReq
72, // 156: Cast.Cast.ListVideoScripts:input_type -> Cast.ListVideoScriptsReq
75, // 157: Cast.Cast.DeleteVideoScript:input_type -> Cast.DeleteVideoScriptReq
76, // 158: Cast.Cast.UpdateVideoScriptBatch:input_type -> Cast.UpdateVideoScriptBatchReq
78, // 159: Cast.Cast.UpdateScriptStatus:input_type -> Cast.UpdateScriptStatusReq
80, // 160: Cast.Cast.GetLayout:input_type -> Cast.GetLayoutReq
79, // 161: Cast.Cast.SetLayout:input_type -> Cast.SetLayoutReq
82, // 162: Cast.Cast.UpdatePrompt:input_type -> Cast.UpdatePromptReq
83, // 163: Cast.Cast.DeletePrompt:input_type -> Cast.DeletePromptReq
84, // 164: Cast.Cast.GetPrompt:input_type -> Cast.GetPromptReq
86, // 165: Cast.Cast.ListPrompts:input_type -> Cast.ListPromptsReq
89, // 166: Cast.Cast.UpdatePromptBatch:input_type -> Cast.UpdatePromptBatchReq
92, // 167: Cast.Cast.UpdateArtist:input_type -> Cast.UpdateArtistReq
94, // 168: Cast.Cast.GetArtist:input_type -> Cast.GetArtistReq
96, // 169: Cast.Cast.CreateWorkAnalysis:input_type -> Cast.CreateWorkAnalysisReq
98, // 170: Cast.Cast.UpdateWorkAnalysis:input_type -> Cast.UpdateWorkAnalysisReq
99, // 171: Cast.Cast.UpdateWorkAnalysisStatus:input_type -> Cast.UpdateWorkAnalysisStatusReq
110, // 172: Cast.Cast.GetWorkAnalysis:input_type -> Cast.GetWorkAnalysisDetailReq
111, // 173: Cast.Cast.GetLatestWorkAnalysis:input_type -> Cast.GetLatestWorkAnalysisReq
114, // 174: Cast.Cast.ListWorkAnalysis:input_type -> Cast.ListWorkAnalysisReq
117, // 175: Cast.Cast.DeleteWorkAnalysis:input_type -> Cast.DeleteWorkAnalysisReq
136, // 176: Cast.Cast.UpdateWorkAnalysisApprovalID:input_type -> Cast.UpdateWorkAnalysisApprovalIDReq
118, // 177: Cast.Cast.ArtistDataList:input_type -> Cast.ArtistDataListReq
121, // 178: Cast.Cast.MediaDataList:input_type -> Cast.MediaDataListReq
124, // 179: Cast.Cast.DataOverview:input_type -> Cast.DataOverviewReq
126, // 180: Cast.Cast.ArtistMetricsSeries:input_type -> Cast.ArtistMetricsSeriesReq
128, // 181: Cast.Cast.ArtistMetricsDailyWindow:input_type -> Cast.ArtistMetricsDailyWindowReq
133, // 182: Cast.Cast.TobeConfirmedList:input_type -> Cast.TobeConfirmedListReq
138, // 183: Cast.Cast.UpsertMediaMetricsDailyBatch:input_type -> Cast.UpsertMediaMetricsDailyBatchReq
141, // 184: Cast.Cast.UpsertWorkMetricsDailyBatch:input_type -> Cast.UpsertWorkMetricsDailyBatchReq
151, // 185: Cast.Cast.ListMediaMetricsDaily:input_type -> Cast.ListMediaMetricsDailyReq
154, // 186: Cast.Cast.ListWorkMetricsDaily:input_type -> Cast.ListWorkMetricsDailyReq
165, // 187: Cast.Cast.CalculateMediaMetricsByWorks:input_type -> Cast.CalculateMediaMetricsByWorksReq
143, // 188: Cast.Cast.GetArtistAyrShareInfo:input_type -> Cast.GetArtistAyrShareInfoReq
146, // 189: Cast.Cast.GetArtistAyrShareInfoByPlatformIDs:input_type -> Cast.GetArtistAyrShareInfoByPlatformIDsReq
148, // 190: Cast.Cast.ListWorkPlatformInfo:input_type -> Cast.ListWorkPlatformInfoReq
157, // 191: Cast.Cast.UpsertTaskList:input_type -> Cast.UpsertTaskListReq
159, // 192: Cast.Cast.GetTaskList:input_type -> Cast.GetTaskListReq
162, // 193: Cast.Cast.ListTaskList:input_type -> Cast.ListTaskListReq
164, // 194: Cast.Cast.DeleteTaskList:input_type -> Cast.DeleteTaskListReq
167, // 195: Cast.Cast.UpdateCastTag:input_type -> Cast.UpdateCastTagReq
169, // 196: Cast.Cast.ListCastTags:input_type -> Cast.ListCastTagsReq
172, // 197: Cast.Cast.UpdateCastTagBatch:input_type -> Cast.UpdateCastTagBatchReq
174, // 198: Cast.Cast.BatchUpdateCastTags:input_type -> Cast.BatchUpdateCastTagsReq
175, // 199: Cast.Cast.UpdateCastTagStatus:input_type -> Cast.UpdateCastTagStatusReq
207, // 200: Cast.Cast.RecalculateCastTagQuoteCount:input_type -> google.protobuf.Empty
177, // 201: Cast.Cast.CreateCompetitiveReport:input_type -> Cast.CreateCompetitiveReportReq
192, // 202: Cast.Cast.ImportCompetitiveReportBatch:input_type -> Cast.ImportCompetitiveReportBatchReq
180, // 203: Cast.Cast.UpdateCompetitiveReportStatus:input_type -> Cast.UpdateCompetitiveReportStatusReq
184, // 204: Cast.Cast.GetCompetitiveReport:input_type -> Cast.GetCompetitiveReportDetailReq
185, // 205: Cast.Cast.GetCompetitiveReportForApp:input_type -> Cast.GetCompetitiveReportForAppReq
188, // 206: Cast.Cast.ListCompetitiveReport:input_type -> Cast.ListCompetitiveReportReq
191, // 207: Cast.Cast.DeleteCompetitiveReport:input_type -> Cast.DeleteCompetitiveReportReq
181, // 208: Cast.Cast.UpdateCompetitiveReportApprovalID:input_type -> Cast.UpdateCompetitiveReportApprovalIDReq
194, // 209: Cast.Cast.CountCompetitiveReportByWorkUuids:input_type -> Cast.CountCompetitiveReportByWorkUuidsReq
10, // 210: Cast.Cast.MediaUserList:output_type -> Cast.MediaUserListResp
12, // 211: Cast.Cast.UpdateMediaAccount:output_type -> Cast.UpdateMediaAccountResp
14, // 212: Cast.Cast.UnbindManager:output_type -> Cast.UnbindManagerResp
207, // 213: Cast.Cast.BindManager:output_type -> google.protobuf.Empty
17, // 214: Cast.Cast.UpdateWorkImage:output_type -> Cast.UpdateWorkImageResp
20, // 215: Cast.Cast.UpdateWorkVideo:output_type -> Cast.UpdateWorkVideoResp
22, // 216: Cast.Cast.MediaInfo:output_type -> Cast.MediaInfoResp
24, // 217: Cast.Cast.MediaInfoByPlatform:output_type -> Cast.MediaInfoByPlatformResp
26, // 218: Cast.Cast.WorkList:output_type -> Cast.WorkListResp
43, // 219: Cast.Cast.WorkListPublished:output_type -> Cast.WorkListPublishedResp
29, // 220: Cast.Cast.WorkDetail:output_type -> Cast.WorkDetailResp
207, // 221: Cast.Cast.UpdateStatus:output_type -> google.protobuf.Empty
32, // 222: Cast.Cast.MediaAccounts:output_type -> Cast.MediaAccountsResp
34, // 223: Cast.Cast.MediaWorks:output_type -> Cast.MediaWorksResp
36, // 224: Cast.Cast.Publish:output_type -> Cast.PublishResp
38, // 225: Cast.Cast.RePublish:output_type -> Cast.RePublishResp
207, // 226: Cast.Cast.DelWork:output_type -> google.protobuf.Empty
41, // 227: Cast.Cast.WorkInfo:output_type -> Cast.WorkInfoResp
45, // 228: Cast.Cast.ArtistInfo:output_type -> Cast.ArtistInfoResp
47, // 229: Cast.Cast.ImportWorkBatch:output_type -> Cast.ImportWorkBatchResp
50, // 230: Cast.Cast.UpdateWorkPlatformInfo:output_type -> Cast.UpdateWorkPlatformInfoResp
207, // 231: Cast.Cast.UpdateWorkPublishLog:output_type -> google.protobuf.Empty
53, // 232: Cast.Cast.RefreshWorkList:output_type -> Cast.RefreshWorkListResp
55, // 233: Cast.Cast.OAuthAccount:output_type -> Cast.OAuthAccountResp
57, // 234: Cast.Cast.OAuthAccountV2:output_type -> Cast.OAuthAccountV2Resp
61, // 235: Cast.Cast.OAuthCodeToToken:output_type -> Cast.OAuthCodeToTokenResp
207, // 236: Cast.Cast.UpdateOAuth:output_type -> google.protobuf.Empty
64, // 237: Cast.Cast.RefreshToken:output_type -> Cast.RefreshTokenResp
66, // 238: Cast.Cast.PublishMediaInfo:output_type -> Cast.PublishMediaInfoResp
207, // 239: Cast.Cast.Tools:output_type -> google.protobuf.Empty
69, // 240: Cast.Cast.UpdateVideoScript:output_type -> Cast.UpdateVideoScriptResp
71, // 241: Cast.Cast.GetVideoScript:output_type -> Cast.GetVideoScriptResp
74, // 242: Cast.Cast.ListVideoScripts:output_type -> Cast.ListVideoScriptsResp
207, // 243: Cast.Cast.DeleteVideoScript:output_type -> google.protobuf.Empty
77, // 244: Cast.Cast.UpdateVideoScriptBatch:output_type -> Cast.UpdateVideoScriptBatchResp
207, // 245: Cast.Cast.UpdateScriptStatus:output_type -> google.protobuf.Empty
81, // 246: Cast.Cast.GetLayout:output_type -> Cast.GetLayoutResp
207, // 247: Cast.Cast.SetLayout:output_type -> google.protobuf.Empty
207, // 248: Cast.Cast.UpdatePrompt:output_type -> google.protobuf.Empty
207, // 249: Cast.Cast.DeletePrompt:output_type -> google.protobuf.Empty
85, // 250: Cast.Cast.GetPrompt:output_type -> Cast.GetPromptResp
88, // 251: Cast.Cast.ListPrompts:output_type -> Cast.ListPromptsResp
90, // 252: Cast.Cast.UpdatePromptBatch:output_type -> Cast.UpdatePromptBatchResp
93, // 253: Cast.Cast.UpdateArtist:output_type -> Cast.UpdateArtistResp
95, // 254: Cast.Cast.GetArtist:output_type -> Cast.GetArtistResp
97, // 255: Cast.Cast.CreateWorkAnalysis:output_type -> Cast.CreateWorkAnalysisResp
207, // 256: Cast.Cast.UpdateWorkAnalysis:output_type -> google.protobuf.Empty
207, // 257: Cast.Cast.UpdateWorkAnalysisStatus:output_type -> google.protobuf.Empty
113, // 258: Cast.Cast.GetWorkAnalysis:output_type -> Cast.GetWorkAnalysisDetailResp
112, // 259: Cast.Cast.GetLatestWorkAnalysis:output_type -> Cast.GetWorkAnalysisResp
116, // 260: Cast.Cast.ListWorkAnalysis:output_type -> Cast.ListWorkAnalysisResp
207, // 261: Cast.Cast.DeleteWorkAnalysis:output_type -> google.protobuf.Empty
207, // 262: Cast.Cast.UpdateWorkAnalysisApprovalID:output_type -> google.protobuf.Empty
120, // 263: Cast.Cast.ArtistDataList:output_type -> Cast.ArtistDataListResp
123, // 264: Cast.Cast.MediaDataList:output_type -> Cast.MediaDataListResp
125, // 265: Cast.Cast.DataOverview:output_type -> Cast.DataOverviewResp
127, // 266: Cast.Cast.ArtistMetricsSeries:output_type -> Cast.ArtistMetricsSeriesResp
132, // 267: Cast.Cast.ArtistMetricsDailyWindow:output_type -> Cast.ArtistMetricsDailyWindowResp
135, // 268: Cast.Cast.TobeConfirmedList:output_type -> Cast.TobeConfirmedListResp
139, // 269: Cast.Cast.UpsertMediaMetricsDailyBatch:output_type -> Cast.UpsertMediaMetricsDailyBatchResp
142, // 270: Cast.Cast.UpsertWorkMetricsDailyBatch:output_type -> Cast.UpsertWorkMetricsDailyBatchResp
153, // 271: Cast.Cast.ListMediaMetricsDaily:output_type -> Cast.ListMediaMetricsDailyResp
156, // 272: Cast.Cast.ListWorkMetricsDaily:output_type -> Cast.ListWorkMetricsDailyResp
166, // 273: Cast.Cast.CalculateMediaMetricsByWorks:output_type -> Cast.CalculateMediaMetricsByWorksResp
145, // 274: Cast.Cast.GetArtistAyrShareInfo:output_type -> Cast.GetArtistAyrShareInfoResp
147, // 275: Cast.Cast.GetArtistAyrShareInfoByPlatformIDs:output_type -> Cast.GetArtistAyrShareInfoByPlatformIDsResp
150, // 276: Cast.Cast.ListWorkPlatformInfo:output_type -> Cast.ListWorkPlatformInfoResp
158, // 277: Cast.Cast.UpsertTaskList:output_type -> Cast.UpsertTaskListResp
161, // 278: Cast.Cast.GetTaskList:output_type -> Cast.GetTaskListResp
163, // 279: Cast.Cast.ListTaskList:output_type -> Cast.ListTaskListResp
207, // 280: Cast.Cast.DeleteTaskList:output_type -> google.protobuf.Empty
168, // 281: Cast.Cast.UpdateCastTag:output_type -> Cast.UpdateCastTagResp
171, // 282: Cast.Cast.ListCastTags:output_type -> Cast.ListCastTagsResp
173, // 283: Cast.Cast.UpdateCastTagBatch:output_type -> Cast.UpdateCastTagBatchResp
207, // 284: Cast.Cast.BatchUpdateCastTags:output_type -> google.protobuf.Empty
207, // 285: Cast.Cast.UpdateCastTagStatus:output_type -> google.protobuf.Empty
176, // 286: Cast.Cast.RecalculateCastTagQuoteCount:output_type -> Cast.RecalculateCastTagQuoteCountResp
178, // 287: Cast.Cast.CreateCompetitiveReport:output_type -> Cast.CreateCompetitiveReportResp
193, // 288: Cast.Cast.ImportCompetitiveReportBatch:output_type -> Cast.ImportCompetitiveReportBatchResp
207, // 289: Cast.Cast.UpdateCompetitiveReportStatus:output_type -> google.protobuf.Empty
187, // 290: Cast.Cast.GetCompetitiveReport:output_type -> Cast.GetCompetitiveReportDetailResp
186, // 291: Cast.Cast.GetCompetitiveReportForApp:output_type -> Cast.GetCompetitiveReportForAppResp
190, // 292: Cast.Cast.ListCompetitiveReport:output_type -> Cast.ListCompetitiveReportResp
207, // 293: Cast.Cast.DeleteCompetitiveReport:output_type -> google.protobuf.Empty
207, // 294: Cast.Cast.UpdateCompetitiveReportApprovalID:output_type -> google.protobuf.Empty
196, // 295: Cast.Cast.CountCompetitiveReportByWorkUuids:output_type -> Cast.CountCompetitiveReportByWorkUuidsResp
210, // [210:296] is the sub-list for method output_type
124, // [124:210] is the sub-list for method input_type
124, // [124:124] is the sub-list for extension type_name
124, // [124:124] is the sub-list for extension extendee
0, // [0:124] is the sub-list for field type_name
}
func init() { file_pb_fiee_cast_proto_init() }

View File

@ -4622,6 +4622,8 @@ func (m *WorkInfoResp) validate(all bool) error {
// no validation rules for Title
// no validation rules for PublishStatus
if len(errors) > 0 {
return WorkInfoRespMultiError(errors)
}

View File

@ -30,10 +30,10 @@ func InitTasks() error {
err := cm.AddTask("refreshWorkApprovalStatus", "0 */1 * * * *", RefreshWorkApprovalStatusTask)
err = cm.AddTask("artistAutoConfirm", "0 */1 * * * *", ArtistAutoConfirmTask)
err = cm.AddTask("refreshPublishStatus", "0 */1 * * * *", RefreshPublishStatusTask)
err = cm.AddTask("scheduledPublish", "0 */1 * * * *", PublishTask)
err = cm.AddTask("artistAutoConfirmAnalysis", "0 */1 * * * *", ArtistAutoConfirmAnalysisTask)
err = cm.AddTask("refreshWorkAnalysisApprovalStatus", "0 */1 * * * *", RefreshWorkAnalysisApprovalStatusTask)
err = cm.AddTask("scheduledPublish", "0 */1 * * * *", ScheduledPublishTask)
err = cm.AddTask("refreshArtistOrder", "0 */30 * * * *", RefreshArtistOrderTask)
//余量表每月1号更新定时任务
@ -302,6 +302,11 @@ func ArtistAutoConfirmAnalysisTask() {
}
// ScheduledPublishTask 定时发布任务从Redis Sorted Set中获取所有workUuid并根据score判断处理
// PublishTask 定时发布任务从Redis Sorted Set中获取所有workUuid并根据score判断处理
func PublishTask() {
go ScheduledPublishTask() // 刷新发布状态
go TaskStatus() // 异步任务状态
}
func ScheduledPublishTask() {
// 加上锁
lockKey := "scheduled_publish:lock"
@ -411,6 +416,58 @@ func ScheduledPublishTask() {
zap.Int("total_count", len(workList)))
}
func TaskStatus() {
resp, err := service.CastProvider.ListTaskList(context.Background(), &cast.ListTaskListReq{
Action: "publishBatch",
Status: 1,
Page: 1,
PageSize: 100,
})
if err != nil {
zap.L().Error("获取任务列表失败", zap.Error(err))
return
}
for _, v := range resp.Data {
var extraData modelCast.PublishTaskDto
if v.ExtraData == "" {
continue
}
_ = json.Unmarshal([]byte(v.ExtraData), &extraData)
var allDone = true
for _, workUuid := range extraData.WorkUuids {
infoResp, _err := service.CastProvider.WorkInfo(context.Background(), &cast.WorkInfoReq{WorkUuid: workUuid})
if _err != nil {
zap.L().Error("获取作品信息失败", zap.Error(_err))
allDone = false
break
}
if infoResp.PublishStatus != cast.PublishStatusENUM_PublishMediaStatus_DONE {
allDone = false
break
}
}
var excelUrl string
if allDone {
excelUrl, err = serverCast.PublishTaskExcel(extraData.WorkUuids, true)
if err != nil {
zap.L().Error("生成发布任务Excel失败", zap.Error(err))
continue
}
_, err = service.CastProvider.UpsertTaskList(context.Background(), &cast.UpsertTaskListReq{
Uuid: v.Uuid,
Action: v.Action,
Url: excelUrl,
Status: 3,
})
if err != nil {
zap.L().Error("更新任务状态失败", zap.Error(err))
continue
}
zap.L().Info("任务已完成,更新状态为完成", zap.String("task_uuid", v.Uuid), zap.String("excel_url", excelUrl))
}
}
}
// WorkPublishQueueConsumer 监听work:publish:queue队列的消费者
func WorkPublishQueueConsumer() {
zap.L().Info("开始监听work:publish:queue队列批量处理模式")

View File

@ -6,8 +6,10 @@ import (
"errors"
"fmt"
"fonchain-fiee/cmd/config"
"fonchain-fiee/pkg/service/upload"
"os"
"strings"
"time"
"fonchain-fiee/api/cast"
modelCast "fonchain-fiee/pkg/model/cast"
@ -16,6 +18,7 @@ import (
"github.com/gin-gonic/gin"
"github.com/xuri/excelize/v2"
"go.uber.org/zap"
)
func TaskList(ctx *gin.Context) {
@ -73,6 +76,17 @@ func DownloadTaskFile(ctx *gin.Context) {
if resp.Data.ExtraData != "" {
_ = json.Unmarshal([]byte(resp.Data.ExtraData), &taskInfo)
}
exportUrl, err := PublishTaskExcel(taskInfo.WorkUuids, false)
if err != nil {
service.Error(ctx, err)
return
}
service.Success(ctx, gin.H{
"url": exportUrl,
})
}
func PublishTaskExcel(workUuids []string, uploadOss bool) (string, error) {
// 创建Excel文件
f := excelize.NewFile()
sheetName := "Sheet1"
@ -84,16 +98,14 @@ func DownloadTaskFile(ctx *gin.Context) {
}
sw, err := f.NewStreamWriter(sheetName)
if err != nil {
service.Error(ctx, err)
return
return "", err
}
if err := sw.SetRow("A1", headers); err != nil {
service.Error(ctx, err)
return
if err = sw.SetRow("A1", headers); err != nil {
return "", err
}
// 遍历所有作品,收集数据
rowIndex := 2
for _, workUuid := range taskInfo.WorkUuids {
for _, workUuid := range workUuids {
var workResp *cast.WorkDetailResp
workResp, err = service.CastProvider.WorkDetail(context.Background(), &cast.WorkDetailReq{WorkUuid: workUuid})
if err != nil {
@ -156,31 +168,29 @@ func DownloadTaskFile(ctx *gin.Context) {
}
rowIndex++
}
if err := sw.Flush(); err != nil {
service.Error(ctx, err)
return
if err = sw.Flush(); err != nil {
zap.L().Error("PublishTaskExcel Flush err", zap.Error(err))
return "", errors.New("生成Excel文件失败")
}
tempDir := "./runtime/task"
if _, err = os.Stat(tempDir); os.IsNotExist(err) {
if err = os.MkdirAll(tempDir, 0755); err != nil {
service.Error(ctx, err)
return
return "", err
}
}
filename := fmt.Sprintf("任务_%s.xlsx", strings.ReplaceAll(resp.Data.CreatedAt, ":", "-"))
filename := fmt.Sprintf("任务_%s.xlsx", time.Now().Format("20060102150405"))
filePath := tempDir + "/" + filename
var exportUrl string = fmt.Sprintf("%s/api/fiee/static/%s", config.AppConfig.System.FieeHost, strings.Replace(filePath, "./runtime/", "", 1))
if err = f.SaveAs(filePath); err != nil {
service.Error(ctx, err)
return
zap.L().Error("PublishTaskExcel SaveAs err", zap.Error(err))
return "", errors.New("保存Excel文件失败")
}
//// 上传到阿里云
//excelUrl, err := upload.PutBos(filePath, "excel", true)
//if err != nil {
// service.Error(ctx, err)
// return
//}
service.Success(ctx, gin.H{
"url": exportUrl,
})
if uploadOss {
// 上传到阿里云
exportUrl, err = upload.PutBos(filePath, "excel", true)
if err != nil {
return "", err
}
}
return exportUrl, nil
}

View File

@ -17,13 +17,6 @@ import (
func Test(ctx *gin.Context) {
action := ctx.PostForm("action")
if action == "" {
workUuid := ctx.PostForm("workUuid")
resp, err := service.CastProvider.WorkInfo(context.Background(), &cast.WorkInfoReq{WorkUuid: workUuid})
if err != nil {
service.Error(ctx, err)
return
}
service.Success(ctx, resp)
return
}