更换成测试人员手机号

dev_admin
cxt 6 years ago
parent ff00e7491b
commit 081f63b267

@ -69,7 +69,7 @@ class Users::UpdateAccountService < ApplicationService
end
def sms_notify_admin
Educoder::Sms.send(mobile:'18175896138', send_type:'teacher_register', name:'管理员')
Educoder::Sms.send(mobile:'18182021083', send_type:'teacher_register', name:'管理员')
rescue => ex
Util.logger_error(ex)
end

@ -21,7 +21,7 @@ module Educoder
def self.notify_admin(opt)
opt[:name] = '管理员'
opt[:mobile] = ENV['NOTIFY_ADMIN_PHONE'] || EduSetting.get('notify_admin_phone') || '18711085785'
opt[:mobile] = ENV['NOTIFY_ADMIN_PHONE'] || EduSetting.get('notify_admin_phone') || '18182021083'
send(opt)
end

Loading…
Cancel
Save