Explorar el Código

Merge branch 'develop' of gitadmin/tuoheng_lc into release

tags/v1.1.0^2
gitadmin hace 1 año
padre
commit
7172be27ce
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. +3
    -1
      tuoheng-admin/src/main/java/com/tuoheng/admin/service/impl/IndexServiceImpl.java

+ 3
- 1
tuoheng-admin/src/main/java/com/tuoheng/admin/service/impl/IndexServiceImpl.java Ver fichero

@@ -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;
}

Cargando…
Cancelar
Guardar