|
@@ -162,7 +162,9 @@ public class WebSiteTourismTravelNotesPublishController {
|
|
|
List<TourismProjectTravelNotesWriteCovertVo> dataList = tourismProjectTravelNotesWriteVoMyPageData.getDataList();
|
|
|
if(CollectionUtils.isNotEmpty(dataList)){
|
|
|
dataList.stream().forEach(item->{
|
|
|
- item.setTourismTavelNotesUrl(UrlConvertUtils.urlConvert(applicationConfig.getHostIpPort(), item.getTourismUrl()));
|
|
|
+ if(item.getTourismUrl()!= null) {
|
|
|
+ item.setTourismTavelNotesUrl(UrlConvertUtils.urlConvert(applicationConfig.getHostIpPort(), item.getTourismUrl()));
|
|
|
+ }
|
|
|
});
|
|
|
}
|
|
|
return ResponseResult.success(tourismProjectTravelNotesWriteVoMyPageData);
|