Merge pull request 'feat: 根据租户获取景区二维码内容' (#32) from feature_dzc into test

Reviewed-on: http://220.205.16.27:18081/goflytec/GoFly-platform-services/pulls/32
This commit is contained in:
2026-01-15 08:08:31 +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());
}
}
}