Commit f038c111 authored by Hsinli's avatar Hsinli

add

parent bde9507c
Pipeline #14244 passed with stage
in 11 seconds
...@@ -153,7 +153,7 @@ class BlacklistService extends Service { ...@@ -153,7 +153,7 @@ class BlacklistService extends Service {
ret.basic.risk_index = blacklistScore + dtScore + idScore + appScore; ret.basic.risk_index = blacklistScore + dtScore + idScore + appScore;
//风险标准计算 //风险标准计算
let riskLevel = 'low'; let riskLevel = 'low';
if (ret.blacklist_of_internet_loans === 1 || ret.blacklist_of_court_dishonesty === 1 || ret.basic.risk_index >= 50 || dtScore === 30) { if (ret.blacklist.blacklist_of_internet_loans === 1 || ret.blacklist.blacklist_of_court_dishonesty === 1 || ret.blacklist.blacklist_of_industry === 1 || ret.basic.risk_index >= 50 || dtScore === 30) {
riskLevel = 'high'; riskLevel = 'high';
} else if (ret.basic.risk_index >= 20 && ret.basic.risk_index < 50) { } else if (ret.basic.risk_index >= 20 && ret.basic.risk_index < 50) {
riskLevel = 'medium'; riskLevel = 'medium';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment