pr check and send email

This commit is contained in:
呱呱呱
2023-08-08 16:27:54 +08:00
parent 5fb8c7739f
commit e3b3dacde7
16 changed files with 359 additions and 0 deletions

View File

@@ -30,4 +30,11 @@ class UserMailer < ApplicationMailer
def feedback_email(mail, title, content)
mail(to: mail, subject: title, content_type: "text/html", body: content)
end
def glcc_pr_check_email(mail, title, name, content)
@content = content
@name = name
mail(to: mail, subject: title)
end
end