Commit 04e05577 authored by Quxl's avatar Quxl

修改bug

parent 0eae5882
......@@ -76,8 +76,9 @@ public class MemberOpenApiController {
Fc_member member = memberService.getMemberByEmail(email);
String encodePwd = memberService.encodePassword(member.getSalt(), password);
memberService.changePassword(member.getId(), encodePwd);
String name = member.getUsername();
String subject = messages.get("email.getPassword.subject");
String content = messages.get("email.getPassword.content", member.getRealname(), password);
String content = messages.get("email.getPassword.content", name == null ? "" : name, password);
emailService.send(subject, content, email);
return Rjx.jsonOk();
}
......
email.getPassword.subject=\u4E2D\u56FD\u7535\u5F71\u8282[\u627E\u56DE\u5BC6\u7801]\u90AE\u4EF6
email.getPassword.content={0}, \u60A8\u597D, \u60A8\u7684\u65B0\u5BC6\u7801\u662F: [{1}]
email.getPassword.content={0} \u60A8\u597D, \u60A8\u7684\u65B0\u5BC6\u7801\u662F: [{1}]
sys.err=\u7CFB\u7EDF\u9519\u8BEF
sys.err.user_disabled=\u7528\u6237\u5DF2\u7ECF\u7981\u7528
......
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