举报去除参数校验

This commit is contained in:
tianfeng 2025-11-19 10:06:09 +08:00
parent 19db7c0f6d
commit 4018890f1c

View File

@ -30,11 +30,6 @@ public class ReportedAddCmdExe {
public void execute(UserReportedCmd cmd) {
ResponseAssert.isTrue(ResponseErrorCode.REQUEST_PARAMETER_ERROR,
StringUtils.isNotBlank(cmd.getVideoUrls()) ||
StringUtils.isNotBlank(cmd.getImageUrls()) ||
StringUtils.isNotBlank(cmd.getReportedContent()));
List<String> images = cmd.imageUrlToList();
if (CollectionUtils.isNotEmpty(images)) {
//1010 上传资源超出限制