|
|
|
@ -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']}"
|
|
|
|
|