|
@@ -1773,9 +1773,9 @@ public class KmtExerciseServiceImpl implements KmtExerciseService {
|
|
|
//读取大字段文件
|
|
|
if (StringUtil.isNotBlank(kmtExerciseQuestion.getQuestionPath())){
|
|
|
String path = PropertiesUtil.getValue("EXERCISE_JSON_FILE_PATH") + kmtExerciseQuestion.getQuestionPath();
|
|
|
- logger.error("文件路径:{}", path);
|
|
|
+ logger.debug("文件路径:{}", path);
|
|
|
String content = JSONFileUtil.readJSONFile(path);
|
|
|
- logger.error("文件内容:{}", content);
|
|
|
+ logger.debug("文件内容:{}", content);
|
|
|
if (StringUtils.isNotBlank(content)){
|
|
|
JSONObject jsonObject = JSONObject.parseObject(content);
|
|
|
kmtExerciseQuestion.setQuestion(jsonObject.getString("question"));
|