Commit e780f132 by zhangkb

修改接口

parent c277d478
......@@ -7,6 +7,7 @@ import java.util.Set;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;
@FeignClient(name = "MetadataRepo")
......@@ -20,6 +21,17 @@ public interface RepoServiceClient {
@RequestParam(required = false) int pageSize,
@RequestParam String tagType);
@PostMapping(value = "/rest/tag/getPageByTag")
public Map<String,Object> getPageByTag(
@RequestBody Map<Long, Set<String>> systemTagMap,
@RequestParam(required = false) String modelPath,
@RequestParam String idPath,
@RequestParam String tagType,
@RequestParam String dimensionType,
@RequestParam(required = false) String keyword,
@RequestParam int pageNum,
@RequestParam int pageSize);
@PostMapping(value = "/rest/metadata/getByNamePathAndClass")
public Map<String,Object> getMetaByNamePathAndClass(@RequestParam String claz,
@RequestParam String namePath);
......
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