fanli/src/main/java/com/yeshi/fanli/service/impl/taobao/TaoBaoShopServiceImpl.java
@@ -81,7 +81,7 @@ } @Override public void changeInfo(MultipartFile file, Long id, String shopName) { public void changeInfo(MultipartFile file, Long id, String shopName, String key) { TaoBaoShop taoBaoShop = taoBaoShopMapper.selectByPrimaryKey(id); if (taoBaoShop == null) { return; @@ -113,6 +113,7 @@ updateShop.setId(id); updateShop.setShopNameCustom(shopName); updateShop.setKey(key); taoBaoShopMapper.updateByPrimaryKeySelective(updateShop); } @@ -160,7 +161,6 @@ } return shop; } @Override @Cacheable(value = "brandCache", key = "'getShopByKey-'+#key")