Skip to content

Commit

Permalink
save
Browse files Browse the repository at this point in the history
  • Loading branch information
markliu2013 committed Mar 17, 2024
1 parent 2cf16a5 commit ae8de50
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/cn/biq/mn/user/UserController.java
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ public BaseResponse handleBooksSelect() {
return new DataResponse<>(userService.getBooksSelect());
}

@RequestMapping(method = RequestMethod.PATCH, value = "/setDefaultGroupAndBook")
public BaseResponse handleSetDefaultGroup(@RequestParam String id) {
@RequestMapping(method = RequestMethod.PATCH, value = "/setDefaultGroupAndBook/{id}")
public BaseResponse handleSetDefaultGroup(@PathVariable("id") String id) {
return new BaseResponse(userService.setDefaultGroupAndBook(id));
}

Expand Down

0 comments on commit ae8de50

Please sign in to comment.