|
|
|
@@ -78,7 +78,7 @@ class MessageTemplate < ApplicationRecord |
|
|
|
# 竞赛通知 |
|
|
|
self.create(type: 'MessageTemplate::CompetitionBegin', sys_notice: '你报名的竞赛 <b>{competition_name}</b> 已进入比赛进行阶段,可在此期间提交作品', notification_url: '{to_url}') |
|
|
|
self.create(type: 'MessageTemplate::CompetitionResult', sys_notice: '你报名的竞赛 <b>{competition_name}</b> 已进入成绩公示阶段,可查看排行榜信息', notification_url: '{to_url}') |
|
|
|
self.create(type: 'MessageTemplate::CompetitionView', sys_notice: '你报名的竞赛 <b>{competition_name}</b> 距作品提交结束日期仅剩3天,若尚未提交参赛作品,请尽快提交', notification_url: '{to_url}') |
|
|
|
self.create(type: 'MessageTemplate::CompetitionReview', sys_notice: '你报名的竞赛 <b>{competition_name}</b> 距作品提交结束日期仅剩3天,若尚未提交参赛作品,请尽快提交', notification_url: '{to_url}') |
|
|
|
end |
|
|
|
|
|
|
|
def self.sys_notice |
|
|
|
|