From 79b33a5c97602b082dfdf8b96cd28a8015ad3b8b Mon Sep 17 00:00:00 2001
From: 喻健 <喻健@Admin>
Date: 星期三, 19 十二月 2018 16:38:39 +0800
Subject: [PATCH] 调整商品详情中,淘宝喜欢数据为空时不再系统取默认数据

---
 fanli/src/main/java/com/yeshi/fanli/service/impl/config/ConfigServiceImpl.java |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/service/impl/config/ConfigServiceImpl.java b/fanli/src/main/java/com/yeshi/fanli/service/impl/config/ConfigServiceImpl.java
index 5e0e0ba..47776f8 100644
--- a/fanli/src/main/java/com/yeshi/fanli/service/impl/config/ConfigServiceImpl.java
+++ b/fanli/src/main/java/com/yeshi/fanli/service/impl/config/ConfigServiceImpl.java
@@ -80,6 +80,7 @@
 		}
 	}
 
+	@CacheEvict(value = "config", allEntries = true)
 	public void update(Config config) {
 		config.setCreatetime(new Date().getTime() + "");
 		configDao.update(config);

--
Gitblit v1.8.0