新增[服务端缓存手动更新]

This commit is contained in:
2019-06-14 19:29:59 +08:00
parent d67df1f966
commit 62a575ae69
5 changed files with 29 additions and 3 deletions

View File

@@ -111,6 +111,11 @@ const meta = {
dataSave({name, data}) {
return red.postX('/data/save', {name, data: JSON.stringify(data)})
},
// 刷新服务端缓存数据
refresh() {
return red.postX("/meta/refresh", {})
}
}