@@ -133,7 +133,9 @@ public class IndexServiceImpl implements IndexService { | |||
} | |||
List<QuestionListDto> questionListDtoList = questionMapper.getIndexQuestion(getQuestionListDto); | |||
questionListDtoList.forEach(it ->{ | |||
it.setHandlerImage(CommonConfig.imageURL + it.getHandlerImage()); | |||
if(it.getHandlerImage() != null){ | |||
it.setHandlerImage(CommonConfig.imageURL + it.getHandlerImage()); | |||
} | |||
}); | |||
return questionListDtoList; | |||
} |