翻译bug

This commit is contained in:
mx 2024-12-25 14:39:41 +08:00
parent 4624b9d0b7
commit fa8b566da9

View File

@ -54,10 +54,8 @@ public class TranslationHandler extends JsonSerializer<Object> implements Contex
if (result != null){
TranslationThreadLocal.getThreadInstance().set(value.toString(), translation.other(), result.toString());
}
// TranslationThreadLocal.getThreadInstance().set(value.toString(), translation.other(), "111");
}
gen.writeObject(1);
gen.writeObject(result);
} else {
gen.writeObject(value);
}