|
|
@ -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
|
|
|
|