diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/dynamic/add/DynamicContentAddCmdExe.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/dynamic/add/DynamicContentAddCmdExe.java index ce1372dc..ab6d9ff5 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/dynamic/add/DynamicContentAddCmdExe.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/dynamic/add/DynamicContentAddCmdExe.java @@ -259,7 +259,7 @@ public class DynamicContentAddCmdExe { */ private void checkParameters(DynamicContentAddCmd cmd) { ResponseAssert.isTrue(DynamicErrorCode.CONTENT_IS_NULL, - StringUtils.isNotBlank(cmd.getContent().trim()) || CollectionUtils.isNotEmpty(cmd.getPictures())); + StringUtils.isNotBlank(cmd.getContent()) || CollectionUtils.isNotEmpty(cmd.getPictures())); if (CollectionUtils.isNotEmpty(cmd.getPictures())) { ResponseAssert.isTrue(DynamicErrorCode.IMAGE_LIMIT_ERROR, cmd.getPictures().size() <= 9);