From 1f53392cadde16a8f6cd69c80a4f528a48be01c1 Mon Sep 17 00:00:00 2001 From: chengpengxiang <15503679582@163.com> Date: Mon, 13 Nov 2023 18:23:09 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E6=B7=BB=E5=8A=A0=E9=82=AE=E4=BB=B6?= =?UTF-8?q?=E5=A4=84=E7=90=86=E9=93=BE=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/dl/officialsite/team/TeamService.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/dl/officialsite/team/TeamService.java b/src/main/java/com/dl/officialsite/team/TeamService.java index 28d86c34..dc5b78e3 100644 --- a/src/main/java/com/dl/officialsite/team/TeamService.java +++ b/src/main/java/com/dl/officialsite/team/TeamService.java @@ -120,10 +120,11 @@ public void join(TeamMemberJoinVO teamMember) { Member member1 = admin.get(); String email = member1.getEmail(); String subject = team.getTeamName() + "团队新成员"+ member1.getNickName()+"加入申请"; + String content = "点击此链接去处理" + "https://dapplearning.org/team/admin"; List mailAddress = new ArrayList<>(); mailAddress.add(email); log.info("发送邮件给管理员:{},接收地址{}", email, mailAddress); - emailService.memberJoinTeam(mailAddress, subject, subject); + emailService.memberJoinTeam(mailAddress, subject, content); } else { throw new BizException(CodeEnums.TEAM_ADMIN_NOT_EXIST.getCode(), CodeEnums.TEAM_ADMIN_NOT_EXIST.getMsg()); @@ -147,10 +148,11 @@ public void join(TeamMemberJoinVO teamMember) { Member member1 = admin.get(); String email = member1.getEmail(); String subject = team.getTeamName() + "团队新成员"+ member1.getNickName()+"加入申请"; + String content = "点击此链接去处理" + "https://dapplearning.org/team/admin"; List mailAddress = new ArrayList<>(); mailAddress.add(email); log.info("发送邮件给管理员:{},接收地址{}", email, mailAddress); - emailService.memberJoinTeam(mailAddress, subject, subject); + emailService.memberJoinTeam(mailAddress, subject, content); } else { throw new BizException(CodeEnums.TEAM_ADMIN_NOT_EXIST.getCode(), CodeEnums.TEAM_ADMIN_NOT_EXIST.getMsg());