字典feign
This commit is contained in:
@ -17,15 +17,6 @@ import java.util.List;
|
|||||||
public interface DictClient {
|
public interface DictClient {
|
||||||
|
|
||||||
// --------------------------字典接口-----------------------
|
// --------------------------字典接口-----------------------
|
||||||
/**
|
|
||||||
* 查询字典数据
|
|
||||||
* @param parentCode 字典父类code
|
|
||||||
* @param toParentCode 字典父类对应的父类code
|
|
||||||
* @return 返回结果
|
|
||||||
*/
|
|
||||||
@ApiOperation("查询数据集合")
|
|
||||||
@GetMapping("/v1/dictProject/getDictList")
|
|
||||||
BaseResponse<List<DictProject>> getDictList(String parentCode, String toParentCode);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 查询所有字典
|
* 查询所有字典
|
||||||
|
@ -10,10 +10,6 @@ import java.util.List;
|
|||||||
|
|
||||||
@Component
|
@Component
|
||||||
public class DictClientFallback implements DictClient {
|
public class DictClientFallback implements DictClient {
|
||||||
@Override
|
|
||||||
public BaseResponse<List<DictProject>> getDictList(String parentCode, String toParentCode) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public BaseResponse<List<DictProject>> selectDictList(DictProject dictProject) {
|
public BaseResponse<List<DictProject>> selectDictList(DictProject dictProject) {
|
||||||
|
Reference in New Issue
Block a user