|
@@ -110,7 +110,7 @@ public class KmtExerciseQuestionDealServiceImpl implements KmtExerciseQuestionDe
|
|
|
map.put("question_text", request.getQuestionText());
|
|
|
map.put("question_json", Collections.singletonList(ExerciseUtil.getExerciseQuestionAnswerValue(questionImage)));
|
|
|
map.put("option_answer", request.getAnswer());
|
|
|
- map.put("answer_json", JSON.toJSONString(request.getAnswerJson()));
|
|
|
+ map.put("answer_json", request.getAnswerJson());
|
|
|
map.put("analysis", request.getQuestionAnalysis());
|
|
|
map.put("analysis_json", JSONArray.parse(request.getAnalysisJson()));
|
|
|
JSONFileUtil.saveJSONFile(PropertiesUtil.getValue("EXERCISE_JSON_FILE_PATH") + kmtExerciseQuestion.getQuestionPath(), JSON.toJSONString(map));
|