Commit bc0ae7c6 by zhangxingmin

push

parent 0d613493
...@@ -2,7 +2,9 @@ package com.yd.base.feign.fallback.exchangerate; ...@@ -2,7 +2,9 @@ package com.yd.base.feign.fallback.exchangerate;
import com.yd.base.feign.client.exchangerate.ApiExchangeRateFeignClient; import com.yd.base.feign.client.exchangerate.ApiExchangeRateFeignClient;
import com.yd.base.feign.request.exchangerate.ApiExchangeRateConvertRequest; import com.yd.base.feign.request.exchangerate.ApiExchangeRateConvertRequest;
import com.yd.base.feign.request.exchangerate.ApiQueryBatchExchangeRateRequest;
import com.yd.base.feign.response.exchangerate.ApiExchangeRateConvertResponse; import com.yd.base.feign.response.exchangerate.ApiExchangeRateConvertResponse;
import com.yd.base.feign.response.exchangerate.ApiQueryBatchExchangeRateResponse;
import com.yd.common.result.Result; import com.yd.common.result.Result;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.springframework.cloud.openfeign.FallbackFactory; import org.springframework.cloud.openfeign.FallbackFactory;
...@@ -31,6 +33,11 @@ public class ApiExchangeRateFeignFallbackFactory implements FallbackFactory<ApiE ...@@ -31,6 +33,11 @@ public class ApiExchangeRateFeignFallbackFactory implements FallbackFactory<ApiE
} }
@Override @Override
public Result<ApiQueryBatchExchangeRateResponse> queryBatchExchangeRate(ApiQueryBatchExchangeRateRequest request) {
return null;
}
@Override
public Result<List<ApiExchangeRateConvertResponse>> batchConvert(List<ApiExchangeRateConvertRequest> requests) { public Result<List<ApiExchangeRateConvertResponse>> batchConvert(List<ApiExchangeRateConvertRequest> requests) {
return null; return null;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment