|
|
|
@@ -14,12 +14,12 @@ class InfoRiskControlService < ApplicationService |
|
|
|
def call |
|
|
|
if receiver == "" |
|
|
|
remote_ip_minute_risk_control |
|
|
|
remote_ip_risk_control if @status = 1 |
|
|
|
remote_ip_risk_control if @status == 1 |
|
|
|
else |
|
|
|
remote_ip_minute_risk_control |
|
|
|
remote_ip_risk_control if @status = 1 |
|
|
|
minute_risk_control |
|
|
|
day_risk_control if @status = 1 |
|
|
|
remote_ip_risk_control if @status == 1 |
|
|
|
minute_risk_control |
|
|
|
day_risk_control if @status == 1 |
|
|
|
end |
|
|
|
|
|
|
|
return @status, @message |
|
|
|
|