Compare commits

..

No commits in common. "48dea8eaac680589f4d6b18a41f83507c4567fd3" and "fd908ec72b192bf73dcf25cda291442a5bb51acc" have entirely different histories.

4 changed files with 120 additions and 242 deletions

View File

@ -80,55 +80,6 @@ func (PlatformIDENUM) EnumDescriptor() ([]byte, []int) {
return file_pb_fiee_cast_proto_rawDescGZIP(), []int{0} return file_pb_fiee_cast_proto_rawDescGZIP(), []int{0}
} }
type AuthStatusENUM int32
const (
AuthStatusENUM_UNKNOWNAuth AuthStatusENUM = 0
AuthStatusENUM_AuthOk AuthStatusENUM = 1
AuthStatusENUM_AuthNo AuthStatusENUM = 2
)
// Enum value maps for AuthStatusENUM.
var (
AuthStatusENUM_name = map[int32]string{
0: "UNKNOWNAuth",
1: "AuthOk",
2: "AuthNo",
}
AuthStatusENUM_value = map[string]int32{
"UNKNOWNAuth": 0,
"AuthOk": 1,
"AuthNo": 2,
}
)
func (x AuthStatusENUM) Enum() *AuthStatusENUM {
p := new(AuthStatusENUM)
*p = x
return p
}
func (x AuthStatusENUM) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (AuthStatusENUM) Descriptor() protoreflect.EnumDescriptor {
return file_pb_fiee_cast_proto_enumTypes[1].Descriptor()
}
func (AuthStatusENUM) Type() protoreflect.EnumType {
return &file_pb_fiee_cast_proto_enumTypes[1]
}
func (x AuthStatusENUM) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use AuthStatusENUM.Descriptor instead.
func (AuthStatusENUM) EnumDescriptor() ([]byte, []int) {
return file_pb_fiee_cast_proto_rawDescGZIP(), []int{1}
}
type WorkActionENUM int32 type WorkActionENUM int32
const ( const (
@ -171,11 +122,11 @@ func (x WorkActionENUM) String() string {
} }
func (WorkActionENUM) Descriptor() protoreflect.EnumDescriptor { func (WorkActionENUM) Descriptor() protoreflect.EnumDescriptor {
return file_pb_fiee_cast_proto_enumTypes[2].Descriptor() return file_pb_fiee_cast_proto_enumTypes[1].Descriptor()
} }
func (WorkActionENUM) Type() protoreflect.EnumType { func (WorkActionENUM) Type() protoreflect.EnumType {
return &file_pb_fiee_cast_proto_enumTypes[2] return &file_pb_fiee_cast_proto_enumTypes[1]
} }
func (x WorkActionENUM) Number() protoreflect.EnumNumber { func (x WorkActionENUM) Number() protoreflect.EnumNumber {
@ -184,7 +135,7 @@ func (x WorkActionENUM) Number() protoreflect.EnumNumber {
// Deprecated: Use WorkActionENUM.Descriptor instead. // Deprecated: Use WorkActionENUM.Descriptor instead.
func (WorkActionENUM) EnumDescriptor() ([]byte, []int) { func (WorkActionENUM) EnumDescriptor() ([]byte, []int) {
return file_pb_fiee_cast_proto_rawDescGZIP(), []int{2} return file_pb_fiee_cast_proto_rawDescGZIP(), []int{1}
} }
type MediaUserListReq struct { type MediaUserListReq struct {
@ -196,9 +147,6 @@ type MediaUserListReq struct {
Page int32 `protobuf:"varint,5,opt,name=page,proto3" json:"page"` Page int32 `protobuf:"varint,5,opt,name=page,proto3" json:"page"`
PageSize int32 `protobuf:"varint,6,opt,name=pageSize,proto3" json:"pageSize"` PageSize int32 `protobuf:"varint,6,opt,name=pageSize,proto3" json:"pageSize"`
ArtistUuid string `protobuf:"bytes,7,opt,name=artistUuid,proto3" json:"artistUuid"` ArtistUuid string `protobuf:"bytes,7,opt,name=artistUuid,proto3" json:"artistUuid"`
CreateStartDate string `protobuf:"bytes,8,opt,name=createStartDate,proto3" json:"createStartDate"`
CreateEndDate string `protobuf:"bytes,9,opt,name=createEndDate,proto3" json:"createEndDate"`
AuthStatus AuthStatusENUM `protobuf:"varint,10,opt,name=authStatus,proto3,enum=Cast.AuthStatusENUM" json:"authStatus"`
unknownFields protoimpl.UnknownFields unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
} }
@ -282,27 +230,6 @@ func (x *MediaUserListReq) GetArtistUuid() string {
return "" return ""
} }
func (x *MediaUserListReq) GetCreateStartDate() string {
if x != nil {
return x.CreateStartDate
}
return ""
}
func (x *MediaUserListReq) GetCreateEndDate() string {
if x != nil {
return x.CreateEndDate
}
return ""
}
func (x *MediaUserListReq) GetAuthStatus() AuthStatusENUM {
if x != nil {
return x.AuthStatus
}
return AuthStatusENUM_UNKNOWNAuth
}
type MediaUserInfo struct { type MediaUserInfo struct {
state protoimpl.MessageState `protogen:"open.v1"` state protoimpl.MessageState `protogen:"open.v1"`
PlatformUserName string `protobuf:"bytes,1,opt,name=platformUserName,proto3" json:"platformUserName"` PlatformUserName string `protobuf:"bytes,1,opt,name=platformUserName,proto3" json:"platformUserName"`
@ -313,8 +240,6 @@ type MediaUserInfo struct {
ManagerUserName string `protobuf:"bytes,6,opt,name=managerUserName,proto3" json:"managerUserName"` ManagerUserName string `protobuf:"bytes,6,opt,name=managerUserName,proto3" json:"managerUserName"`
ManagerUuid string `protobuf:"bytes,7,opt,name=managerUuid,proto3" json:"managerUuid"` ManagerUuid string `protobuf:"bytes,7,opt,name=managerUuid,proto3" json:"managerUuid"`
MediaAccountUuid string `protobuf:"bytes,8,opt,name=mediaAccountUuid,proto3" json:"mediaAccountUuid"` MediaAccountUuid string `protobuf:"bytes,8,opt,name=mediaAccountUuid,proto3" json:"mediaAccountUuid"`
CreatedDate string `protobuf:"bytes,9,opt,name=createdDate,proto3" json:"createdDate"`
AuthStatus AuthStatusENUM `protobuf:"varint,10,opt,name=authStatus,proto3,enum=Cast.AuthStatusENUM" json:"authStatus"`
unknownFields protoimpl.UnknownFields unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
} }
@ -405,20 +330,6 @@ func (x *MediaUserInfo) GetMediaAccountUuid() string {
return "" return ""
} }
func (x *MediaUserInfo) GetCreatedDate() string {
if x != nil {
return x.CreatedDate
}
return ""
}
func (x *MediaUserInfo) GetAuthStatus() AuthStatusENUM {
if x != nil {
return x.AuthStatus
}
return AuthStatusENUM_UNKNOWNAuth
}
type MediaUserListResp struct { type MediaUserListResp struct {
state protoimpl.MessageState `protogen:"open.v1"` state protoimpl.MessageState `protogen:"open.v1"`
Data []*MediaUserInfo `protobuf:"bytes,1,rep,name=data,proto3" json:"data"` Data []*MediaUserInfo `protobuf:"bytes,1,rep,name=data,proto3" json:"data"`
@ -3271,7 +3182,7 @@ var File_pb_fiee_cast_proto protoreflect.FileDescriptor
const file_pb_fiee_cast_proto_rawDesc = "" + const file_pb_fiee_cast_proto_rawDesc = "" +
"\n" + "\n" +
"\x12pb/fiee/cast.proto\x12\x04Cast\x1a\x15common/wrappers.proto\x1a\x17common/descriptor.proto\x1a\x12common/empty.proto\x1a\x15common/validate.proto\"\x88\x03\n" + "\x12pb/fiee/cast.proto\x12\x04Cast\x1a\x15common/wrappers.proto\x1a\x17common/descriptor.proto\x1a\x12common/empty.proto\x1a\x15common/validate.proto\"\x82\x02\n" +
"\x10MediaUserListReq\x12\x1c\n" + "\x10MediaUserListReq\x12\x1c\n" +
"\tartistVal\x18\x01 \x01(\tR\tartistVal\x12\x1e\n" + "\tartistVal\x18\x01 \x01(\tR\tartistVal\x12\x1e\n" +
"\n" + "\n" +
@ -3285,13 +3196,7 @@ const file_pb_fiee_cast_proto_rawDesc = "" +
"\bpageSize\x18\x06 \x01(\x05R\bpageSize\x12\x1e\n" + "\bpageSize\x18\x06 \x01(\x05R\bpageSize\x12\x1e\n" +
"\n" + "\n" +
"artistUuid\x18\a \x01(\tR\n" + "artistUuid\x18\a \x01(\tR\n" +
"artistUuid\x12(\n" + "artistUuid\"\xb5\x02\n" +
"\x0fcreateStartDate\x18\b \x01(\tR\x0fcreateStartDate\x12$\n" +
"\rcreateEndDate\x18\t \x01(\tR\rcreateEndDate\x124\n" +
"\n" +
"authStatus\x18\n" +
" \x01(\x0e2\x14.Cast.AuthStatusENUMR\n" +
"authStatus\"\x8d\x03\n" +
"\rMediaUserInfo\x12*\n" + "\rMediaUserInfo\x12*\n" +
"\x10platformUserName\x18\x01 \x01(\tR\x10platformUserName\x12\x1e\n" + "\x10platformUserName\x18\x01 \x01(\tR\x10platformUserName\x12\x1e\n" +
"\n" + "\n" +
@ -3306,12 +3211,7 @@ const file_pb_fiee_cast_proto_rawDesc = "" +
"artistUuid\x12(\n" + "artistUuid\x12(\n" +
"\x0fmanagerUserName\x18\x06 \x01(\tR\x0fmanagerUserName\x12 \n" + "\x0fmanagerUserName\x18\x06 \x01(\tR\x0fmanagerUserName\x12 \n" +
"\vmanagerUuid\x18\a \x01(\tR\vmanagerUuid\x12*\n" + "\vmanagerUuid\x18\a \x01(\tR\vmanagerUuid\x12*\n" +
"\x10mediaAccountUuid\x18\b \x01(\tR\x10mediaAccountUuid\x12 \n" + "\x10mediaAccountUuid\x18\b \x01(\tR\x10mediaAccountUuid\"R\n" +
"\vcreatedDate\x18\t \x01(\tR\vcreatedDate\x124\n" +
"\n" +
"authStatus\x18\n" +
" \x01(\x0e2\x14.Cast.AuthStatusENUMR\n" +
"authStatus\"R\n" +
"\x11MediaUserListResp\x12'\n" + "\x11MediaUserListResp\x12'\n" +
"\x04data\x18\x01 \x03(\v2\x13.Cast.MediaUserInfoR\x04data\x12\x14\n" + "\x04data\x18\x01 \x03(\v2\x13.Cast.MediaUserInfoR\x04data\x12\x14\n" +
"\x05count\x18\x02 \x01(\x03R\x05count\"\xad\x03\n" + "\x05count\x18\x02 \x01(\x03R\x05count\"\xad\x03\n" +
@ -3620,13 +3520,7 @@ const file_pb_fiee_cast_proto_rawDesc = "" +
"\x06TIKTOK\x10\x01\x12\v\n" + "\x06TIKTOK\x10\x01\x12\v\n" +
"\aYOUTUBE\x10\x02\x12\a\n" + "\aYOUTUBE\x10\x02\x12\a\n" +
"\x03INS\x10\x03\x12\x06\n" + "\x03INS\x10\x03\x12\x06\n" +
"\x02DM\x10\x04*9\n" + "\x02DM\x10\x04*w\n" +
"\x0eAuthStatusENUM\x12\x0f\n" +
"\vUNKNOWNAuth\x10\x00\x12\n" +
"\n" +
"\x06AuthOk\x10\x01\x12\n" +
"\n" +
"\x06AuthNo\x10\x02*w\n" +
"\x0eWorkActionENUM\x12\r\n" + "\x0eWorkActionENUM\x12\r\n" +
"\tNO_ACTION\x10\x00\x12\v\n" + "\tNO_ACTION\x10\x00\x12\v\n" +
"\aCONFIRM\x10\x01\x12\f\n" + "\aCONFIRM\x10\x01\x12\f\n" +
@ -3669,126 +3563,123 @@ func file_pb_fiee_cast_proto_rawDescGZIP() []byte {
return file_pb_fiee_cast_proto_rawDescData return file_pb_fiee_cast_proto_rawDescData
} }
var file_pb_fiee_cast_proto_enumTypes = make([]protoimpl.EnumInfo, 3) var file_pb_fiee_cast_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
var file_pb_fiee_cast_proto_msgTypes = make([]protoimpl.MessageInfo, 42) var file_pb_fiee_cast_proto_msgTypes = make([]protoimpl.MessageInfo, 42)
var file_pb_fiee_cast_proto_goTypes = []any{ var file_pb_fiee_cast_proto_goTypes = []any{
(PlatformIDENUM)(0), // 0: Cast.PlatformIDENUM (PlatformIDENUM)(0), // 0: Cast.PlatformIDENUM
(AuthStatusENUM)(0), // 1: Cast.AuthStatusENUM (WorkActionENUM)(0), // 1: Cast.WorkActionENUM
(WorkActionENUM)(0), // 2: Cast.WorkActionENUM (*MediaUserListReq)(nil), // 2: Cast.MediaUserListReq
(*MediaUserListReq)(nil), // 3: Cast.MediaUserListReq (*MediaUserInfo)(nil), // 3: Cast.MediaUserInfo
(*MediaUserInfo)(nil), // 4: Cast.MediaUserInfo (*MediaUserListResp)(nil), // 4: Cast.MediaUserListResp
(*MediaUserListResp)(nil), // 5: Cast.MediaUserListResp (*UpdateMediaAccountReq)(nil), // 5: Cast.UpdateMediaAccountReq
(*UpdateMediaAccountReq)(nil), // 6: Cast.UpdateMediaAccountReq (*UpdateMediaAccountResp)(nil), // 6: Cast.UpdateMediaAccountResp
(*UpdateMediaAccountResp)(nil), // 7: Cast.UpdateMediaAccountResp (*UnbindManagerReq)(nil), // 7: Cast.UnbindManagerReq
(*UnbindManagerReq)(nil), // 8: Cast.UnbindManagerReq (*UnbindManagerResp)(nil), // 8: Cast.UnbindManagerResp
(*UnbindManagerResp)(nil), // 9: Cast.UnbindManagerResp (*BindManagerReq)(nil), // 9: Cast.BindManagerReq
(*BindManagerReq)(nil), // 10: Cast.BindManagerReq (*UpdateWorkImageReq)(nil), // 10: Cast.UpdateWorkImageReq
(*UpdateWorkImageReq)(nil), // 11: Cast.UpdateWorkImageReq (*UpdateWorkImageResp)(nil), // 11: Cast.UpdateWorkImageResp
(*UpdateWorkImageResp)(nil), // 12: Cast.UpdateWorkImageResp (*PublishConfig)(nil), // 12: Cast.PublishConfig
(*PublishConfig)(nil), // 13: Cast.PublishConfig (*UpdateWorkVideoReq)(nil), // 13: Cast.UpdateWorkVideoReq
(*UpdateWorkVideoReq)(nil), // 14: Cast.UpdateWorkVideoReq (*UpdateWorkVideoResp)(nil), // 14: Cast.UpdateWorkVideoResp
(*UpdateWorkVideoResp)(nil), // 15: Cast.UpdateWorkVideoResp (*WorkListReq)(nil), // 15: Cast.WorkListReq
(*WorkListReq)(nil), // 16: Cast.WorkListReq (*WorkListResp)(nil), // 16: Cast.WorkListResp
(*WorkListResp)(nil), // 17: Cast.WorkListResp (*WorkDetailReq)(nil), // 17: Cast.WorkDetailReq
(*WorkDetailReq)(nil), // 18: Cast.WorkDetailReq (*WorkLogInfo)(nil), // 18: Cast.WorkLogInfo
(*WorkLogInfo)(nil), // 19: Cast.WorkLogInfo (*WorkDetailResp)(nil), // 19: Cast.WorkDetailResp
(*WorkDetailResp)(nil), // 20: Cast.WorkDetailResp (*UpdateStatusReq)(nil), // 20: Cast.UpdateStatusReq
(*UpdateStatusReq)(nil), // 21: Cast.UpdateStatusReq (*MediaAccountsReq)(nil), // 21: Cast.MediaAccountsReq
(*MediaAccountsReq)(nil), // 22: Cast.MediaAccountsReq (*MediaAccountsResp)(nil), // 22: Cast.MediaAccountsResp
(*MediaAccountsResp)(nil), // 23: Cast.MediaAccountsResp (*MediaWorksReq)(nil), // 23: Cast.MediaWorksReq
(*MediaWorksReq)(nil), // 24: Cast.MediaWorksReq (*MediaWorksResp)(nil), // 24: Cast.MediaWorksResp
(*MediaWorksResp)(nil), // 25: Cast.MediaWorksResp (*RePublishReq)(nil), // 25: Cast.RePublishReq
(*RePublishReq)(nil), // 26: Cast.RePublishReq (*RePublishResp)(nil), // 26: Cast.RePublishResp
(*RePublishResp)(nil), // 27: Cast.RePublishResp (*DelWorkReq)(nil), // 27: Cast.DelWorkReq
(*DelWorkReq)(nil), // 28: Cast.DelWorkReq (*WorkInfoReq)(nil), // 28: Cast.WorkInfoReq
(*WorkInfoReq)(nil), // 29: Cast.WorkInfoReq (*WorkInfoResp)(nil), // 29: Cast.WorkInfoResp
(*WorkInfoResp)(nil), // 30: Cast.WorkInfoResp (*OAuthAccountReq)(nil), // 30: Cast.OAuthAccountReq
(*OAuthAccountReq)(nil), // 31: Cast.OAuthAccountReq (*OAuthAccountResp)(nil), // 31: Cast.OAuthAccountResp
(*OAuthAccountResp)(nil), // 32: Cast.OAuthAccountResp (*OAuthYoutubeTokenReq)(nil), // 32: Cast.OAuthYoutubeTokenReq
(*OAuthYoutubeTokenReq)(nil), // 33: Cast.OAuthYoutubeTokenReq (*OAuthYoutubeTokenResp)(nil), // 33: Cast.OAuthYoutubeTokenResp
(*OAuthYoutubeTokenResp)(nil), // 34: Cast.OAuthYoutubeTokenResp (*OAuthCodeToTokenReq)(nil), // 34: Cast.OAuthCodeToTokenReq
(*OAuthCodeToTokenReq)(nil), // 35: Cast.OAuthCodeToTokenReq (*OAuthCodeToTokenResp)(nil), // 35: Cast.OAuthCodeToTokenResp
(*OAuthCodeToTokenResp)(nil), // 36: Cast.OAuthCodeToTokenResp (*RefreshTokenReq)(nil), // 36: Cast.RefreshTokenReq
(*RefreshTokenReq)(nil), // 37: Cast.RefreshTokenReq (*RefreshTokenResp)(nil), // 37: Cast.RefreshTokenResp
(*RefreshTokenResp)(nil), // 38: Cast.RefreshTokenResp (*PublishMediaInfoReq)(nil), // 38: Cast.PublishMediaInfoReq
(*PublishMediaInfoReq)(nil), // 39: Cast.PublishMediaInfoReq (*PublishMediaInfoResp)(nil), // 39: Cast.PublishMediaInfoResp
(*PublishMediaInfoResp)(nil), // 40: Cast.PublishMediaInfoResp (*WorkListResp_Info)(nil), // 40: Cast.WorkListResp.Info
(*WorkListResp_Info)(nil), // 41: Cast.WorkListResp.Info nil, // 41: Cast.WorkDetailResp.MediaAccDataEntry
nil, // 42: Cast.WorkDetailResp.MediaAccDataEntry (*MediaAccountsResp_Info)(nil), // 42: Cast.MediaAccountsResp.Info
(*MediaAccountsResp_Info)(nil), // 43: Cast.MediaAccountsResp.Info (*MediaWorksResp_Info)(nil), // 43: Cast.MediaWorksResp.Info
(*MediaWorksResp_Info)(nil), // 44: Cast.MediaWorksResp.Info (*emptypb.Empty)(nil), // 44: google.protobuf.Empty
(*emptypb.Empty)(nil), // 45: google.protobuf.Empty
} }
var file_pb_fiee_cast_proto_depIdxs = []int32{ var file_pb_fiee_cast_proto_depIdxs = []int32{
0, // 0: Cast.MediaUserListReq.platformID:type_name -> Cast.PlatformIDENUM 0, // 0: Cast.MediaUserListReq.platformID:type_name -> Cast.PlatformIDENUM
1, // 1: Cast.MediaUserListReq.authStatus:type_name -> Cast.AuthStatusENUM 3, // 1: Cast.MediaUserListResp.data:type_name -> Cast.MediaUserInfo
1, // 2: Cast.MediaUserInfo.authStatus:type_name -> Cast.AuthStatusENUM 0, // 2: Cast.UpdateMediaAccountReq.platformID:type_name -> Cast.PlatformIDENUM
4, // 3: Cast.MediaUserListResp.data:type_name -> Cast.MediaUserInfo 0, // 3: Cast.UpdateWorkImageReq.platformIDs:type_name -> Cast.PlatformIDENUM
0, // 4: Cast.UpdateMediaAccountReq.platformID:type_name -> Cast.PlatformIDENUM 12, // 4: Cast.UpdateWorkImageReq.publishConfig1:type_name -> Cast.PublishConfig
0, // 5: Cast.UpdateWorkImageReq.platformIDs:type_name -> Cast.PlatformIDENUM 12, // 5: Cast.UpdateWorkImageReq.publishConfig2:type_name -> Cast.PublishConfig
13, // 6: Cast.UpdateWorkImageReq.publishConfig1:type_name -> Cast.PublishConfig 12, // 6: Cast.UpdateWorkImageReq.publishConfig3:type_name -> Cast.PublishConfig
13, // 7: Cast.UpdateWorkImageReq.publishConfig2:type_name -> Cast.PublishConfig 12, // 7: Cast.UpdateWorkImageReq.publishConfig4:type_name -> Cast.PublishConfig
13, // 8: Cast.UpdateWorkImageReq.publishConfig3:type_name -> Cast.PublishConfig 0, // 8: Cast.UpdateWorkVideoReq.platformIDs:type_name -> Cast.PlatformIDENUM
13, // 9: Cast.UpdateWorkImageReq.publishConfig4:type_name -> Cast.PublishConfig 12, // 9: Cast.UpdateWorkVideoReq.publishConfig1:type_name -> Cast.PublishConfig
0, // 10: Cast.UpdateWorkVideoReq.platformIDs:type_name -> Cast.PlatformIDENUM 12, // 10: Cast.UpdateWorkVideoReq.publishConfig2:type_name -> Cast.PublishConfig
13, // 11: Cast.UpdateWorkVideoReq.publishConfig1:type_name -> Cast.PublishConfig 12, // 11: Cast.UpdateWorkVideoReq.publishConfig3:type_name -> Cast.PublishConfig
13, // 12: Cast.UpdateWorkVideoReq.publishConfig2:type_name -> Cast.PublishConfig 40, // 12: Cast.WorkListResp.data:type_name -> Cast.WorkListResp.Info
13, // 13: Cast.UpdateWorkVideoReq.publishConfig3:type_name -> Cast.PublishConfig 12, // 13: Cast.WorkDetailResp.publishConfig1:type_name -> Cast.PublishConfig
41, // 14: Cast.WorkListResp.data:type_name -> Cast.WorkListResp.Info 12, // 14: Cast.WorkDetailResp.publishConfig2:type_name -> Cast.PublishConfig
13, // 15: Cast.WorkDetailResp.publishConfig1:type_name -> Cast.PublishConfig 12, // 15: Cast.WorkDetailResp.publishConfig3:type_name -> Cast.PublishConfig
13, // 16: Cast.WorkDetailResp.publishConfig2:type_name -> Cast.PublishConfig 18, // 16: Cast.WorkDetailResp.WorkLogData:type_name -> Cast.WorkLogInfo
13, // 17: Cast.WorkDetailResp.publishConfig3:type_name -> Cast.PublishConfig 41, // 17: Cast.WorkDetailResp.mediaAccData:type_name -> Cast.WorkDetailResp.MediaAccDataEntry
19, // 18: Cast.WorkDetailResp.WorkLogData:type_name -> Cast.WorkLogInfo 1, // 18: Cast.UpdateStatusReq.workAction:type_name -> Cast.WorkActionENUM
42, // 19: Cast.WorkDetailResp.mediaAccData:type_name -> Cast.WorkDetailResp.MediaAccDataEntry 42, // 19: Cast.MediaAccountsResp.data:type_name -> Cast.MediaAccountsResp.Info
2, // 20: Cast.UpdateStatusReq.workAction:type_name -> Cast.WorkActionENUM 43, // 20: Cast.MediaWorksResp.data:type_name -> Cast.MediaWorksResp.Info
43, // 21: Cast.MediaAccountsResp.data:type_name -> Cast.MediaAccountsResp.Info 0, // 21: Cast.OAuthCodeToTokenReq.platformID:type_name -> Cast.PlatformIDENUM
44, // 22: Cast.MediaWorksResp.data:type_name -> Cast.MediaWorksResp.Info 0, // 22: Cast.RefreshTokenReq.platformID:type_name -> Cast.PlatformIDENUM
0, // 23: Cast.OAuthCodeToTokenReq.platformID:type_name -> Cast.PlatformIDENUM 3, // 23: Cast.WorkDetailResp.MediaAccDataEntry.value:type_name -> Cast.MediaUserInfo
0, // 24: Cast.RefreshTokenReq.platformID:type_name -> Cast.PlatformIDENUM 2, // 24: Cast.Cast.MediaUserList:input_type -> Cast.MediaUserListReq
4, // 25: Cast.WorkDetailResp.MediaAccDataEntry.value:type_name -> Cast.MediaUserInfo 5, // 25: Cast.Cast.UpdateMediaAccount:input_type -> Cast.UpdateMediaAccountReq
3, // 26: Cast.Cast.MediaUserList:input_type -> Cast.MediaUserListReq 7, // 26: Cast.Cast.UnbindManager:input_type -> Cast.UnbindManagerReq
6, // 27: Cast.Cast.UpdateMediaAccount:input_type -> Cast.UpdateMediaAccountReq 9, // 27: Cast.Cast.BindManager:input_type -> Cast.BindManagerReq
8, // 28: Cast.Cast.UnbindManager:input_type -> Cast.UnbindManagerReq 10, // 28: Cast.Cast.UpdateWorkImage:input_type -> Cast.UpdateWorkImageReq
10, // 29: Cast.Cast.BindManager:input_type -> Cast.BindManagerReq 13, // 29: Cast.Cast.UpdateWorkVideo:input_type -> Cast.UpdateWorkVideoReq
11, // 30: Cast.Cast.UpdateWorkImage:input_type -> Cast.UpdateWorkImageReq 15, // 30: Cast.Cast.WorkList:input_type -> Cast.WorkListReq
14, // 31: Cast.Cast.UpdateWorkVideo:input_type -> Cast.UpdateWorkVideoReq 17, // 31: Cast.Cast.WorkDetail:input_type -> Cast.WorkDetailReq
16, // 32: Cast.Cast.WorkList:input_type -> Cast.WorkListReq 20, // 32: Cast.Cast.UpdateStatus:input_type -> Cast.UpdateStatusReq
18, // 33: Cast.Cast.WorkDetail:input_type -> Cast.WorkDetailReq 21, // 33: Cast.Cast.MediaAccounts:input_type -> Cast.MediaAccountsReq
21, // 34: Cast.Cast.UpdateStatus:input_type -> Cast.UpdateStatusReq 23, // 34: Cast.Cast.MediaWorks:input_type -> Cast.MediaWorksReq
22, // 35: Cast.Cast.MediaAccounts:input_type -> Cast.MediaAccountsReq 25, // 35: Cast.Cast.RePublish:input_type -> Cast.RePublishReq
24, // 36: Cast.Cast.MediaWorks:input_type -> Cast.MediaWorksReq 27, // 36: Cast.Cast.DelWork:input_type -> Cast.DelWorkReq
26, // 37: Cast.Cast.RePublish:input_type -> Cast.RePublishReq 28, // 37: Cast.Cast.WorkInfo:input_type -> Cast.WorkInfoReq
28, // 38: Cast.Cast.DelWork:input_type -> Cast.DelWorkReq 30, // 38: Cast.Cast.OAuthAccount:input_type -> Cast.OAuthAccountReq
29, // 39: Cast.Cast.WorkInfo:input_type -> Cast.WorkInfoReq 34, // 39: Cast.Cast.OAuthCodeToToken:input_type -> Cast.OAuthCodeToTokenReq
31, // 40: Cast.Cast.OAuthAccount:input_type -> Cast.OAuthAccountReq 36, // 40: Cast.Cast.RefreshToken:input_type -> Cast.RefreshTokenReq
35, // 41: Cast.Cast.OAuthCodeToToken:input_type -> Cast.OAuthCodeToTokenReq 38, // 41: Cast.Cast.PublishMediaInfo:input_type -> Cast.PublishMediaInfoReq
37, // 42: Cast.Cast.RefreshToken:input_type -> Cast.RefreshTokenReq 44, // 42: Cast.Cast.Test:input_type -> google.protobuf.Empty
39, // 43: Cast.Cast.PublishMediaInfo:input_type -> Cast.PublishMediaInfoReq 4, // 43: Cast.Cast.MediaUserList:output_type -> Cast.MediaUserListResp
45, // 44: Cast.Cast.Test:input_type -> google.protobuf.Empty 6, // 44: Cast.Cast.UpdateMediaAccount:output_type -> Cast.UpdateMediaAccountResp
5, // 45: Cast.Cast.MediaUserList:output_type -> Cast.MediaUserListResp 8, // 45: Cast.Cast.UnbindManager:output_type -> Cast.UnbindManagerResp
7, // 46: Cast.Cast.UpdateMediaAccount:output_type -> Cast.UpdateMediaAccountResp 44, // 46: Cast.Cast.BindManager:output_type -> google.protobuf.Empty
9, // 47: Cast.Cast.UnbindManager:output_type -> Cast.UnbindManagerResp 11, // 47: Cast.Cast.UpdateWorkImage:output_type -> Cast.UpdateWorkImageResp
45, // 48: Cast.Cast.BindManager:output_type -> google.protobuf.Empty 14, // 48: Cast.Cast.UpdateWorkVideo:output_type -> Cast.UpdateWorkVideoResp
12, // 49: Cast.Cast.UpdateWorkImage:output_type -> Cast.UpdateWorkImageResp 16, // 49: Cast.Cast.WorkList:output_type -> Cast.WorkListResp
15, // 50: Cast.Cast.UpdateWorkVideo:output_type -> Cast.UpdateWorkVideoResp 19, // 50: Cast.Cast.WorkDetail:output_type -> Cast.WorkDetailResp
17, // 51: Cast.Cast.WorkList:output_type -> Cast.WorkListResp 44, // 51: Cast.Cast.UpdateStatus:output_type -> google.protobuf.Empty
20, // 52: Cast.Cast.WorkDetail:output_type -> Cast.WorkDetailResp 22, // 52: Cast.Cast.MediaAccounts:output_type -> Cast.MediaAccountsResp
45, // 53: Cast.Cast.UpdateStatus:output_type -> google.protobuf.Empty 24, // 53: Cast.Cast.MediaWorks:output_type -> Cast.MediaWorksResp
23, // 54: Cast.Cast.MediaAccounts:output_type -> Cast.MediaAccountsResp 26, // 54: Cast.Cast.RePublish:output_type -> Cast.RePublishResp
25, // 55: Cast.Cast.MediaWorks:output_type -> Cast.MediaWorksResp 44, // 55: Cast.Cast.DelWork:output_type -> google.protobuf.Empty
27, // 56: Cast.Cast.RePublish:output_type -> Cast.RePublishResp 29, // 56: Cast.Cast.WorkInfo:output_type -> Cast.WorkInfoResp
45, // 57: Cast.Cast.DelWork:output_type -> google.protobuf.Empty 31, // 57: Cast.Cast.OAuthAccount:output_type -> Cast.OAuthAccountResp
30, // 58: Cast.Cast.WorkInfo:output_type -> Cast.WorkInfoResp 35, // 58: Cast.Cast.OAuthCodeToToken:output_type -> Cast.OAuthCodeToTokenResp
32, // 59: Cast.Cast.OAuthAccount:output_type -> Cast.OAuthAccountResp 37, // 59: Cast.Cast.RefreshToken:output_type -> Cast.RefreshTokenResp
36, // 60: Cast.Cast.OAuthCodeToToken:output_type -> Cast.OAuthCodeToTokenResp 39, // 60: Cast.Cast.PublishMediaInfo:output_type -> Cast.PublishMediaInfoResp
38, // 61: Cast.Cast.RefreshToken:output_type -> Cast.RefreshTokenResp 44, // 61: Cast.Cast.Test:output_type -> google.protobuf.Empty
40, // 62: Cast.Cast.PublishMediaInfo:output_type -> Cast.PublishMediaInfoResp 43, // [43:62] is the sub-list for method output_type
45, // 63: Cast.Cast.Test:output_type -> google.protobuf.Empty 24, // [24:43] is the sub-list for method input_type
45, // [45:64] is the sub-list for method output_type 24, // [24:24] is the sub-list for extension type_name
26, // [26:45] is the sub-list for method input_type 24, // [24:24] is the sub-list for extension extendee
26, // [26:26] is the sub-list for extension type_name 0, // [0:24] is the sub-list for field type_name
26, // [26:26] is the sub-list for extension extendee
0, // [0:26] is the sub-list for field type_name
} }
func init() { file_pb_fiee_cast_proto_init() } func init() { file_pb_fiee_cast_proto_init() }
@ -3801,7 +3692,7 @@ func file_pb_fiee_cast_proto_init() {
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_pb_fiee_cast_proto_rawDesc), len(file_pb_fiee_cast_proto_rawDesc)), RawDescriptor: unsafe.Slice(unsafe.StringData(file_pb_fiee_cast_proto_rawDesc), len(file_pb_fiee_cast_proto_rawDesc)),
NumEnums: 3, NumEnums: 2,
NumMessages: 42, NumMessages: 42,
NumExtensions: 0, NumExtensions: 0,
NumServices: 1, NumServices: 1,

View File

@ -71,12 +71,6 @@ func (m *MediaUserListReq) validate(all bool) error {
// no validation rules for ArtistUuid // no validation rules for ArtistUuid
// no validation rules for CreateStartDate
// no validation rules for CreateEndDate
// no validation rules for AuthStatus
if len(errors) > 0 { if len(errors) > 0 {
return MediaUserListReqMultiError(errors) return MediaUserListReqMultiError(errors)
} }
@ -193,10 +187,6 @@ func (m *MediaUserInfo) validate(all bool) error {
// no validation rules for MediaAccountUuid // no validation rules for MediaAccountUuid
// no validation rules for CreatedDate
// no validation rules for AuthStatus
if len(errors) > 0 { if len(errors) > 0 {
return MediaUserInfoMultiError(errors) return MediaUserInfoMultiError(errors)
} }

View File

@ -5,8 +5,7 @@ HttpPort = ":8085"
Host = "https://common.szjixun.cn" Host = "https://common.szjixun.cn"
RedirectUri = "/api/redirect/url" RedirectUri = "/api/redirect/url"
ErpHost = "http://114.218.158.24:9020" ErpHost = "http://114.218.158.24:9020"
FieeHost = "http://114.218.158.24:9020" FieeHost = "https://saas-test.szjixun.cn"
FieeApiHost = "https://saas-test.szjixun.cn"
AuthRedirectUrl = "http://172.16.100.99:9028/media_account" AuthRedirectUrl = "http://172.16.100.99:9028/media_account"
[bos] [bos]
Ak = "ALTAKxrqOQHnAN525Tb2GX4Bhe" Ak = "ALTAKxrqOQHnAN525Tb2GX4Bhe"

View File

@ -180,10 +180,8 @@ func WorkDetail(ctx *gin.Context) {
} }
func CheckUserBundleBalance(userID int32, balanceType modelCast.BalanceTypeEnum) (err error) { func CheckUserBundleBalance(userID int32, balanceType modelCast.BalanceTypeEnum) (err error) {
zap.L().Info("CheckUserBundleBalance", zap.Any("userID", userID))
resp, err := service.BundleProvider.GetBundleBalanceByUserId(context.Background(), &bundle.GetBundleBalanceByUserIdReq{UserId: userID}) resp, err := service.BundleProvider.GetBundleBalanceByUserId(context.Background(), &bundle.GetBundleBalanceByUserIdReq{UserId: userID})
if err != nil { if err != nil {
zap.L().Error("CheckUserBundleBalance", zap.Any("err", err))
return return
} }
zap.L().Info("CheckUserBundleBalance", zap.Any("resp", resp)) zap.L().Info("CheckUserBundleBalance", zap.Any("resp", resp))