Commit e4e5c1d9 authored by 陈立彬's avatar 陈立彬

fix

parent 66a24e41
......@@ -248,7 +248,6 @@ public class ExamController {
@GetMapping(value = "/get_run4score_info")
public ApiResponse<SingleQaResult> getRun4ScoreInfo(@RequestParam(value = "tenant") Integer tenant,
@RequestParam(value = "session_id") String sessionId,
@RequestParam(value = "user_id") String userId) {
......@@ -262,7 +261,7 @@ public class ExamController {
if(StringUtils.isNotEmpty(redisValue)) {
SingleQaResult singleQaResult = JSONObject.parseObject(redisValue, SingleQaResult.class);
// 获取当天考题
String questionRedisKey = String.format(EXAM_REDIS_QUESTION_KEY, tenant, sessionId, userId);
String questionRedisKey = String.format(EXAM_REDIS_QUESTION_KEY, tenant, singleQaResult.getSessionId(), userId);
singleQaResult.setQuestionId(Long.valueOf(redisTemplate.opsForValue().get(questionRedisKey)));
log.info("get_run4score_info, response = {}", JSONObject.toJSONString(singleQaResult));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment