暂时打开识别标签,并保存到数据库
This commit is contained in:
parent
390d3ea35b
commit
411c1ccbb3
@ -343,12 +343,12 @@ func UpdateWorkVideoCore(ctx *gin.Context, req *cast.UpdateWorkVideoReq) (*cast.
|
||||
req.ArtistSubNum = infoResp.SubNum
|
||||
|
||||
// 处理内容中的标签:提取、验证并批量导入,以及自动生成标签
|
||||
// content, err := processContentAndAutoTags(ctx, req.Content)
|
||||
// if err != nil {
|
||||
// return nil, err
|
||||
// }
|
||||
// // 将自动生成标签后的内容更新到请求中
|
||||
// req.Content = content
|
||||
content, err := processContentAndAutoTags(ctx, req.Content)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
// 将自动生成标签后的内容更新到请求中
|
||||
req.Content = content
|
||||
newCtx := NewCtxWithUserInfo(ctx)
|
||||
req.Source = 1
|
||||
resp, err := service.CastProvider.UpdateWorkVideo(newCtx, req)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user