Skip to content

Commit

Permalink
V1_1:测试代码安全
Browse files Browse the repository at this point in the history
  • Loading branch information
xuelei.yang committed Nov 13, 2024
1 parent 3d77466 commit cc0b953
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main/java/com/example/demo/controller/DemoController.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,9 @@ public List<String> createMapPlatformPatent2(@RequestParam(value = "scope", requ
List<String> scopes = DemoUtil.buildScopes(scope);
return DemoUtil.buildScopes(scope);
}
@PostMapping("/create")
public List<String> createMapPlatformPatent3(@RequestParam(value = "scope", required = false) String scope) {
List<String> scopes = DemoUtil.buildScopes(scope);
return DemoUtil.buildScopes(scope);
}
}

0 comments on commit cc0b953

Please sign in to comment.