@GetMapping("")
    @RequiresPermissions("system:dict:list")
    public ShenyuAdminResult queryDicts(final String type, final String dictCode, final String dictName,
                                        @RequestParam @NotNull final Integer currentPage,
                                        @RequestParam @NotNull final Integer pageSize) {
        final ShenyuDictQuery query = new ShenyuDictQuery(type, dictCode, dictName, new PageParameter(currentPage, pageSize));
        return ShenyuAdminResult.success(ShenyuResultMessage.QUERY_SUCCESS, shenyuDictService.listByPage(query));
    }
query shenyu dicts.

@param type        dict type.
@param dictCode    dict code.
@param dictName    dict name.
@param currentPage current page.
@param pageSize    page size
@return {@linkplain ShenyuAdminResult}
shenyu-admin/src/main/java/org/apache/shenyu/admin/controller/ShenyuDictController.java