Commit 3a1e8965 by xieshaohua

远程服务调用参数配置

parent d1e90910
...@@ -10,7 +10,7 @@ import org.springframework.web.bind.annotation.RequestParam; ...@@ -10,7 +10,7 @@ import org.springframework.web.bind.annotation.RequestParam;
import com.keymobile.tagmanager.model.authService.Org; import com.keymobile.tagmanager.model.authService.Org;
@FeignClient(name = "authService") @FeignClient(name = "tagAuthService", url = "${service.url.metadata}")
public interface AuthServiceClient { public interface AuthServiceClient {
@GetMapping(value = "/orgs/{orgId}") @GetMapping(value = "/orgs/{orgId}")
public Org getOrgs(@PathVariable("orgId") Long orgId); public Org getOrgs(@PathVariable("orgId") Long orgId);
......
...@@ -12,7 +12,7 @@ import org.springframework.web.bind.annotation.RequestParam; ...@@ -12,7 +12,7 @@ import org.springframework.web.bind.annotation.RequestParam;
import com.keymobile.tagmanager.exception.TagException; import com.keymobile.tagmanager.exception.TagException;
@FeignClient(name = "MetadataRepo") @FeignClient(name = "tagMetadataRepo", url = "${service.url.auth}")
public interface RepoServiceClient { public interface RepoServiceClient {
@PostMapping(value = "/rest/tag/getByTag") @PostMapping(value = "/rest/tag/getByTag")
public Map<String,Object> getTagMetadata(@RequestParam String dimensionType, public Map<String,Object> getTagMetadata(@RequestParam String dimensionType,
......
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