diff --git a/docs/cached.md b/docs/cached.md
index 1a68f216d..164ea9450 100644
--- a/docs/cached.md
+++ b/docs/cached.md
@@ -10,7 +10,7 @@
|属性|默认值|说明|
| --- | --- | --- |
|key|未定义|缓存的key,支持参数动态组合,比如"key_#{id}"|
-|hash|```DEFAULT_HASH```|缓存的hash, 不能含有':'、'#'、'@'字符|
+|manager|空|缓存管理器名称, 不能含有':'、'#'、'@'字符|
|localExpire|-1|本地缓存过期时长, 0表示永不过期, -1表示不作本地缓存。
参数值支持方式:
100: 设置数值
${env.cache.expires}: 读取系统配置项 |
|remoteExpire|-1|远程缓存过期时长, 0表示永不过期, -1表示不作远程缓存。
参数值支持方式:
100: 设置数值
${env.cache.expires}: 读取系统配置项 |
|nullable|false|是否可以缓存null值|
@@ -42,7 +42,7 @@
//实时修改远程缓存的key值
public void updateName(String code, Map map) {
- cachedManager.remoteSetString(code, code + "_" + map.get("id"), Duration.ofMillis(60));
+ cachedManager.remoteSetString(code + "_" + map.get("id"), Duration.ofMillis(60));
}
@Cached(key = "#{code}_#{map.id}", remoteExpire = "60", timeUnit = TimeUnit.MILLISECONDS)
@@ -55,9 +55,10 @@
```xml
-
+
```
\ No newline at end of file
diff --git a/src/main/java/META-INF/application-template.xml b/src/main/java/META-INF/application-template.xml
index 8da7a30e5..548452fe5 100644
--- a/src/main/java/META-INF/application-template.xml
+++ b/src/main/java/META-INF/application-template.xml
@@ -43,13 +43,14 @@ serviceid1_name1 serviceid1_name2 serviceid2_name1 serviceid2_name2
-
+