Merge branch 'feature-publishLog-daiyb' into dev
This commit is contained in:
commit
245c6dbba4
@ -5033,6 +5033,7 @@ type ToolsReq struct {
|
|||||||
state protoimpl.MessageState `protogen:"open.v1"`
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
Action string `protobuf:"bytes,1,opt,name=action,proto3" json:"action"`
|
Action string `protobuf:"bytes,1,opt,name=action,proto3" json:"action"`
|
||||||
ArtistUuid string `protobuf:"bytes,2,opt,name=artistUuid,proto3" json:"artistUuid"`
|
ArtistUuid string `protobuf:"bytes,2,opt,name=artistUuid,proto3" json:"artistUuid"`
|
||||||
|
CfgLinks []string `protobuf:"bytes,3,rep,name=cfgLinks,proto3" json:"cfgLinks"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
}
|
}
|
||||||
@ -5081,6 +5082,13 @@ func (x *ToolsReq) GetArtistUuid() string {
|
|||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (x *ToolsReq) GetCfgLinks() []string {
|
||||||
|
if x != nil {
|
||||||
|
return x.CfgLinks
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
// 视频脚本相关消息定义
|
// 视频脚本相关消息定义
|
||||||
// 更新视频脚本请求
|
// 更新视频脚本请求
|
||||||
type UpdateVideoScriptReq struct {
|
type UpdateVideoScriptReq struct {
|
||||||
@ -18413,12 +18421,13 @@ const file_pb_fiee_cast_proto_rawDesc = "" +
|
|||||||
"platformID\x18\x02 \x01(\x05R\n" +
|
"platformID\x18\x02 \x01(\x05R\n" +
|
||||||
"platformID\x12,\n" +
|
"platformID\x12,\n" +
|
||||||
"\x11platformMediaUuid\x18\x03 \x01(\tR\x11platformMediaUuid\x12\x12\n" +
|
"\x11platformMediaUuid\x18\x03 \x01(\tR\x11platformMediaUuid\x12\x12\n" +
|
||||||
"\x04info\x18\x04 \x01(\tR\x04info\"B\n" +
|
"\x04info\x18\x04 \x01(\tR\x04info\"^\n" +
|
||||||
"\bToolsReq\x12\x16\n" +
|
"\bToolsReq\x12\x16\n" +
|
||||||
"\x06action\x18\x01 \x01(\tR\x06action\x12\x1e\n" +
|
"\x06action\x18\x01 \x01(\tR\x06action\x12\x1e\n" +
|
||||||
"\n" +
|
"\n" +
|
||||||
"artistUuid\x18\x02 \x01(\tR\n" +
|
"artistUuid\x18\x02 \x01(\tR\n" +
|
||||||
"artistUuid\"\x9e\x02\n" +
|
"artistUuid\x12\x1a\n" +
|
||||||
|
"\bcfgLinks\x18\x03 \x03(\tR\bcfgLinks\"\x9e\x02\n" +
|
||||||
"\x14UpdateVideoScriptReq\x12\x12\n" +
|
"\x14UpdateVideoScriptReq\x12\x12\n" +
|
||||||
"\x04uuid\x18\x01 \x01(\tR\x04uuid\x12\x14\n" +
|
"\x04uuid\x18\x01 \x01(\tR\x04uuid\x12\x14\n" +
|
||||||
"\x05title\x18\x02 \x01(\tR\x05title\x12\x18\n" +
|
"\x05title\x18\x02 \x01(\tR\x05title\x12\x18\n" +
|
||||||
|
|||||||
@ -189,6 +189,20 @@ func Test(ctx *gin.Context) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if action == "addDecodoProxies" {
|
||||||
|
var req *cast.UpdateWorkImageReq
|
||||||
|
var err error
|
||||||
|
if err = ctx.ShouldBind(&req); err != nil {
|
||||||
|
service.Error(ctx, err)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
service.CastProvider.Tools(context.Background(), &cast.ToolsReq{Action: action, CfgLinks: []string{
|
||||||
|
"http://spd7b09ho0:sqx_1MlQ1rN5gfm2Dx@isp.decodo.com:10001",
|
||||||
|
"http://spd7b09ho0:sqx_1MlQ1rN5gfm2Dx@isp.decodo.com:10002",
|
||||||
|
"http://spd7b09ho0:sqx_1MlQ1rN5gfm2Dx@isp.decodo.com:10003",
|
||||||
|
}})
|
||||||
|
}
|
||||||
|
|
||||||
service.Success(ctx, "unknow")
|
service.Success(ctx, "unknow")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user