Skip to content

Commit

Permalink
Merge pull request #47 from cheng521521/main
Browse files Browse the repository at this point in the history
fix: edit approve function
  • Loading branch information
yanyanho authored Nov 3, 2023
2 parents 030a80d + faca0ee commit bea4a9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/dl/officialsite/team/TeamService.java
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ public void approve(TeamMemberApproveVO teamMemberApproveVO) {
}
});
teamMemberRepository.saveAll(teamMembers);
//发送邮件
/* //发送邮件
Team team = teamRepository.findById(teamMemberApproveVO.getTeamId()).get();
String administratorAddress = team.getAdministrator();
if (!ObjectUtils.isEmpty(administratorAddress) || !"".equals(administratorAddress)) {
Expand All @@ -148,7 +148,7 @@ public void approve(TeamMemberApproveVO teamMemberApproveVO) {
} else {
throw new BizException(CodeEnums.TEAM_ADMIN_NOT_EXIST.getCode(),
CodeEnums.TEAM_ADMIN_NOT_EXIST.getMsg());
}
}*/
}


Expand Down

0 comments on commit bea4a9a

Please sign in to comment.