增加查询字典接口

This commit is contained in:
2025-08-02 14:00:23 +08:00
parent f07c4d0bdc
commit fc8c732d09

View File

@ -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));
} }
} }