修改逻辑判断

This commit is contained in:
戴育兵 2026-01-13 10:03:47 +08:00
parent cf99647d57
commit 50f2c59c0b
3 changed files with 468 additions and 228 deletions

View File

@ -2022,6 +2022,8 @@ type WorkListReq struct {
YoutubeStatus uint32 `protobuf:"varint,30,opt,name=youtubeStatus,proto3" json:"youtubeStatus"`
BlueskyStatus uint32 `protobuf:"varint,31,opt,name=blueskyStatus,proto3" json:"blueskyStatus"`
ArtistUuid string `protobuf:"bytes,32,opt,name=artistUuid,proto3" json:"artistUuid"`
WorkUuids []string `protobuf:"bytes,33,rep,name=workUuids,proto3" json:"workUuids"`
NeedPlatformInfo bool `protobuf:"varint,34,opt,name=needPlatformInfo,proto3" json:"needPlatformInfo"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
@ -2280,6 +2282,20 @@ func (x *WorkListReq) GetArtistUuid() string {
return ""
}
func (x *WorkListReq) GetWorkUuids() []string {
if x != nil {
return x.WorkUuids
}
return nil
}
func (x *WorkListReq) GetNeedPlatformInfo() bool {
if x != nil {
return x.NeedPlatformInfo
}
return false
}
type WorkListResp struct {
state protoimpl.MessageState `protogen:"open.v1"`
Data []*WorkListResp_Info `protobuf:"bytes,1,rep,name=data,proto3" json:"data"`
@ -13973,45 +13989,106 @@ func (x *RecalculateCastTagQuoteCountResp) GetMsg() string {
return ""
}
type WorkListResp_PlatformInfo struct {
state protoimpl.MessageState `protogen:"open.v1"`
PlatformID PlatformIDENUM `protobuf:"varint,1,opt,name=platformID,proto3,enum=Cast.PlatformIDENUM" json:"platformID"`
PublishResp string `protobuf:"bytes,2,opt,name=publishResp,proto3" json:"publishResp"`
PublishMediaStatus int32 `protobuf:"varint,3,opt,name=publishMediaStatus,proto3" json:"publishMediaStatus"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *WorkListResp_PlatformInfo) Reset() {
*x = WorkListResp_PlatformInfo{}
mi := &file_pb_fiee_cast_proto_msgTypes[165]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *WorkListResp_PlatformInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*WorkListResp_PlatformInfo) ProtoMessage() {}
func (x *WorkListResp_PlatformInfo) ProtoReflect() protoreflect.Message {
mi := &file_pb_fiee_cast_proto_msgTypes[165]
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 WorkListResp_PlatformInfo.ProtoReflect.Descriptor instead.
func (*WorkListResp_PlatformInfo) Descriptor() ([]byte, []int) {
return file_pb_fiee_cast_proto_rawDescGZIP(), []int{19, 0}
}
func (x *WorkListResp_PlatformInfo) GetPlatformID() PlatformIDENUM {
if x != nil {
return x.PlatformID
}
return PlatformIDENUM_UNKNOWN
}
func (x *WorkListResp_PlatformInfo) GetPublishResp() string {
if x != nil {
return x.PublishResp
}
return ""
}
func (x *WorkListResp_PlatformInfo) GetPublishMediaStatus() int32 {
if x != nil {
return x.PublishMediaStatus
}
return 0
}
type WorkListResp_Info struct {
state protoimpl.MessageState `protogen:"open.v1"`
WorkUuid string `protobuf:"bytes,1,opt,name=workUuid,proto3" json:"workUuid"`
ArtistName string `protobuf:"bytes,2,opt,name=artistName,proto3" json:"artistName"`
ArtistPhone string `protobuf:"bytes,3,opt,name=artistPhone,proto3" json:"artistPhone"`
Title string `protobuf:"bytes,4,opt,name=title,proto3" json:"title"`
WorkCategory uint32 `protobuf:"varint,5,opt,name=workCategory,proto3" json:"workCategory"`
WorkStatus uint32 `protobuf:"varint,6,opt,name=workStatus,proto3" json:"workStatus"`
SubmitTime string `protobuf:"bytes,7,opt,name=submitTime,proto3" json:"submitTime"`
StatusUpdateTime string `protobuf:"bytes,8,opt,name=statusUpdateTime,proto3" json:"statusUpdateTime"`
PlatformIDs []uint32 `protobuf:"varint,9,rep,packed,name=platformIDs,proto3" json:"platformIDs"`
MediaAccountNames []string `protobuf:"bytes,10,rep,name=mediaAccountNames,proto3" json:"mediaAccountNames"`
MediaAccountUuids []string `protobuf:"bytes,11,rep,name=mediaAccountUuids,proto3" json:"mediaAccountUuids"`
ManagerUserNames []string `protobuf:"bytes,12,rep,name=managerUserNames,proto3" json:"managerUserNames"`
ManagerUuids []string `protobuf:"bytes,13,rep,name=managerUuids,proto3" json:"managerUuids"`
ApprovalID string `protobuf:"bytes,14,opt,name=approvalID,proto3" json:"approvalID"`
CostType uint32 `protobuf:"varint,15,opt,name=costType,proto3" json:"costType"`
ScriptUuid string `protobuf:"bytes,16,opt,name=scriptUuid,proto3" json:"scriptUuid"`
ScriptTitle string `protobuf:"bytes,17,opt,name=scriptTitle,proto3" json:"scriptTitle"`
ArtistSubNum string `protobuf:"bytes,18,opt,name=artistSubNum,proto3" json:"artistSubNum"`
TiktokStatus uint32 `protobuf:"varint,19,opt,name=tiktokStatus,proto3" json:"tiktokStatus"`
InsStatus uint32 `protobuf:"varint,20,opt,name=insStatus,proto3" json:"insStatus"`
DmStatus uint32 `protobuf:"varint,21,opt,name=dmStatus,proto3" json:"dmStatus"`
ConfirmType uint32 `protobuf:"varint,22,opt,name=confirmType,proto3" json:"confirmType"`
Remark string `protobuf:"bytes,23,opt,name=remark,proto3" json:"remark"`
Status1Time string `protobuf:"bytes,24,opt,name=status1Time,proto3" json:"status1Time"`
Status4Time string `protobuf:"bytes,25,opt,name=status4Time,proto3" json:"status4Time"`
Status9Time string `protobuf:"bytes,26,opt,name=status9Time,proto3" json:"status9Time"`
Status6Time string `protobuf:"bytes,27,opt,name=status6Time,proto3" json:"status6Time"`
PublishMediaIDs map[string]string `protobuf:"bytes,28,rep,name=PublishMediaIDs,proto3" json:"PublishMediaIDs" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
YoutubeStatus uint32 `protobuf:"varint,29,opt,name=youtubeStatus,proto3" json:"youtubeStatus"`
BlueskyStatus uint32 `protobuf:"varint,30,opt,name=blueskyStatus,proto3" json:"blueskyStatus"`
state protoimpl.MessageState `protogen:"open.v1"`
WorkUuid string `protobuf:"bytes,1,opt,name=workUuid,proto3" json:"workUuid"`
ArtistName string `protobuf:"bytes,2,opt,name=artistName,proto3" json:"artistName"`
ArtistPhone string `protobuf:"bytes,3,opt,name=artistPhone,proto3" json:"artistPhone"`
Title string `protobuf:"bytes,4,opt,name=title,proto3" json:"title"`
WorkCategory uint32 `protobuf:"varint,5,opt,name=workCategory,proto3" json:"workCategory"`
WorkStatus uint32 `protobuf:"varint,6,opt,name=workStatus,proto3" json:"workStatus"`
SubmitTime string `protobuf:"bytes,7,opt,name=submitTime,proto3" json:"submitTime"`
StatusUpdateTime string `protobuf:"bytes,8,opt,name=statusUpdateTime,proto3" json:"statusUpdateTime"`
PlatformIDs []uint32 `protobuf:"varint,9,rep,packed,name=platformIDs,proto3" json:"platformIDs"`
MediaAccountNames []string `protobuf:"bytes,10,rep,name=mediaAccountNames,proto3" json:"mediaAccountNames"`
MediaAccountUuids []string `protobuf:"bytes,11,rep,name=mediaAccountUuids,proto3" json:"mediaAccountUuids"`
ManagerUserNames []string `protobuf:"bytes,12,rep,name=managerUserNames,proto3" json:"managerUserNames"`
ManagerUuids []string `protobuf:"bytes,13,rep,name=managerUuids,proto3" json:"managerUuids"`
ApprovalID string `protobuf:"bytes,14,opt,name=approvalID,proto3" json:"approvalID"`
CostType uint32 `protobuf:"varint,15,opt,name=costType,proto3" json:"costType"`
ScriptUuid string `protobuf:"bytes,16,opt,name=scriptUuid,proto3" json:"scriptUuid"`
ScriptTitle string `protobuf:"bytes,17,opt,name=scriptTitle,proto3" json:"scriptTitle"`
ArtistSubNum string `protobuf:"bytes,18,opt,name=artistSubNum,proto3" json:"artistSubNum"`
TiktokStatus uint32 `protobuf:"varint,19,opt,name=tiktokStatus,proto3" json:"tiktokStatus"`
InsStatus uint32 `protobuf:"varint,20,opt,name=insStatus,proto3" json:"insStatus"`
DmStatus uint32 `protobuf:"varint,21,opt,name=dmStatus,proto3" json:"dmStatus"`
ConfirmType uint32 `protobuf:"varint,22,opt,name=confirmType,proto3" json:"confirmType"`
Remark string `protobuf:"bytes,23,opt,name=remark,proto3" json:"remark"`
Status1Time string `protobuf:"bytes,24,opt,name=status1Time,proto3" json:"status1Time"`
Status4Time string `protobuf:"bytes,25,opt,name=status4Time,proto3" json:"status4Time"`
Status9Time string `protobuf:"bytes,26,opt,name=status9Time,proto3" json:"status9Time"`
Status6Time string `protobuf:"bytes,27,opt,name=status6Time,proto3" json:"status6Time"`
PublishMediaIDs map[string]string `protobuf:"bytes,28,rep,name=PublishMediaIDs,proto3" json:"PublishMediaIDs" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
YoutubeStatus uint32 `protobuf:"varint,29,opt,name=youtubeStatus,proto3" json:"youtubeStatus"`
BlueskyStatus uint32 `protobuf:"varint,30,opt,name=blueskyStatus,proto3" json:"blueskyStatus"`
PlatformInfoData []*WorkListResp_PlatformInfo `protobuf:"bytes,31,rep,name=platformInfoData,proto3" json:"platformInfoData"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *WorkListResp_Info) Reset() {
*x = WorkListResp_Info{}
mi := &file_pb_fiee_cast_proto_msgTypes[165]
mi := &file_pb_fiee_cast_proto_msgTypes[166]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@ -14023,7 +14100,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[165]
mi := &file_pb_fiee_cast_proto_msgTypes[166]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@ -14036,7 +14113,7 @@ func (x *WorkListResp_Info) ProtoReflect() protoreflect.Message {
// Deprecated: Use WorkListResp_Info.ProtoReflect.Descriptor instead.
func (*WorkListResp_Info) Descriptor() ([]byte, []int) {
return file_pb_fiee_cast_proto_rawDescGZIP(), []int{19, 0}
return file_pb_fiee_cast_proto_rawDescGZIP(), []int{19, 1}
}
func (x *WorkListResp_Info) GetWorkUuid() string {
@ -14249,6 +14326,13 @@ func (x *WorkListResp_Info) GetBlueskyStatus() uint32 {
return 0
}
func (x *WorkListResp_Info) GetPlatformInfoData() []*WorkListResp_PlatformInfo {
if x != nil {
return x.PlatformInfoData
}
return nil
}
type MediaAccountsResp_Info struct {
state protoimpl.MessageState `protogen:"open.v1"`
PlatformID uint32 `protobuf:"varint,1,opt,name=platformID,proto3" json:"platformID"`
@ -14263,7 +14347,7 @@ type MediaAccountsResp_Info struct {
func (x *MediaAccountsResp_Info) Reset() {
*x = MediaAccountsResp_Info{}
mi := &file_pb_fiee_cast_proto_msgTypes[168]
mi := &file_pb_fiee_cast_proto_msgTypes[169]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@ -14275,7 +14359,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[168]
mi := &file_pb_fiee_cast_proto_msgTypes[169]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@ -14351,7 +14435,7 @@ type MediaWorksResp_Info struct {
func (x *MediaWorksResp_Info) Reset() {
*x = MediaWorksResp_Info{}
mi := &file_pb_fiee_cast_proto_msgTypes[169]
mi := &file_pb_fiee_cast_proto_msgTypes[170]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@ -14363,7 +14447,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[169]
mi := &file_pb_fiee_cast_proto_msgTypes[170]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@ -14459,7 +14543,7 @@ type PublishResp_Info struct {
func (x *PublishResp_Info) Reset() {
*x = PublishResp_Info{}
mi := &file_pb_fiee_cast_proto_msgTypes[170]
mi := &file_pb_fiee_cast_proto_msgTypes[171]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@ -14471,7 +14555,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[170]
mi := &file_pb_fiee_cast_proto_msgTypes[171]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@ -14512,7 +14596,7 @@ type RefreshWorkListResp_Info struct {
func (x *RefreshWorkListResp_Info) Reset() {
*x = RefreshWorkListResp_Info{}
mi := &file_pb_fiee_cast_proto_msgTypes[171]
mi := &file_pb_fiee_cast_proto_msgTypes[172]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@ -14524,7 +14608,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[171]
mi := &file_pb_fiee_cast_proto_msgTypes[172]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@ -14575,7 +14659,7 @@ type RefreshWorkListResp_Info_PlatformInfo struct {
func (x *RefreshWorkListResp_Info_PlatformInfo) Reset() {
*x = RefreshWorkListResp_Info_PlatformInfo{}
mi := &file_pb_fiee_cast_proto_msgTypes[172]
mi := &file_pb_fiee_cast_proto_msgTypes[173]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@ -14587,7 +14671,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[172]
mi := &file_pb_fiee_cast_proto_msgTypes[173]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@ -14658,7 +14742,7 @@ type UpdateOAuthReq_Info struct {
func (x *UpdateOAuthReq_Info) Reset() {
*x = UpdateOAuthReq_Info{}
mi := &file_pb_fiee_cast_proto_msgTypes[173]
mi := &file_pb_fiee_cast_proto_msgTypes[174]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@ -14670,7 +14754,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[173]
mi := &file_pb_fiee_cast_proto_msgTypes[174]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@ -14915,7 +14999,7 @@ const file_pb_fiee_cast_proto_rawDesc = "" +
"platformID\x18\x02 \x01(\x0e2\x14.Cast.PlatformIDENUMR\n" +
"platformID\"B\n" +
"\x17MediaInfoByPlatformResp\x12'\n" +
"\x04info\x18\x01 \x01(\v2\x13.Cast.MediaUserInfoR\x04info\"\xd9\b\n" +
"\x04info\x18\x01 \x01(\v2\x13.Cast.MediaUserInfoR\x04info\"\xa3\t\n" +
"\vWorkListReq\x12\x1c\n" +
"\tartistVal\x18\x01 \x01(\tR\tartistVal\x12\x1e\n" +
"\n" +
@ -14965,10 +15049,18 @@ const file_pb_fiee_cast_proto_rawDesc = "" +
"\rblueskyStatus\x18\x1f \x01(\rR\rblueskyStatus\x12\x1e\n" +
"\n" +
"artistUuid\x18 \x01(\tR\n" +
"artistUuid\"\xd6\t\n" +
"artistUuid\x12\x1c\n" +
"\tworkUuids\x18! \x03(\tR\tworkUuids\x12*\n" +
"\x10needPlatformInfo\x18\" \x01(\bR\x10needPlatformInfo\"\xbc\v\n" +
"\fWorkListResp\x12+\n" +
"\x04data\x18\x01 \x03(\v2\x17.Cast.WorkListResp.InfoR\x04data\x12\x14\n" +
"\x05count\x18\x02 \x01(\x03R\x05count\x1a\x82\t\n" +
"\x05count\x18\x02 \x01(\x03R\x05count\x1a\x96\x01\n" +
"\fPlatformInfo\x124\n" +
"\n" +
"platformID\x18\x01 \x01(\x0e2\x14.Cast.PlatformIDENUMR\n" +
"platformID\x12 \n" +
"\vpublishResp\x18\x02 \x01(\tR\vpublishResp\x12.\n" +
"\x12publishMediaStatus\x18\x03 \x01(\x05R\x12publishMediaStatus\x1a\xcf\t\n" +
"\x04Info\x12\x1a\n" +
"\bworkUuid\x18\x01 \x01(\tR\bworkUuid\x12\x1e\n" +
"\n" +
@ -15010,7 +15102,8 @@ const file_pb_fiee_cast_proto_rawDesc = "" +
"\vstatus6Time\x18\x1b \x01(\tR\vstatus6Time\x12V\n" +
"\x0fPublishMediaIDs\x18\x1c \x03(\v2,.Cast.WorkListResp.Info.PublishMediaIDsEntryR\x0fPublishMediaIDs\x12$\n" +
"\ryoutubeStatus\x18\x1d \x01(\rR\ryoutubeStatus\x12$\n" +
"\rblueskyStatus\x18\x1e \x01(\rR\rblueskyStatus\x1aB\n" +
"\rblueskyStatus\x18\x1e \x01(\rR\rblueskyStatus\x12K\n" +
"\x10platformInfoData\x18\x1f \x03(\v2\x1f.Cast.WorkListResp.PlatformInfoR\x10platformInfoData\x1aB\n" +
"\x14PublishMediaIDsEntry\x12\x10\n" +
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"+\n" +
@ -16510,7 +16603,7 @@ func file_pb_fiee_cast_proto_rawDescGZIP() []byte {
}
var file_pb_fiee_cast_proto_enumTypes = make([]protoimpl.EnumInfo, 7)
var file_pb_fiee_cast_proto_msgTypes = make([]protoimpl.MessageInfo, 174)
var file_pb_fiee_cast_proto_msgTypes = make([]protoimpl.MessageInfo, 175)
var file_pb_fiee_cast_proto_goTypes = []any{
(PlatformIDENUM)(0), // 0: Cast.PlatformIDENUM
(AuthStatusENUM)(0), // 1: Cast.AuthStatusENUM
@ -16684,16 +16777,17 @@ var file_pb_fiee_cast_proto_goTypes = []any{
(*UpdateCastTagBatchResp)(nil), // 169: Cast.UpdateCastTagBatchResp
(*UpdateCastTagStatusReq)(nil), // 170: Cast.UpdateCastTagStatusReq
(*RecalculateCastTagQuoteCountResp)(nil), // 171: Cast.RecalculateCastTagQuoteCountResp
(*WorkListResp_Info)(nil), // 172: Cast.WorkListResp.Info
nil, // 173: Cast.WorkListResp.Info.PublishMediaIDsEntry
nil, // 174: Cast.WorkDetailResp.MediaAccDataEntry
(*MediaAccountsResp_Info)(nil), // 175: Cast.MediaAccountsResp.Info
(*MediaWorksResp_Info)(nil), // 176: Cast.MediaWorksResp.Info
(*PublishResp_Info)(nil), // 177: Cast.PublishResp.Info
(*RefreshWorkListResp_Info)(nil), // 178: Cast.RefreshWorkListResp.Info
(*RefreshWorkListResp_Info_PlatformInfo)(nil), // 179: Cast.RefreshWorkListResp.Info.PlatformInfo
(*UpdateOAuthReq_Info)(nil), // 180: Cast.UpdateOAuthReq.Info
(*emptypb.Empty)(nil), // 181: google.protobuf.Empty
(*WorkListResp_PlatformInfo)(nil), // 172: Cast.WorkListResp.PlatformInfo
(*WorkListResp_Info)(nil), // 173: Cast.WorkListResp.Info
nil, // 174: Cast.WorkListResp.Info.PublishMediaIDsEntry
nil, // 175: Cast.WorkDetailResp.MediaAccDataEntry
(*MediaAccountsResp_Info)(nil), // 176: Cast.MediaAccountsResp.Info
(*MediaWorksResp_Info)(nil), // 177: Cast.MediaWorksResp.Info
(*PublishResp_Info)(nil), // 178: Cast.PublishResp.Info
(*RefreshWorkListResp_Info)(nil), // 179: Cast.RefreshWorkListResp.Info
(*RefreshWorkListResp_Info_PlatformInfo)(nil), // 180: Cast.RefreshWorkListResp.Info.PlatformInfo
(*UpdateOAuthReq_Info)(nil), // 181: Cast.UpdateOAuthReq.Info
(*emptypb.Empty)(nil), // 182: google.protobuf.Empty
}
var file_pb_fiee_cast_proto_depIdxs = []int32{
0, // 0: Cast.MediaUserListReq.platformID:type_name -> Cast.PlatformIDENUM
@ -16719,28 +16813,28 @@ var file_pb_fiee_cast_proto_depIdxs = []int32{
9, // 20: Cast.MediaInfoResp.info:type_name -> Cast.MediaUserInfo
0, // 21: Cast.MediaInfoByPlatformReq.platformID:type_name -> Cast.PlatformIDENUM
9, // 22: Cast.MediaInfoByPlatformResp.info:type_name -> Cast.MediaUserInfo
172, // 23: Cast.WorkListResp.data:type_name -> Cast.WorkListResp.Info
173, // 23: Cast.WorkListResp.data:type_name -> Cast.WorkListResp.Info
18, // 24: Cast.WorkDetailResp.publishConfig1:type_name -> Cast.PublishConfig
18, // 25: Cast.WorkDetailResp.publishConfig2:type_name -> Cast.PublishConfig
18, // 26: Cast.WorkDetailResp.publishConfig3:type_name -> Cast.PublishConfig
18, // 27: Cast.WorkDetailResp.publishConfig4:type_name -> Cast.PublishConfig
28, // 28: Cast.WorkDetailResp.WorkLogData:type_name -> Cast.WorkLogInfo
174, // 29: Cast.WorkDetailResp.mediaAccData:type_name -> Cast.WorkDetailResp.MediaAccDataEntry
175, // 29: Cast.WorkDetailResp.mediaAccData:type_name -> Cast.WorkDetailResp.MediaAccDataEntry
18, // 30: Cast.WorkDetailResp.publishConfig5:type_name -> Cast.PublishConfig
2, // 31: Cast.UpdateStatusReq.workAction:type_name -> Cast.WorkActionENUM
3, // 32: Cast.UpdateStatusReq.autoPublish:type_name -> Cast.AutoPublishENUM
5, // 33: Cast.UpdateStatusReq.confirmFailType:type_name -> Cast.ConfirmFailENUM
175, // 34: Cast.MediaAccountsResp.data:type_name -> Cast.MediaAccountsResp.Info
176, // 35: Cast.MediaWorksResp.data:type_name -> Cast.MediaWorksResp.Info
177, // 36: Cast.PublishResp.data:type_name -> Cast.PublishResp.Info
176, // 34: Cast.MediaAccountsResp.data:type_name -> Cast.MediaAccountsResp.Info
177, // 35: Cast.MediaWorksResp.data:type_name -> Cast.MediaWorksResp.Info
178, // 36: Cast.PublishResp.data:type_name -> Cast.PublishResp.Info
16, // 37: Cast.ImportWorkBatchReq.imageWorks:type_name -> Cast.UpdateWorkImageReq
16, // 38: Cast.ImportWorkBatchResp.imageWorks:type_name -> Cast.UpdateWorkImageReq
4, // 39: Cast.PlatformInfo.publishStatus:type_name -> Cast.PublishStatusENUM
46, // 40: Cast.UpdateWorkPlatformInfoReq.PlatformInfoData:type_name -> Cast.PlatformInfo
0, // 41: Cast.UpdateWorkPublishLogReq.platformID:type_name -> Cast.PlatformIDENUM
178, // 42: Cast.RefreshWorkListResp.Data:type_name -> Cast.RefreshWorkListResp.Info
179, // 42: Cast.RefreshWorkListResp.Data:type_name -> Cast.RefreshWorkListResp.Info
0, // 43: Cast.OAuthCodeToTokenReq.platformID:type_name -> Cast.PlatformIDENUM
180, // 44: Cast.UpdateOAuthReq.Data:type_name -> Cast.UpdateOAuthReq.Info
181, // 44: Cast.UpdateOAuthReq.Data:type_name -> Cast.UpdateOAuthReq.Info
0, // 45: Cast.RefreshTokenReq.platformID:type_name -> Cast.PlatformIDENUM
71, // 46: Cast.ListVideoScriptsResp.data:type_name -> Cast.VideoScriptInfo
71, // 47: Cast.UpdateVideoScriptBatchReq.data:type_name -> Cast.VideoScriptInfo
@ -16803,164 +16897,166 @@ var file_pb_fiee_cast_proto_depIdxs = []int32{
166, // 104: Cast.ListCastTagsResp.data:type_name -> Cast.CastTagInfo
166, // 105: Cast.UpdateCastTagBatchReq.data:type_name -> Cast.CastTagInfo
166, // 106: Cast.UpdateCastTagBatchResp.data:type_name -> Cast.CastTagInfo
173, // 107: Cast.WorkListResp.Info.PublishMediaIDs:type_name -> Cast.WorkListResp.Info.PublishMediaIDsEntry
9, // 108: Cast.WorkDetailResp.MediaAccDataEntry.value:type_name -> Cast.MediaUserInfo
179, // 109: Cast.RefreshWorkListResp.Info.PlatformInfoData:type_name -> Cast.RefreshWorkListResp.Info.PlatformInfo
0, // 110: Cast.RefreshWorkListResp.Info.PlatformInfo.platformID:type_name -> Cast.PlatformIDENUM
0, // 111: Cast.UpdateOAuthReq.Info.platformID:type_name -> Cast.PlatformIDENUM
8, // 112: Cast.Cast.MediaUserList:input_type -> Cast.MediaUserListReq
11, // 113: Cast.Cast.UpdateMediaAccount:input_type -> Cast.UpdateMediaAccountReq
13, // 114: Cast.Cast.UnbindManager:input_type -> Cast.UnbindManagerReq
15, // 115: Cast.Cast.BindManager:input_type -> Cast.BindManagerReq
16, // 116: Cast.Cast.UpdateWorkImage:input_type -> Cast.UpdateWorkImageReq
19, // 117: Cast.Cast.UpdateWorkVideo:input_type -> Cast.UpdateWorkVideoReq
21, // 118: Cast.Cast.MediaInfo:input_type -> Cast.MediaInfoReq
23, // 119: Cast.Cast.MediaInfoByPlatform:input_type -> Cast.MediaInfoByPlatformReq
25, // 120: Cast.Cast.WorkList:input_type -> Cast.WorkListReq
27, // 121: Cast.Cast.WorkDetail:input_type -> Cast.WorkDetailReq
30, // 122: Cast.Cast.UpdateStatus:input_type -> Cast.UpdateStatusReq
31, // 123: Cast.Cast.MediaAccounts:input_type -> Cast.MediaAccountsReq
33, // 124: Cast.Cast.MediaWorks:input_type -> Cast.MediaWorksReq
35, // 125: Cast.Cast.Publish:input_type -> Cast.PublishReq
37, // 126: Cast.Cast.RePublish:input_type -> Cast.RePublishReq
39, // 127: Cast.Cast.DelWork:input_type -> Cast.DelWorkReq
40, // 128: Cast.Cast.WorkInfo:input_type -> Cast.WorkInfoReq
42, // 129: Cast.Cast.ArtistInfo:input_type -> Cast.ArtistInfoReq
44, // 130: Cast.Cast.ImportWorkBatch:input_type -> Cast.ImportWorkBatchReq
47, // 131: Cast.Cast.UpdateWorkPlatformInfo:input_type -> Cast.UpdateWorkPlatformInfoReq
49, // 132: Cast.Cast.UpdateWorkPublishLog:input_type -> Cast.UpdateWorkPublishLogReq
50, // 133: Cast.Cast.RefreshWorkList:input_type -> Cast.RefreshWorkListReq
52, // 134: Cast.Cast.OAuthAccount:input_type -> Cast.OAuthAccountReq
54, // 135: Cast.Cast.OAuthAccountV2:input_type -> Cast.OAuthAccountV2Req
58, // 136: Cast.Cast.OAuthCodeToToken:input_type -> Cast.OAuthCodeToTokenReq
60, // 137: Cast.Cast.UpdateOAuth:input_type -> Cast.UpdateOAuthReq
61, // 138: Cast.Cast.RefreshToken:input_type -> Cast.RefreshTokenReq
63, // 139: Cast.Cast.PublishMediaInfo:input_type -> Cast.PublishMediaInfoReq
65, // 140: Cast.Cast.Tools:input_type -> Cast.ToolsReq
66, // 141: Cast.Cast.UpdateVideoScript:input_type -> Cast.UpdateVideoScriptReq
68, // 142: Cast.Cast.GetVideoScript:input_type -> Cast.GetVideoScriptReq
70, // 143: Cast.Cast.ListVideoScripts:input_type -> Cast.ListVideoScriptsReq
73, // 144: Cast.Cast.DeleteVideoScript:input_type -> Cast.DeleteVideoScriptReq
74, // 145: Cast.Cast.UpdateVideoScriptBatch:input_type -> Cast.UpdateVideoScriptBatchReq
76, // 146: Cast.Cast.UpdateScriptStatus:input_type -> Cast.UpdateScriptStatusReq
78, // 147: Cast.Cast.GetLayout:input_type -> Cast.GetLayoutReq
77, // 148: Cast.Cast.SetLayout:input_type -> Cast.SetLayoutReq
80, // 149: Cast.Cast.UpdatePrompt:input_type -> Cast.UpdatePromptReq
81, // 150: Cast.Cast.DeletePrompt:input_type -> Cast.DeletePromptReq
82, // 151: Cast.Cast.GetPrompt:input_type -> Cast.GetPromptReq
84, // 152: Cast.Cast.ListPrompts:input_type -> Cast.ListPromptsReq
87, // 153: Cast.Cast.UpdatePromptBatch:input_type -> Cast.UpdatePromptBatchReq
90, // 154: Cast.Cast.UpdateArtist:input_type -> Cast.UpdateArtistReq
92, // 155: Cast.Cast.GetArtist:input_type -> Cast.GetArtistReq
94, // 156: Cast.Cast.CreateWorkAnalysis:input_type -> Cast.CreateWorkAnalysisReq
96, // 157: Cast.Cast.UpdateWorkAnalysis:input_type -> Cast.UpdateWorkAnalysisReq
97, // 158: Cast.Cast.UpdateWorkAnalysisStatus:input_type -> Cast.UpdateWorkAnalysisStatusReq
108, // 159: Cast.Cast.GetWorkAnalysis:input_type -> Cast.GetWorkAnalysisDetailReq
109, // 160: Cast.Cast.GetLatestWorkAnalysis:input_type -> Cast.GetLatestWorkAnalysisReq
112, // 161: Cast.Cast.ListWorkAnalysis:input_type -> Cast.ListWorkAnalysisReq
115, // 162: Cast.Cast.DeleteWorkAnalysis:input_type -> Cast.DeleteWorkAnalysisReq
134, // 163: Cast.Cast.UpdateWorkAnalysisApprovalID:input_type -> Cast.UpdateWorkAnalysisApprovalIDReq
116, // 164: Cast.Cast.ArtistDataList:input_type -> Cast.ArtistDataListReq
119, // 165: Cast.Cast.MediaDataList:input_type -> Cast.MediaDataListReq
122, // 166: Cast.Cast.DataOverview:input_type -> Cast.DataOverviewReq
124, // 167: Cast.Cast.ArtistMetricsSeries:input_type -> Cast.ArtistMetricsSeriesReq
126, // 168: Cast.Cast.ArtistMetricsDailyWindow:input_type -> Cast.ArtistMetricsDailyWindowReq
131, // 169: Cast.Cast.TobeConfirmedList:input_type -> Cast.TobeConfirmedListReq
136, // 170: Cast.Cast.UpsertMediaMetricsDailyBatch:input_type -> Cast.UpsertMediaMetricsDailyBatchReq
139, // 171: Cast.Cast.UpsertWorkMetricsDailyBatch:input_type -> Cast.UpsertWorkMetricsDailyBatchReq
147, // 172: Cast.Cast.ListMediaMetricsDaily:input_type -> Cast.ListMediaMetricsDailyReq
150, // 173: Cast.Cast.ListWorkMetricsDaily:input_type -> Cast.ListWorkMetricsDailyReq
161, // 174: Cast.Cast.CalculateMediaMetricsByWorks:input_type -> Cast.CalculateMediaMetricsByWorksReq
141, // 175: Cast.Cast.GetArtistAyrShareInfo:input_type -> Cast.GetArtistAyrShareInfoReq
144, // 176: Cast.Cast.ListWorkPlatformInfo:input_type -> Cast.ListWorkPlatformInfoReq
153, // 177: Cast.Cast.UpsertTaskList:input_type -> Cast.UpsertTaskListReq
155, // 178: Cast.Cast.GetTaskList:input_type -> Cast.GetTaskListReq
158, // 179: Cast.Cast.ListTaskList:input_type -> Cast.ListTaskListReq
160, // 180: Cast.Cast.DeleteTaskList:input_type -> Cast.DeleteTaskListReq
163, // 181: Cast.Cast.UpdateCastTag:input_type -> Cast.UpdateCastTagReq
165, // 182: Cast.Cast.ListCastTags:input_type -> Cast.ListCastTagsReq
168, // 183: Cast.Cast.UpdateCastTagBatch:input_type -> Cast.UpdateCastTagBatchReq
170, // 184: Cast.Cast.UpdateCastTagStatus:input_type -> Cast.UpdateCastTagStatusReq
181, // 185: Cast.Cast.RecalculateCastTagQuoteCount:input_type -> google.protobuf.Empty
10, // 186: Cast.Cast.MediaUserList:output_type -> Cast.MediaUserListResp
12, // 187: Cast.Cast.UpdateMediaAccount:output_type -> Cast.UpdateMediaAccountResp
14, // 188: Cast.Cast.UnbindManager:output_type -> Cast.UnbindManagerResp
181, // 189: Cast.Cast.BindManager:output_type -> google.protobuf.Empty
17, // 190: Cast.Cast.UpdateWorkImage:output_type -> Cast.UpdateWorkImageResp
20, // 191: Cast.Cast.UpdateWorkVideo:output_type -> Cast.UpdateWorkVideoResp
22, // 192: Cast.Cast.MediaInfo:output_type -> Cast.MediaInfoResp
24, // 193: Cast.Cast.MediaInfoByPlatform:output_type -> Cast.MediaInfoByPlatformResp
26, // 194: Cast.Cast.WorkList:output_type -> Cast.WorkListResp
29, // 195: Cast.Cast.WorkDetail:output_type -> Cast.WorkDetailResp
181, // 196: Cast.Cast.UpdateStatus:output_type -> google.protobuf.Empty
32, // 197: Cast.Cast.MediaAccounts:output_type -> Cast.MediaAccountsResp
34, // 198: Cast.Cast.MediaWorks:output_type -> Cast.MediaWorksResp
36, // 199: Cast.Cast.Publish:output_type -> Cast.PublishResp
38, // 200: Cast.Cast.RePublish:output_type -> Cast.RePublishResp
181, // 201: Cast.Cast.DelWork:output_type -> google.protobuf.Empty
41, // 202: Cast.Cast.WorkInfo:output_type -> Cast.WorkInfoResp
43, // 203: Cast.Cast.ArtistInfo:output_type -> Cast.ArtistInfoResp
45, // 204: Cast.Cast.ImportWorkBatch:output_type -> Cast.ImportWorkBatchResp
48, // 205: Cast.Cast.UpdateWorkPlatformInfo:output_type -> Cast.UpdateWorkPlatformInfoResp
181, // 206: Cast.Cast.UpdateWorkPublishLog:output_type -> google.protobuf.Empty
51, // 207: Cast.Cast.RefreshWorkList:output_type -> Cast.RefreshWorkListResp
53, // 208: Cast.Cast.OAuthAccount:output_type -> Cast.OAuthAccountResp
55, // 209: Cast.Cast.OAuthAccountV2:output_type -> Cast.OAuthAccountV2Resp
59, // 210: Cast.Cast.OAuthCodeToToken:output_type -> Cast.OAuthCodeToTokenResp
181, // 211: Cast.Cast.UpdateOAuth:output_type -> google.protobuf.Empty
62, // 212: Cast.Cast.RefreshToken:output_type -> Cast.RefreshTokenResp
64, // 213: Cast.Cast.PublishMediaInfo:output_type -> Cast.PublishMediaInfoResp
181, // 214: Cast.Cast.Tools:output_type -> google.protobuf.Empty
67, // 215: Cast.Cast.UpdateVideoScript:output_type -> Cast.UpdateVideoScriptResp
69, // 216: Cast.Cast.GetVideoScript:output_type -> Cast.GetVideoScriptResp
72, // 217: Cast.Cast.ListVideoScripts:output_type -> Cast.ListVideoScriptsResp
181, // 218: Cast.Cast.DeleteVideoScript:output_type -> google.protobuf.Empty
75, // 219: Cast.Cast.UpdateVideoScriptBatch:output_type -> Cast.UpdateVideoScriptBatchResp
181, // 220: Cast.Cast.UpdateScriptStatus:output_type -> google.protobuf.Empty
79, // 221: Cast.Cast.GetLayout:output_type -> Cast.GetLayoutResp
181, // 222: Cast.Cast.SetLayout:output_type -> google.protobuf.Empty
181, // 223: Cast.Cast.UpdatePrompt:output_type -> google.protobuf.Empty
181, // 224: Cast.Cast.DeletePrompt:output_type -> google.protobuf.Empty
83, // 225: Cast.Cast.GetPrompt:output_type -> Cast.GetPromptResp
86, // 226: Cast.Cast.ListPrompts:output_type -> Cast.ListPromptsResp
88, // 227: Cast.Cast.UpdatePromptBatch:output_type -> Cast.UpdatePromptBatchResp
91, // 228: Cast.Cast.UpdateArtist:output_type -> Cast.UpdateArtistResp
93, // 229: Cast.Cast.GetArtist:output_type -> Cast.GetArtistResp
95, // 230: Cast.Cast.CreateWorkAnalysis:output_type -> Cast.CreateWorkAnalysisResp
181, // 231: Cast.Cast.UpdateWorkAnalysis:output_type -> google.protobuf.Empty
181, // 232: Cast.Cast.UpdateWorkAnalysisStatus:output_type -> google.protobuf.Empty
111, // 233: Cast.Cast.GetWorkAnalysis:output_type -> Cast.GetWorkAnalysisDetailResp
110, // 234: Cast.Cast.GetLatestWorkAnalysis:output_type -> Cast.GetWorkAnalysisResp
114, // 235: Cast.Cast.ListWorkAnalysis:output_type -> Cast.ListWorkAnalysisResp
181, // 236: Cast.Cast.DeleteWorkAnalysis:output_type -> google.protobuf.Empty
181, // 237: Cast.Cast.UpdateWorkAnalysisApprovalID:output_type -> google.protobuf.Empty
118, // 238: Cast.Cast.ArtistDataList:output_type -> Cast.ArtistDataListResp
121, // 239: Cast.Cast.MediaDataList:output_type -> Cast.MediaDataListResp
123, // 240: Cast.Cast.DataOverview:output_type -> Cast.DataOverviewResp
125, // 241: Cast.Cast.ArtistMetricsSeries:output_type -> Cast.ArtistMetricsSeriesResp
130, // 242: Cast.Cast.ArtistMetricsDailyWindow:output_type -> Cast.ArtistMetricsDailyWindowResp
133, // 243: Cast.Cast.TobeConfirmedList:output_type -> Cast.TobeConfirmedListResp
137, // 244: Cast.Cast.UpsertMediaMetricsDailyBatch:output_type -> Cast.UpsertMediaMetricsDailyBatchResp
140, // 245: Cast.Cast.UpsertWorkMetricsDailyBatch:output_type -> Cast.UpsertWorkMetricsDailyBatchResp
149, // 246: Cast.Cast.ListMediaMetricsDaily:output_type -> Cast.ListMediaMetricsDailyResp
152, // 247: Cast.Cast.ListWorkMetricsDaily:output_type -> Cast.ListWorkMetricsDailyResp
162, // 248: Cast.Cast.CalculateMediaMetricsByWorks:output_type -> Cast.CalculateMediaMetricsByWorksResp
143, // 249: Cast.Cast.GetArtistAyrShareInfo:output_type -> Cast.GetArtistAyrShareInfoResp
146, // 250: Cast.Cast.ListWorkPlatformInfo:output_type -> Cast.ListWorkPlatformInfoResp
154, // 251: Cast.Cast.UpsertTaskList:output_type -> Cast.UpsertTaskListResp
157, // 252: Cast.Cast.GetTaskList:output_type -> Cast.GetTaskListResp
159, // 253: Cast.Cast.ListTaskList:output_type -> Cast.ListTaskListResp
181, // 254: Cast.Cast.DeleteTaskList:output_type -> google.protobuf.Empty
164, // 255: Cast.Cast.UpdateCastTag:output_type -> Cast.UpdateCastTagResp
167, // 256: Cast.Cast.ListCastTags:output_type -> Cast.ListCastTagsResp
169, // 257: Cast.Cast.UpdateCastTagBatch:output_type -> Cast.UpdateCastTagBatchResp
181, // 258: Cast.Cast.UpdateCastTagStatus:output_type -> google.protobuf.Empty
171, // 259: Cast.Cast.RecalculateCastTagQuoteCount:output_type -> Cast.RecalculateCastTagQuoteCountResp
186, // [186:260] is the sub-list for method output_type
112, // [112:186] is the sub-list for method input_type
112, // [112:112] is the sub-list for extension type_name
112, // [112:112] is the sub-list for extension extendee
0, // [0:112] is the sub-list for field type_name
0, // 107: Cast.WorkListResp.PlatformInfo.platformID:type_name -> Cast.PlatformIDENUM
174, // 108: Cast.WorkListResp.Info.PublishMediaIDs:type_name -> Cast.WorkListResp.Info.PublishMediaIDsEntry
172, // 109: Cast.WorkListResp.Info.platformInfoData:type_name -> Cast.WorkListResp.PlatformInfo
9, // 110: Cast.WorkDetailResp.MediaAccDataEntry.value:type_name -> Cast.MediaUserInfo
180, // 111: Cast.RefreshWorkListResp.Info.PlatformInfoData:type_name -> Cast.RefreshWorkListResp.Info.PlatformInfo
0, // 112: Cast.RefreshWorkListResp.Info.PlatformInfo.platformID:type_name -> Cast.PlatformIDENUM
0, // 113: Cast.UpdateOAuthReq.Info.platformID:type_name -> Cast.PlatformIDENUM
8, // 114: Cast.Cast.MediaUserList:input_type -> Cast.MediaUserListReq
11, // 115: Cast.Cast.UpdateMediaAccount:input_type -> Cast.UpdateMediaAccountReq
13, // 116: Cast.Cast.UnbindManager:input_type -> Cast.UnbindManagerReq
15, // 117: Cast.Cast.BindManager:input_type -> Cast.BindManagerReq
16, // 118: Cast.Cast.UpdateWorkImage:input_type -> Cast.UpdateWorkImageReq
19, // 119: Cast.Cast.UpdateWorkVideo:input_type -> Cast.UpdateWorkVideoReq
21, // 120: Cast.Cast.MediaInfo:input_type -> Cast.MediaInfoReq
23, // 121: Cast.Cast.MediaInfoByPlatform:input_type -> Cast.MediaInfoByPlatformReq
25, // 122: Cast.Cast.WorkList:input_type -> Cast.WorkListReq
27, // 123: Cast.Cast.WorkDetail:input_type -> Cast.WorkDetailReq
30, // 124: Cast.Cast.UpdateStatus:input_type -> Cast.UpdateStatusReq
31, // 125: Cast.Cast.MediaAccounts:input_type -> Cast.MediaAccountsReq
33, // 126: Cast.Cast.MediaWorks:input_type -> Cast.MediaWorksReq
35, // 127: Cast.Cast.Publish:input_type -> Cast.PublishReq
37, // 128: Cast.Cast.RePublish:input_type -> Cast.RePublishReq
39, // 129: Cast.Cast.DelWork:input_type -> Cast.DelWorkReq
40, // 130: Cast.Cast.WorkInfo:input_type -> Cast.WorkInfoReq
42, // 131: Cast.Cast.ArtistInfo:input_type -> Cast.ArtistInfoReq
44, // 132: Cast.Cast.ImportWorkBatch:input_type -> Cast.ImportWorkBatchReq
47, // 133: Cast.Cast.UpdateWorkPlatformInfo:input_type -> Cast.UpdateWorkPlatformInfoReq
49, // 134: Cast.Cast.UpdateWorkPublishLog:input_type -> Cast.UpdateWorkPublishLogReq
50, // 135: Cast.Cast.RefreshWorkList:input_type -> Cast.RefreshWorkListReq
52, // 136: Cast.Cast.OAuthAccount:input_type -> Cast.OAuthAccountReq
54, // 137: Cast.Cast.OAuthAccountV2:input_type -> Cast.OAuthAccountV2Req
58, // 138: Cast.Cast.OAuthCodeToToken:input_type -> Cast.OAuthCodeToTokenReq
60, // 139: Cast.Cast.UpdateOAuth:input_type -> Cast.UpdateOAuthReq
61, // 140: Cast.Cast.RefreshToken:input_type -> Cast.RefreshTokenReq
63, // 141: Cast.Cast.PublishMediaInfo:input_type -> Cast.PublishMediaInfoReq
65, // 142: Cast.Cast.Tools:input_type -> Cast.ToolsReq
66, // 143: Cast.Cast.UpdateVideoScript:input_type -> Cast.UpdateVideoScriptReq
68, // 144: Cast.Cast.GetVideoScript:input_type -> Cast.GetVideoScriptReq
70, // 145: Cast.Cast.ListVideoScripts:input_type -> Cast.ListVideoScriptsReq
73, // 146: Cast.Cast.DeleteVideoScript:input_type -> Cast.DeleteVideoScriptReq
74, // 147: Cast.Cast.UpdateVideoScriptBatch:input_type -> Cast.UpdateVideoScriptBatchReq
76, // 148: Cast.Cast.UpdateScriptStatus:input_type -> Cast.UpdateScriptStatusReq
78, // 149: Cast.Cast.GetLayout:input_type -> Cast.GetLayoutReq
77, // 150: Cast.Cast.SetLayout:input_type -> Cast.SetLayoutReq
80, // 151: Cast.Cast.UpdatePrompt:input_type -> Cast.UpdatePromptReq
81, // 152: Cast.Cast.DeletePrompt:input_type -> Cast.DeletePromptReq
82, // 153: Cast.Cast.GetPrompt:input_type -> Cast.GetPromptReq
84, // 154: Cast.Cast.ListPrompts:input_type -> Cast.ListPromptsReq
87, // 155: Cast.Cast.UpdatePromptBatch:input_type -> Cast.UpdatePromptBatchReq
90, // 156: Cast.Cast.UpdateArtist:input_type -> Cast.UpdateArtistReq
92, // 157: Cast.Cast.GetArtist:input_type -> Cast.GetArtistReq
94, // 158: Cast.Cast.CreateWorkAnalysis:input_type -> Cast.CreateWorkAnalysisReq
96, // 159: Cast.Cast.UpdateWorkAnalysis:input_type -> Cast.UpdateWorkAnalysisReq
97, // 160: Cast.Cast.UpdateWorkAnalysisStatus:input_type -> Cast.UpdateWorkAnalysisStatusReq
108, // 161: Cast.Cast.GetWorkAnalysis:input_type -> Cast.GetWorkAnalysisDetailReq
109, // 162: Cast.Cast.GetLatestWorkAnalysis:input_type -> Cast.GetLatestWorkAnalysisReq
112, // 163: Cast.Cast.ListWorkAnalysis:input_type -> Cast.ListWorkAnalysisReq
115, // 164: Cast.Cast.DeleteWorkAnalysis:input_type -> Cast.DeleteWorkAnalysisReq
134, // 165: Cast.Cast.UpdateWorkAnalysisApprovalID:input_type -> Cast.UpdateWorkAnalysisApprovalIDReq
116, // 166: Cast.Cast.ArtistDataList:input_type -> Cast.ArtistDataListReq
119, // 167: Cast.Cast.MediaDataList:input_type -> Cast.MediaDataListReq
122, // 168: Cast.Cast.DataOverview:input_type -> Cast.DataOverviewReq
124, // 169: Cast.Cast.ArtistMetricsSeries:input_type -> Cast.ArtistMetricsSeriesReq
126, // 170: Cast.Cast.ArtistMetricsDailyWindow:input_type -> Cast.ArtistMetricsDailyWindowReq
131, // 171: Cast.Cast.TobeConfirmedList:input_type -> Cast.TobeConfirmedListReq
136, // 172: Cast.Cast.UpsertMediaMetricsDailyBatch:input_type -> Cast.UpsertMediaMetricsDailyBatchReq
139, // 173: Cast.Cast.UpsertWorkMetricsDailyBatch:input_type -> Cast.UpsertWorkMetricsDailyBatchReq
147, // 174: Cast.Cast.ListMediaMetricsDaily:input_type -> Cast.ListMediaMetricsDailyReq
150, // 175: Cast.Cast.ListWorkMetricsDaily:input_type -> Cast.ListWorkMetricsDailyReq
161, // 176: Cast.Cast.CalculateMediaMetricsByWorks:input_type -> Cast.CalculateMediaMetricsByWorksReq
141, // 177: Cast.Cast.GetArtistAyrShareInfo:input_type -> Cast.GetArtistAyrShareInfoReq
144, // 178: Cast.Cast.ListWorkPlatformInfo:input_type -> Cast.ListWorkPlatformInfoReq
153, // 179: Cast.Cast.UpsertTaskList:input_type -> Cast.UpsertTaskListReq
155, // 180: Cast.Cast.GetTaskList:input_type -> Cast.GetTaskListReq
158, // 181: Cast.Cast.ListTaskList:input_type -> Cast.ListTaskListReq
160, // 182: Cast.Cast.DeleteTaskList:input_type -> Cast.DeleteTaskListReq
163, // 183: Cast.Cast.UpdateCastTag:input_type -> Cast.UpdateCastTagReq
165, // 184: Cast.Cast.ListCastTags:input_type -> Cast.ListCastTagsReq
168, // 185: Cast.Cast.UpdateCastTagBatch:input_type -> Cast.UpdateCastTagBatchReq
170, // 186: Cast.Cast.UpdateCastTagStatus:input_type -> Cast.UpdateCastTagStatusReq
182, // 187: Cast.Cast.RecalculateCastTagQuoteCount:input_type -> google.protobuf.Empty
10, // 188: Cast.Cast.MediaUserList:output_type -> Cast.MediaUserListResp
12, // 189: Cast.Cast.UpdateMediaAccount:output_type -> Cast.UpdateMediaAccountResp
14, // 190: Cast.Cast.UnbindManager:output_type -> Cast.UnbindManagerResp
182, // 191: Cast.Cast.BindManager:output_type -> google.protobuf.Empty
17, // 192: Cast.Cast.UpdateWorkImage:output_type -> Cast.UpdateWorkImageResp
20, // 193: Cast.Cast.UpdateWorkVideo:output_type -> Cast.UpdateWorkVideoResp
22, // 194: Cast.Cast.MediaInfo:output_type -> Cast.MediaInfoResp
24, // 195: Cast.Cast.MediaInfoByPlatform:output_type -> Cast.MediaInfoByPlatformResp
26, // 196: Cast.Cast.WorkList:output_type -> Cast.WorkListResp
29, // 197: Cast.Cast.WorkDetail:output_type -> Cast.WorkDetailResp
182, // 198: Cast.Cast.UpdateStatus:output_type -> google.protobuf.Empty
32, // 199: Cast.Cast.MediaAccounts:output_type -> Cast.MediaAccountsResp
34, // 200: Cast.Cast.MediaWorks:output_type -> Cast.MediaWorksResp
36, // 201: Cast.Cast.Publish:output_type -> Cast.PublishResp
38, // 202: Cast.Cast.RePublish:output_type -> Cast.RePublishResp
182, // 203: Cast.Cast.DelWork:output_type -> google.protobuf.Empty
41, // 204: Cast.Cast.WorkInfo:output_type -> Cast.WorkInfoResp
43, // 205: Cast.Cast.ArtistInfo:output_type -> Cast.ArtistInfoResp
45, // 206: Cast.Cast.ImportWorkBatch:output_type -> Cast.ImportWorkBatchResp
48, // 207: Cast.Cast.UpdateWorkPlatformInfo:output_type -> Cast.UpdateWorkPlatformInfoResp
182, // 208: Cast.Cast.UpdateWorkPublishLog:output_type -> google.protobuf.Empty
51, // 209: Cast.Cast.RefreshWorkList:output_type -> Cast.RefreshWorkListResp
53, // 210: Cast.Cast.OAuthAccount:output_type -> Cast.OAuthAccountResp
55, // 211: Cast.Cast.OAuthAccountV2:output_type -> Cast.OAuthAccountV2Resp
59, // 212: Cast.Cast.OAuthCodeToToken:output_type -> Cast.OAuthCodeToTokenResp
182, // 213: Cast.Cast.UpdateOAuth:output_type -> google.protobuf.Empty
62, // 214: Cast.Cast.RefreshToken:output_type -> Cast.RefreshTokenResp
64, // 215: Cast.Cast.PublishMediaInfo:output_type -> Cast.PublishMediaInfoResp
182, // 216: Cast.Cast.Tools:output_type -> google.protobuf.Empty
67, // 217: Cast.Cast.UpdateVideoScript:output_type -> Cast.UpdateVideoScriptResp
69, // 218: Cast.Cast.GetVideoScript:output_type -> Cast.GetVideoScriptResp
72, // 219: Cast.Cast.ListVideoScripts:output_type -> Cast.ListVideoScriptsResp
182, // 220: Cast.Cast.DeleteVideoScript:output_type -> google.protobuf.Empty
75, // 221: Cast.Cast.UpdateVideoScriptBatch:output_type -> Cast.UpdateVideoScriptBatchResp
182, // 222: Cast.Cast.UpdateScriptStatus:output_type -> google.protobuf.Empty
79, // 223: Cast.Cast.GetLayout:output_type -> Cast.GetLayoutResp
182, // 224: Cast.Cast.SetLayout:output_type -> google.protobuf.Empty
182, // 225: Cast.Cast.UpdatePrompt:output_type -> google.protobuf.Empty
182, // 226: Cast.Cast.DeletePrompt:output_type -> google.protobuf.Empty
83, // 227: Cast.Cast.GetPrompt:output_type -> Cast.GetPromptResp
86, // 228: Cast.Cast.ListPrompts:output_type -> Cast.ListPromptsResp
88, // 229: Cast.Cast.UpdatePromptBatch:output_type -> Cast.UpdatePromptBatchResp
91, // 230: Cast.Cast.UpdateArtist:output_type -> Cast.UpdateArtistResp
93, // 231: Cast.Cast.GetArtist:output_type -> Cast.GetArtistResp
95, // 232: Cast.Cast.CreateWorkAnalysis:output_type -> Cast.CreateWorkAnalysisResp
182, // 233: Cast.Cast.UpdateWorkAnalysis:output_type -> google.protobuf.Empty
182, // 234: Cast.Cast.UpdateWorkAnalysisStatus:output_type -> google.protobuf.Empty
111, // 235: Cast.Cast.GetWorkAnalysis:output_type -> Cast.GetWorkAnalysisDetailResp
110, // 236: Cast.Cast.GetLatestWorkAnalysis:output_type -> Cast.GetWorkAnalysisResp
114, // 237: Cast.Cast.ListWorkAnalysis:output_type -> Cast.ListWorkAnalysisResp
182, // 238: Cast.Cast.DeleteWorkAnalysis:output_type -> google.protobuf.Empty
182, // 239: Cast.Cast.UpdateWorkAnalysisApprovalID:output_type -> google.protobuf.Empty
118, // 240: Cast.Cast.ArtistDataList:output_type -> Cast.ArtistDataListResp
121, // 241: Cast.Cast.MediaDataList:output_type -> Cast.MediaDataListResp
123, // 242: Cast.Cast.DataOverview:output_type -> Cast.DataOverviewResp
125, // 243: Cast.Cast.ArtistMetricsSeries:output_type -> Cast.ArtistMetricsSeriesResp
130, // 244: Cast.Cast.ArtistMetricsDailyWindow:output_type -> Cast.ArtistMetricsDailyWindowResp
133, // 245: Cast.Cast.TobeConfirmedList:output_type -> Cast.TobeConfirmedListResp
137, // 246: Cast.Cast.UpsertMediaMetricsDailyBatch:output_type -> Cast.UpsertMediaMetricsDailyBatchResp
140, // 247: Cast.Cast.UpsertWorkMetricsDailyBatch:output_type -> Cast.UpsertWorkMetricsDailyBatchResp
149, // 248: Cast.Cast.ListMediaMetricsDaily:output_type -> Cast.ListMediaMetricsDailyResp
152, // 249: Cast.Cast.ListWorkMetricsDaily:output_type -> Cast.ListWorkMetricsDailyResp
162, // 250: Cast.Cast.CalculateMediaMetricsByWorks:output_type -> Cast.CalculateMediaMetricsByWorksResp
143, // 251: Cast.Cast.GetArtistAyrShareInfo:output_type -> Cast.GetArtistAyrShareInfoResp
146, // 252: Cast.Cast.ListWorkPlatformInfo:output_type -> Cast.ListWorkPlatformInfoResp
154, // 253: Cast.Cast.UpsertTaskList:output_type -> Cast.UpsertTaskListResp
157, // 254: Cast.Cast.GetTaskList:output_type -> Cast.GetTaskListResp
159, // 255: Cast.Cast.ListTaskList:output_type -> Cast.ListTaskListResp
182, // 256: Cast.Cast.DeleteTaskList:output_type -> google.protobuf.Empty
164, // 257: Cast.Cast.UpdateCastTag:output_type -> Cast.UpdateCastTagResp
167, // 258: Cast.Cast.ListCastTags:output_type -> Cast.ListCastTagsResp
169, // 259: Cast.Cast.UpdateCastTagBatch:output_type -> Cast.UpdateCastTagBatchResp
182, // 260: Cast.Cast.UpdateCastTagStatus:output_type -> google.protobuf.Empty
171, // 261: Cast.Cast.RecalculateCastTagQuoteCount:output_type -> Cast.RecalculateCastTagQuoteCountResp
188, // [188:262] is the sub-list for method output_type
114, // [114:188] is the sub-list for method input_type
114, // [114:114] is the sub-list for extension type_name
114, // [114:114] is the sub-list for extension extendee
0, // [0:114] is the sub-list for field type_name
}
func init() { file_pb_fiee_cast_proto_init() }
@ -16974,7 +17070,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: 7,
NumMessages: 174,
NumMessages: 175,
NumExtensions: 0,
NumServices: 1,
},

View File

@ -2537,6 +2537,8 @@ func (m *WorkListReq) validate(all bool) error {
// no validation rules for ArtistUuid
// no validation rules for NeedPlatformInfo
if len(errors) > 0 {
return WorkListReqMultiError(errors)
}
@ -21082,6 +21084,114 @@ var _ interface {
ErrorName() string
} = RecalculateCastTagQuoteCountRespValidationError{}
// Validate checks the field values on WorkListResp_PlatformInfo 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 *WorkListResp_PlatformInfo) Validate() error {
return m.validate(false)
}
// ValidateAll checks the field values on WorkListResp_PlatformInfo 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
// WorkListResp_PlatformInfoMultiError, or nil if none found.
func (m *WorkListResp_PlatformInfo) ValidateAll() error {
return m.validate(true)
}
func (m *WorkListResp_PlatformInfo) validate(all bool) error {
if m == nil {
return nil
}
var errors []error
// no validation rules for PlatformID
// no validation rules for PublishResp
// no validation rules for PublishMediaStatus
if len(errors) > 0 {
return WorkListResp_PlatformInfoMultiError(errors)
}
return nil
}
// WorkListResp_PlatformInfoMultiError is an error wrapping multiple validation
// errors returned by WorkListResp_PlatformInfo.ValidateAll() if the
// designated constraints aren't met.
type WorkListResp_PlatformInfoMultiError []error
// Error returns a concatenation of all the error messages it wraps.
func (m WorkListResp_PlatformInfoMultiError) 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 WorkListResp_PlatformInfoMultiError) AllErrors() []error { return m }
// WorkListResp_PlatformInfoValidationError is the validation error returned by
// WorkListResp_PlatformInfo.Validate if the designated constraints aren't met.
type WorkListResp_PlatformInfoValidationError struct {
field string
reason string
cause error
key bool
}
// Field function returns field value.
func (e WorkListResp_PlatformInfoValidationError) Field() string { return e.field }
// Reason function returns reason value.
func (e WorkListResp_PlatformInfoValidationError) Reason() string { return e.reason }
// Cause function returns cause value.
func (e WorkListResp_PlatformInfoValidationError) Cause() error { return e.cause }
// Key function returns key value.
func (e WorkListResp_PlatformInfoValidationError) Key() bool { return e.key }
// ErrorName returns error name.
func (e WorkListResp_PlatformInfoValidationError) ErrorName() string {
return "WorkListResp_PlatformInfoValidationError"
}
// Error satisfies the builtin error interface
func (e WorkListResp_PlatformInfoValidationError) 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 %sWorkListResp_PlatformInfo.%s: %s%s",
key,
e.field,
e.reason,
cause)
}
var _ error = WorkListResp_PlatformInfoValidationError{}
var _ interface {
Field() string
Reason() string
Key() bool
Cause() error
ErrorName() string
} = WorkListResp_PlatformInfoValidationError{}
// 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.
@ -21154,6 +21264,40 @@ func (m *WorkListResp_Info) validate(all bool) error {
// no validation rules for BlueskyStatus
for idx, item := range m.GetPlatformInfoData() {
_, _ = idx, item
if all {
switch v := interface{}(item).(type) {
case interface{ ValidateAll() error }:
if err := v.ValidateAll(); err != nil {
errors = append(errors, WorkListResp_InfoValidationError{
field: fmt.Sprintf("PlatformInfoData[%v]", idx),
reason: "embedded message failed validation",
cause: err,
})
}
case interface{ Validate() error }:
if err := v.Validate(); err != nil {
errors = append(errors, WorkListResp_InfoValidationError{
field: fmt.Sprintf("PlatformInfoData[%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 WorkListResp_InfoValidationError{
field: fmt.Sprintf("PlatformInfoData[%v]", idx),
reason: "embedded message failed validation",
cause: err,
}
}
}
}
if len(errors) > 0 {
return WorkListResp_InfoMultiError(errors)
}

View File

@ -169,7 +169,7 @@ func UpdateMediaAccount(ctx *gin.Context) {
}
if userResp != nil && len(userResp.Data) > 0 {
for _, v := range userResp.Data {
if v.PlatformID == uint32(req.PlatformID) {
if v.PlatformID == uint32(req.PlatformID) && v.Expired == 1 {
service.Error(ctx, errors.New("账号已存在"))
return
}