metaService中支持详情页配置
This commit is contained in:
@@ -161,6 +161,17 @@ public class MetadataService extends BaseService { //arango
|
||||
return JBean.OK;
|
||||
}
|
||||
|
||||
@RestMapping(name = "detailsave", comment = "详情配置保存")
|
||||
public JBean detailSave(String name, List<Map<String, String>> details, @RestParam(name = "platToken") String token) {
|
||||
if (details == null || details.size() == 0) return null;
|
||||
|
||||
MetaService metaService = MetaKit.getMetaService(name, token);
|
||||
metaService.setDetails(details);
|
||||
|
||||
MetaKit.save(metaService);
|
||||
return JBean.OK;
|
||||
}
|
||||
|
||||
@RestMapping(name = "importsort", comment = "导入字段保存")
|
||||
public JBean importSort(String serviceKey, List<String> items, @RestParam(name = "platToken") String token) {
|
||||
if (isEmpty.test(items)) return null;
|
||||
|
||||
Reference in New Issue
Block a user