deason 2 жил өмнө
parent
commit
50c02b8a00

+ 3 - 3
examcloud-exchange-outer-api-provider/src/main/java/cn/com/qmth/examcloud/exchange/outer/api/provider/ExamQuestionOuterServiceProvider.java

@@ -58,6 +58,7 @@ import java.util.stream.Collectors;
 
 /**
  * 考试作答相关接口(云阅卷定制接口)
+ *
  * @Author lideyin
  * @Date 2020/3/30 14:48
  * @Version 1.0
@@ -295,12 +296,11 @@ public class ExamQuestionOuterServiceProvider extends ControllerSupport implemen
         }
 
         QuestionAnswerCacheBean questionAnswer = CacheHelper.getQuestionAnswer(req.getQuestionId());
-
         OuterGetQuestionAnswerResp resp = new OuterGetQuestionAnswerResp();
         resp.setAnswerList(questionAnswer.getRightAnswers());
 
-        LOGGER.warn("$$$getQuestionAnswer questionId = {}", req.getQuestionId());
-
+        // 获取试题信息带答案(敏感信息日志,用于排查调用者)
+        LOGGER.warn("$$$getQuestionWithAnswer questionId:{}", req.getQuestionId());
         return resp;
     }