Merge pull request 'test' (#33) from test into prod

Reviewed-on: http://220.205.16.27:18081/goflytec/GoFly-platform-services/pulls/33
This commit is contained in:
2026-01-15 08:08:45 +00:00
@@ -398,11 +398,9 @@ public class TourismServiceImpl extends SuperServiceImpl<TourismMapper, Tourism>
if (!fileIds.isEmpty()) {
List<TourismFile> files = tourismFileService.findByIds(fileIds);
if (files != null) {
for (TourismFile file : files) {
if (file != null && file.getImageUrl() != null && !file.getImageUrl().trim().isEmpty()) {
imageUrl = fileCenterService.getViewUrlByPath(file.getImageUrl());
break;
}
TourismFile file = files.get(0);
if(file != null && file.getImageUrl() != null && !file.getImageUrl().trim().isEmpty()){
imageUrl = fileCenterService.getViewUrlByPath(file.getImageUrl());
}
}
}