字典feign

This commit is contained in:
efren
2025-07-24 09:28:25 +08:00
parent e37c88df5d
commit 71531aa680
2 changed files with 9 additions and 0 deletions

View File

@ -35,5 +35,9 @@ public interface DictClient {
@ApiOperation("查询数据集合")
@GetMapping("/v1/dictProject/selectDictList")
BaseResponse<List<DictProject>> selectDictList(DictProject dictProject);
@ApiOperation("查询数据集合(支持详情查询)")
@GetMapping("/getDictList")
BaseResponse<List<DictProject>> getDictList(DictProject dictProject);
}

View File

@ -19,4 +19,9 @@ public class DictClientFallback implements DictClient {
public BaseResponse<List<DictProject>> selectDictList(DictProject dictProject) {
return null;
}
@Override
public BaseResponse<List<DictProject>> getDictList(DictProject dictProject) {
return null;
}
}