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

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

@@ -299,6 +299,13 @@ public class MetadataService extends BaseService { //arango
return jBean.setBody(plats);
}
@RestMapping(name = "refresh", comment = "刷新服务端缓存数据")
public JBean refresh() {
JBean jBean = new JBean();
MetaKit.init();
return jBean;
}
// ------------------------------------ 对外服务 --------------------------------------
@RestMapping(name = "cfg", auth = false, comment = " 功能配置")
public JBean cfg(String name, @RestParam(name = "platToken") String token) {