diff --git a/src/main/java/com/example/demo/controller/DemoController.java b/src/main/java/com/example/demo/controller/DemoController.java index 63a7c3f..583fdbe 100644 --- a/src/main/java/com/example/demo/controller/DemoController.java +++ b/src/main/java/com/example/demo/controller/DemoController.java @@ -27,4 +27,9 @@ public List createMapPlatformPatent2(@RequestParam(value = "scope", requ List scopes = DemoUtil.buildScopes(scope); return DemoUtil.buildScopes(scope); } + @PostMapping("/create") + public List createMapPlatformPatent3(@RequestParam(value = "scope", required = false) String scope) { + List scopes = DemoUtil.buildScopes(scope); + return DemoUtil.buildScopes(scope); + } }