This commit is contained in:
xiangwb
2017-12-28 13:33:02 +08:00
parent 39cfbde080
commit b0e7ace46f
8 changed files with 58 additions and 22 deletions
@@ -94,7 +94,7 @@ public class SysConfigControl {
if (one == null) {
return JSONObjResult.toJSONObj("该配置不存在");
}
return JSONObjResult.toJSONObj(one, true, "");
return JSONObjResult.toJSONObj(one, "");
}
@LogInfo("根据是否启用查找配置列表")
@@ -108,6 +108,6 @@ public class SysConfigControl {
return JSONObjResult.toJSONObj("是否启用不能为空");
}
List<SysConfig> byEnable = sysConfigService.listByEnable(enable);
return JSONObjResult.toJSONObj(byEnable, true, "");
return JSONObjResult.toJSONObj(byEnable, "");
}
}