|
|
@@ -134,15 +134,15 @@ public class IndexServiceImpl implements IndexService { |
|
|
|
} |
|
|
|
List<QuestionListDto> questionListDtoList = questionMapper.getIndexQuestion(getQuestionListDto); |
|
|
|
for(QuestionListDto questionListDto : questionListDtoList){ |
|
|
|
String[] imgHanders = questionListDto.getHandlerImage().split(","); |
|
|
|
for (int i = 0; i < imgHanders.length; i++) { |
|
|
|
imgHanders[i] = CommonConfig.imageURL + imgHanders[i]; |
|
|
|
if(questionListDto.getHandlerImage() != null){ |
|
|
|
String[] imgHanders = questionListDto.getHandlerImage().split(","); |
|
|
|
for (int i = 0; i < imgHanders.length; i++) { |
|
|
|
imgHanders[i] = CommonConfig.imageURL + imgHanders[i]; |
|
|
|
} |
|
|
|
String handerImg = StringUtils.join(imgHanders, ","); |
|
|
|
questionListDto.setHandlerImage(handerImg); |
|
|
|
} |
|
|
|
String handerImg = StringUtils.join(imgHanders, ","); |
|
|
|
questionListDto.setHandlerImage(handerImg); |
|
|
|
} |
|
|
|
return questionListDtoList; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |