修复后端BUG

This commit is contained in:
super
2026-07-14 22:11:19 +08:00
parent 3b63679b48
commit f301a8f144
11 changed files with 813 additions and 58 deletions
@@ -416,6 +416,15 @@ public class ImageVideoAsyncTaskService {
private String findDirectText(Object value, Set<String> names) {
Object parsed = parsePossiblyJson(value);
if (parsed instanceof Collection<?> collection) {
for (Object child : collection) {
String text = findDirectText(child, names);
if (!text.isBlank()) {
return text;
}
}
return "";
}
if (!(parsed instanceof Map<?, ?> map)) {
return "";
}