redis里存的是json,但是json的格式是list
怎么取出来呢
JSONArray cacheObject = (JSONArray) redisService.getCacheObject("sys_dict:dispute_data_source_hn");
Class<SysDictData> sysDictDataClass = SysDictData.class;
List<SysDictData> dataSourceList = cacheObject.toList(sysDictDataClass);