fanli/src/main/java/com/yeshi/fanli/service/impl/homemodule/SwiperPictureServiceImpl.java
@@ -8,6 +8,7 @@ import javax.annotation.Resource; import javax.transaction.Transactional; import org.springframework.cache.annotation.Cacheable; import org.springframework.stereotype.Service; import org.springframework.web.multipart.MultipartFile; @@ -126,6 +127,7 @@ } @Override @Cacheable(value = "bannerCache", key = "'getByBannerCard-'+#card") public List<SwiperPicture> getByBannerCard(String card) throws SwiperPictureException { return swiperPictureMapper.getByBannerCard(card); }