zoujiajian 1 năm trước cách đây
mục cha
commit
c5b67e4de6

+ 2 - 2
netflix-service/src/main/java/com/cyksj/service/suggest/impl/UserSuggestServiceImpl.java

@@ -43,7 +43,7 @@ public class UserSuggestServiceImpl implements UserSuggestService {
 		if (StrUtil.isAllEmpty(imgs, content)) {
 			throw BusinessRuntimeException.getInstance("请填写问题内容或截图");
 		}
-		if (StrUtil.isNotBlank(imgs) && imgs.length() > 1024) {
+		if (StrUtil.isNotBlank(imgs) && imgs.length() > 2024) {
 			throw BusinessRuntimeException.getInstance("图片过多");
 		}
 		if (StrUtil.isNotEmpty(content) && content.length() > 1000) {
@@ -106,7 +106,7 @@ public class UserSuggestServiceImpl implements UserSuggestService {
 		if (StrUtil.isAllEmpty(imgs, content)) {
 			throw BusinessRuntimeException.getInstance("请填写留言内容或截图");
 		}
-		if (StrUtil.isNotBlank(imgs) && imgs.length() > 1024) {
+		if (StrUtil.isNotBlank(imgs) && imgs.length() > 2024) {
 			throw BusinessRuntimeException.getInstance("图片过多");
 		}
 		if (StrUtil.isNotEmpty(content) && content.length() > 1000) {