feat: 根据租户获取景区二维码内容

This commit is contained in:
2026-01-15 16:06:23 +08:00
parent 7f9e4e8034
commit 6fb8c71ee2
@@ -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());
}
}
}