diff --git a/report-core/src/main/java/com/anjiplus/template/gaea/business/modules/dict/controller/GaeaDictController.java b/report-core/src/main/java/com/anjiplus/template/gaea/business/modules/dict/controller/GaeaDictController.java index fdf65ce6..d83a9609 100644 --- a/report-core/src/main/java/com/anjiplus/template/gaea/business/modules/dict/controller/GaeaDictController.java +++ b/report-core/src/main/java/com/anjiplus/template/gaea/business/modules/dict/controller/GaeaDictController.java @@ -96,4 +96,18 @@ public class GaeaDictController extends GaeaBaseController keyValues = gaeaDictService.selectTypeCode(project,language); return responseSuccessWithData(keyValues); } + + /** + * 获取所有字典 + * @return + */ + @GetMapping("/all") + public ResponseBean all(){ + Locale locale = LocaleContextHolder.getLocale(); + //语言 + String language = locale.getLanguage(); + + Map> all = gaeaDictService.all(language); + return responseSuccessWithData(all); + } }