Skip to content

Commit

Permalink
Merge pull request #98 from yanyanho/main
Browse files Browse the repository at this point in the history
add auth aspect
  • Loading branch information
yanyanho committed Dec 15, 2023
2 parents a73ad46 + 04607f0 commit 25dace0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/com/dl/officialsite/team/TeamController.java
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ BaseResponse exit(@RequestBody TeamMemberJoinVO teamMember, @RequestParam String
* 审批加入团队
*/
@PostMapping("/approve")
@Auth("admin")
BaseResponse approve(@RequestBody TeamMemberApproveVO teamMemberApproveVO, @RequestParam String address) {
teamService.approve(teamMemberApproveVO);
return BaseResponse.successWithData(null);
Expand Down

0 comments on commit 25dace0

Please sign in to comment.