新增:更改邮箱控制器方法

This commit is contained in:
2022-09-28 16:09:10 +08:00
parent fce8166ba7
commit 649d9c4ea6
4 changed files with 144 additions and 0 deletions

View File

@@ -8,4 +8,8 @@ class UserMailer < ApplicationMailer
mail(to: mail, subject: 'Gitink | 注册验证码')
end
def update_email(mail, code)
@code = code
mail(to: mail, subject: 'Gitink | 更改邮箱验证码')
end
end