手机验证码模版调整

dev_forum
cxt 5 years ago
parent c6d6b44660
commit db6f5e2830

@ -36,7 +36,7 @@ module Educoder
params['mobile'] = mobile
params['text'] = ""
if send_type.nil?
params['text'] = "【Edu实训】" + code + "(手机验证码)。如非本人操作,请忽略。"
params['text'] = "【Edu实训】" + code + "(手机验证码)有效期为10分钟。如非本人操作,请忽略。"
elsif send_type == 'competition_start'
params['text'] = "【Edu实训】亲爱的#{user_name},你参与的#{name}将于#{result}开始,请及时参赛"
Rails.logger.info "#{params['text']}"

Loading…
Cancel
Save