fix:修复合并代码后的报错
This commit is contained in:
parent
d074c80af4
commit
e8289367bb
@ -124,8 +124,7 @@ func UpdateWorkImageCore(ctx *gin.Context, req *cast.UpdateWorkImageReq) (*cast.
|
|||||||
//}
|
//}
|
||||||
// 处理内容中的标签:提取、验证并批量导入
|
// 处理内容中的标签:提取、验证并批量导入
|
||||||
if err = processContentTags(ctx, req.Content); err != nil {
|
if err = processContentTags(ctx, req.Content); err != nil {
|
||||||
service.Error(ctx, err)
|
return nil, err
|
||||||
return
|
|
||||||
}
|
}
|
||||||
newCtx := NewCtxWithUserInfo(ctx)
|
newCtx := NewCtxWithUserInfo(ctx)
|
||||||
req.Source = 1
|
req.Source = 1
|
||||||
@ -300,8 +299,7 @@ func UpdateWorkVideoCore(ctx *gin.Context, req *cast.UpdateWorkVideoReq) (*cast.
|
|||||||
req.ArtistSubNum = infoResp.SubNum
|
req.ArtistSubNum = infoResp.SubNum
|
||||||
// 处理内容中的标签:提取、验证并批量导入
|
// 处理内容中的标签:提取、验证并批量导入
|
||||||
if err = processContentTags(ctx, req.Content); err != nil {
|
if err = processContentTags(ctx, req.Content); err != nil {
|
||||||
service.Error(ctx, err)
|
return nil, err
|
||||||
return
|
|
||||||
}
|
}
|
||||||
newCtx := NewCtxWithUserInfo(ctx)
|
newCtx := NewCtxWithUserInfo(ctx)
|
||||||
req.Source = 1
|
req.Source = 1
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user