添加状态
This commit is contained in:
@@ -194,6 +194,8 @@ func (s *audioService) savePageData(ctx context.Context, data *audioResponse) (i
|
||||
ExpireTime: item.ExpireTime,
|
||||
FeelTags: string(feelTagsJSON),
|
||||
GenreTags: string(genreTagsJSON),
|
||||
// 设置默认校验状态为待校验
|
||||
VerifyStatus: "PENDING",
|
||||
}
|
||||
|
||||
items = append(items, audio)
|
||||
|
||||
@@ -283,6 +283,8 @@ func (s *imageService) savePageData(ctx context.Context, data *imageResponse, ac
|
||||
}
|
||||
// 设置 TenantID(框架将0视为空值,所以使用1)
|
||||
image.TenantId = 1
|
||||
// 设置默认校验状态为待校验
|
||||
image.VerifyStatus = "PENDING"
|
||||
|
||||
items = append(items, image)
|
||||
}
|
||||
|
||||
@@ -322,6 +322,8 @@ func (s *videoService) savePageData(ctx context.Context, data *videoResponse, ac
|
||||
}
|
||||
// 设置 TenantID(框架将0视为空值,所以使用1)
|
||||
video.TenantId = 1
|
||||
// 设置默认校验状态为待校验
|
||||
video.VerifyStatus = "PENDING"
|
||||
|
||||
items = append(items, video)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user