From d174ab82cbe0a18dbca6a5956a90f73c8aca54bb Mon Sep 17 00:00:00 2001
From: Administrator <Administrator@Admin>
Date: 星期二, 18 十二月 2018 09:44:08 +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