|
|
@ -14,36 +14,36 @@ import java.util.Map; |
|
|
|
public class EpmetAdminOpenFeignClientFallback implements EpmetAdminOpenFeignClient { |
|
|
|
@Override |
|
|
|
public Result<List<CorsConfigResultDTO>> list() { |
|
|
|
return ModuleUtils.feignConError(ServiceConstant.EPMET_USER_SERVER, "list", null); |
|
|
|
return ModuleUtils.feignConError(ServiceConstant.EPMET_ADMIN_SERVER, "list", null); |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
public Result<List<OptionResultDTO>> getEducationOption() { |
|
|
|
return ModuleUtils.feignConError(ServiceConstant.EPMET_USER_SERVER, "getEducationOption", null); |
|
|
|
return ModuleUtils.feignConError(ServiceConstant.EPMET_ADMIN_SERVER, "getEducationOption", null); |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
public Result<List<OptionResultDTO>> getHouseOption() { |
|
|
|
return ModuleUtils.feignConError(ServiceConstant.EPMET_USER_SERVER, "getHouseOption", null); |
|
|
|
return ModuleUtils.feignConError(ServiceConstant.EPMET_ADMIN_SERVER, "getHouseOption", null); |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
public Result<List<OptionResultDTO>> getNationOption() { |
|
|
|
return ModuleUtils.feignConError(ServiceConstant.EPMET_USER_SERVER, "getNationOption", null); |
|
|
|
return ModuleUtils.feignConError(ServiceConstant.EPMET_ADMIN_SERVER, "getNationOption", null); |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
public Result<List<OptionResultDTO>> getNineSmallPlacesOption() { |
|
|
|
return ModuleUtils.feignConError(ServiceConstant.EPMET_USER_SERVER, "getNineSmallPlacesOption", null); |
|
|
|
return ModuleUtils.feignConError(ServiceConstant.EPMET_ADMIN_SERVER, "getNineSmallPlacesOption", null); |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
public Result<List<OptionResultDTO>> getRelationshipOption() { |
|
|
|
return ModuleUtils.feignConError(ServiceConstant.EPMET_USER_SERVER, "getRelationshipOption", null); |
|
|
|
return ModuleUtils.feignConError(ServiceConstant.EPMET_ADMIN_SERVER, "getRelationshipOption", null); |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
public Result<Map<String, String>> dictMap(String dictType) { |
|
|
|
return ModuleUtils.feignConError(ServiceConstant.EPMET_USER_SERVER, "dictMap", dictType); |
|
|
|
return ModuleUtils.feignConError(ServiceConstant.EPMET_ADMIN_SERVER, "dictMap", dictType); |
|
|
|
} |
|
|
|
} |
|
|
|