Commit cabd167a by jianan

国家地区查询接口3

parent f6bcb1af
...@@ -3,6 +3,7 @@ package com.yd.user.feign.fallback.mdcountry; ...@@ -3,6 +3,7 @@ package com.yd.user.feign.fallback.mdcountry;
import com.yd.common.result.Result; import com.yd.common.result.Result;
import com.yd.user.feign.client.mdcountry.ApiMdCountryFeignClient; import com.yd.user.feign.client.mdcountry.ApiMdCountryFeignClient;
import com.yd.user.feign.response.mdcountry.ApiMdCountryGroupResponse; import com.yd.user.feign.response.mdcountry.ApiMdCountryGroupResponse;
import com.yd.user.feign.response.mdcountry.ApiMdCountrySearchResponse;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.springframework.cloud.openfeign.FallbackFactory; import org.springframework.cloud.openfeign.FallbackFactory;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
...@@ -18,6 +19,11 @@ public class ApiMdCountryFeignFallbackFactory implements FallbackFactory<ApiMdCo ...@@ -18,6 +19,11 @@ public class ApiMdCountryFeignFallbackFactory implements FallbackFactory<ApiMdCo
return null; return null;
} }
@Override
public Result<ApiMdCountrySearchResponse> search(String name) {
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