|
|
@@ -306,7 +306,7 @@ public class CommonController {
|
|
|
|
|
|
@ApiOperation("获取数据字典")
|
|
|
@GetMapping("/getDictByKey")
|
|
|
- @Cacheable(value="dicts", key="#key")
|
|
|
+ @Cacheable(value="sys_dicts", key="#key")
|
|
|
public R getDictByKey(@RequestParam(value = "key", required = false) String key){
|
|
|
List<DictVO> dicts=dictDataService.selectDictDataListByType(key);
|
|
|
return R.ok().put("data",dicts);
|