|
|
@ -81,7 +81,7 @@ public class CheckDataUtils { |
|
|
|
*/ |
|
|
|
public static CheckResultDTO checkContent(List<String> textList) { |
|
|
|
if (textList == null || textList.size() == 0) { |
|
|
|
return null; |
|
|
|
return new CheckResultDTO(); |
|
|
|
} |
|
|
|
String text = StringUtils.join(textList.toArray(), "。"); |
|
|
|
|
|
|
@ -143,7 +143,7 @@ public class CheckDataUtils { |
|
|
|
} |
|
|
|
} |
|
|
|
} else { |
|
|
|
return null; |
|
|
|
return new CheckResultDTO(); |
|
|
|
} |
|
|
|
|
|
|
|
tasks.setTasks(contentList); |
|
|
|