Commit 07b5e6fa authored by alex yao's avatar alex yao

feat:Agent插件-邮件通知

parent 77cb03bb
......@@ -46,7 +46,7 @@ public class NotificationReminderFunction extends AbstractLargeModelFunction {
MemberInfoEntity memberInfoEntity = bizMemberInfoService.getById(userBaseEntity.getUserId().intValue());
String email = memberInfoEntity.getEmail();
if (StringUtils.isBlank(email)) {
return "用户尚未配置邮箱,告知用户插件执行失败,原因是用户需要完善个人邮箱信息后再使用。";
return "告知用户插件执行失败,原因是用户需要完善个人邮箱信息后再使用。";
}
JSONObject jsonObject = JSONObject.parseObject(content);
jsonObject.put("email", email);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment