Compare commits
No commits in common. "1a9f53800103a736e05b44aec9d833330a9f8ea0" and "cf1ee056407f0f7867d68b8866c3ca63f45c1f17" have entirely different histories.
1a9f538001
...
cf1ee05640
@ -42,11 +42,6 @@ func UpdateVideoScript(ctx *gin.Context) {
|
||||
}
|
||||
if err = SecurityText(req.Title); err != nil {
|
||||
service.Error(ctx, errors.New("标题未通过黄反"))
|
||||
return
|
||||
}
|
||||
if err = SecurityText(req.Content); err != nil {
|
||||
service.Error(ctx, errors.New("内容未通过黄反"))
|
||||
return
|
||||
}
|
||||
newCtx := NewCtxWithUserInfo(ctx)
|
||||
artistId, _ := strconv.ParseUint(req.ArtistUuid, 10, 64)
|
||||
@ -229,18 +224,6 @@ func ImportBatch(ctx *gin.Context) {
|
||||
req.Data = append(req.Data, &temp)
|
||||
continue
|
||||
}
|
||||
err = SecurityText(temp.Title)
|
||||
if err != nil {
|
||||
temp.Remark = "标题未通过黄反"
|
||||
req.Data = append(req.Data, &temp)
|
||||
continue
|
||||
}
|
||||
err = SecurityText(temp.Content)
|
||||
if err != nil {
|
||||
temp.Remark = "内容未通过黄反"
|
||||
req.Data = append(req.Data, &temp)
|
||||
continue
|
||||
}
|
||||
var subInfoResp *accountFiee.UserInfoResponse
|
||||
subInfoResp, err = service.AccountFieeProvider.SubNumGetInfo(context.Background(), &accountFiee.SubNumGetInfoRequest{
|
||||
SubNum: row[2],
|
||||
|
||||
Loading…
Reference in New Issue
Block a user