试用授权的审批短信发送手机号变更

dev_partners
cxt 6 years ago
parent e2669b8e78
commit f6e533c6b6

@ -1060,7 +1060,7 @@ class AccountController < ApplicationController
unless apply_action.present? unless apply_action.present?
ApplyAction.create(:user_id => User.current.id, :status => 0, :ip_addr => request.remote_ip, :container_type => "TrialAuthorization", :apply_reason => params[:apply_reason]) ApplyAction.create(:user_id => User.current.id, :status => 0, :ip_addr => request.remote_ip, :container_type => "TrialAuthorization", :apply_reason => params[:apply_reason])
begin begin
status = Trustie::Sms.send(mobile:18175896138, send_type:'user_apply_auth',name:'管理员' ) status = Trustie::Sms.send(mobile:17680641960, send_type:'user_apply_auth',name:'管理员' )
rescue => e rescue => e
Rails.logger.error "发送验证码出错: #{e}" Rails.logger.error "发送验证码出错: #{e}"
end end

Loading…
Cancel
Save