Update work.go
This commit is contained in:
commit
c019547992
@ -134,6 +134,10 @@ func UpdateWorkImageCore(ctx *gin.Context, req *cast.UpdateWorkImageReq) (*cast.
|
|||||||
}
|
}
|
||||||
// 将自动生成标签后的内容更新到请求中
|
// 将自动生成标签后的内容更新到请求中
|
||||||
req.Content = content
|
req.Content = content
|
||||||
|
artistID, _ := strconv.ParseUint(req.ArtistUuid, 10, 64)
|
||||||
|
if _, err = CheckUserBundleBalance(int32(artistID), modelCast.BalanceTypeImageValue); err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
zap.L().Debug("UpdateWorkImage infoResp3", zap.Any("infoResp", req))
|
zap.L().Debug("UpdateWorkImage infoResp3", zap.Any("infoResp", req))
|
||||||
newCtx := NewCtxWithUserInfo(ctx)
|
newCtx := NewCtxWithUserInfo(ctx)
|
||||||
req.Source = 1
|
req.Source = 1
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user