增强服务配置文件启动功能,支持文件配置仍然可以修改

This commit is contained in:
2019-04-29 16:32:26 +08:00
parent a255c52cc0
commit 52f4d459a0
10 changed files with 36 additions and 30 deletions

View File

@@ -256,11 +256,6 @@ public class MetadataService extends BaseService { //arango
@RestMapping(name = "link_save", comment = "实体关系列表")
public JBean linkSave(MetaLink link, @RestParam(name = "platToken") String token) {
if (link.getKey() != null) {
link.find(String.format("UPDATE '%s' WITH { link:null } IN MetaLink", link.getKey()), Map.class); //避免删除属性无效
// fixme: 将逻辑迁移到 MetaKit中:
}
MetaKit.save(link);
return JBean.OK;
}