增加查询字典接口
This commit is contained in:
@ -41,6 +41,6 @@ public class SysDataController {
|
|||||||
@GetMapping("/getDictDataByDicTypeAndValue")
|
@GetMapping("/getDictDataByDicTypeAndValue")
|
||||||
public Result<SysDictDataDTO> getDictDataByDicTypeAndValue(@RequestParam(name = "dicType") String dicType, @RequestParam(name = "dicValue") String dicValue){
|
public Result<SysDictDataDTO> getDictDataByDicTypeAndValue(@RequestParam(name = "dicType") String dicType, @RequestParam(name = "dicValue") String dicValue){
|
||||||
|
|
||||||
return Result.ok(sysDataService.listDictDataByDicType(dicType));
|
return Result.ok(sysDataService.getDictDataByDicTypeAndValue(dicType, dicValue));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user