|
@@ -10,12 +10,16 @@ import com.yonge.toolset.utils.idcard.IdcardInfoExtractor;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
import org.springframework.cloud.openfeign.FeignClient;
|
|
|
import org.springframework.http.MediaType;
|
|
|
-import org.springframework.web.bind.annotation.*;
|
|
|
+import org.springframework.web.bind.annotation.GetMapping;
|
|
|
+import org.springframework.web.bind.annotation.PathVariable;
|
|
|
+import org.springframework.web.bind.annotation.PostMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestBody;
|
|
|
+import org.springframework.web.bind.annotation.RequestParam;
|
|
|
|
|
|
-import java.io.IOException;
|
|
|
import java.util.List;
|
|
|
|
|
|
-@FeignClient(contextId = "sysUserFeignService", name = "auth-server", configuration = { FeignConfiguration.class }, fallback = SysUserFeignServiceFallback.class)
|
|
|
+@FeignClient(contextId = "sysUserFeignService", name = "${app-config.open-feign.auth-server.name:auth-server}", url = "${app-config.open-feign.auth-server.url:}",
|
|
|
+ configuration = { FeignConfiguration.class }, fallback = SysUserFeignServiceFallback.class)
|
|
|
public interface SysUserFeignService {
|
|
|
|
|
|
@GetMapping(value = "user/queryUserById/{userId}")
|