Commit cc515f10 authored by Hsinli's avatar Hsinli

addd

parent 0e76eb70
Pipeline #13547 passed with stage
in 23 seconds
...@@ -47,6 +47,9 @@ class BlacklistService extends Service { ...@@ -47,6 +47,9 @@ class BlacklistService extends Service {
ctx.failed('登录异常'); ctx.failed('登录异常');
} }
let reportData = await ctx.prometheusModel.CreditBlacklistReport.findOne({ where: { id: id } }); let reportData = await ctx.prometheusModel.CreditBlacklistReport.findOne({ where: { id: id } });
if (reportData === null) {
ctx.failed('该报告不存在');
}
let ret = { let ret = {
basic: { basic: {
risk_index: '', risk_index: '',
......
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