Skip to content

Commit

Permalink
Merge pull request #37 from zhouxianfeng776/detached
Browse files Browse the repository at this point in the history
移除数据库参数增加@RequestParam
  • Loading branch information
huayanYu authored Dec 25, 2023
2 parents ec782b9 + f65cea8 commit 50712b8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public Set<String> add(@Validated @RequestBody DataSourceDTO dto) {
* 删除数据源
*/
@DeleteMapping
public String remove(String name) {
public String remove(@RequestParam String name) {
DynamicRoutingDataSource ds = (DynamicRoutingDataSource) dataSource;
ds.removeDataSource(name);
return "删除成功";
Expand Down

0 comments on commit 50712b8

Please sign in to comment.