Browse Source

练习册打印日志修改

chen 4 years ago
parent
commit
0523aafde0

+ 2 - 2
ssj-kmt-exercise-service-impl/src/main/java/com/ssj/service/kmt/kmt/service/impl/KmtExerciseServiceImpl.java

@@ -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"));