|
@@ -67,7 +67,7 @@ public class MenuCustomController {
|
|
|
public Result customList() {
|
|
|
List<PrivilegeDto> customPrivilegeList = sysPrivilegeService.addCustomList();
|
|
|
// SysConfig sysConfig = commonCacheService.addSysConfigCache(SystemConstant.SYS_PDF_SIZE_LIST);
|
|
|
-// Optional.ofNullable(sysConfig).orElseThrow(() -> ExceptionResultEnum.PARAMS_ERROR.exception("未配置全局pdf格式清单"));
|
|
|
+// Optional.ofNullable(sysConfig).orElseThrow(() -> ExceptionResultEnum.ERROR.exception("未配置全局pdf格式清单"));
|
|
|
// return ResultUtil.ok(new CustomPrivilegeResult(customPrivilegeList, Arrays.asList(sysConfig.getConfigValue().replaceAll("\\[", "").replaceAll("\\]", "").split(", "))));
|
|
|
return ResultUtil.ok(customPrivilegeList);
|
|
|
}
|