举报去除参数校验
This commit is contained in:
parent
19db7c0f6d
commit
4018890f1c
@ -30,11 +30,6 @@ public class ReportedAddCmdExe {
|
|||||||
|
|
||||||
public void execute(UserReportedCmd cmd) {
|
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();
|
List<String> images = cmd.imageUrlToList();
|
||||||
if (CollectionUtils.isNotEmpty(images)) {
|
if (CollectionUtils.isNotEmpty(images)) {
|
||||||
//1010 上传资源超出限制
|
//1010 上传资源超出限制
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user