|
@@ -7,10 +7,12 @@ import org.springframework.web.bind.annotation.RequestMethod;
|
|
|
|
|
|
import com.steerinfo.framework.controller.RESTfulResult;
|
|
import com.steerinfo.framework.controller.RESTfulResult;
|
|
|
|
|
|
-@FeignClient(value = "sysmanage-service", fallback = OssServiceHystrix.class)
|
|
|
|
|
|
+@FeignClient(value = "sysmanage-service", fallback = OssServiceHystrix.class,url = "172.16.90.238:8088")
|
|
// @FeignClient(value = "sso-service", fallback = OssServiceHystrix.class)
|
|
// @FeignClient(value = "sso-service", fallback = OssServiceHystrix.class)
|
|
public interface OssServiceClient {
|
|
public interface OssServiceClient {
|
|
|
|
+
|
|
@RequestMapping(value="/v1/sysusers/{id}", method=RequestMethod.GET)
|
|
@RequestMapping(value="/v1/sysusers/{id}", method=RequestMethod.GET)
|
|
|
|
+
|
|
public RESTfulResult getUser(@PathVariable("id") String id);
|
|
public RESTfulResult getUser(@PathVariable("id") String id);
|
|
|
|
|
|
@RequestMapping(value="/v1/sysusers/user/token/", method=RequestMethod.GET)
|
|
@RequestMapping(value="/v1/sysusers/user/token/", method=RequestMethod.GET)
|