Commit 7aca8b8b authored by 李尚科's avatar 李尚科

fix

parent 59ed3a84
......@@ -71,7 +71,7 @@ class CallriskService extends Service {
const { ctx } = this;
let basics = await ctx.prometheusModel.CreditCallriskReport.one({ where: { id: report_id } });
let basics = await ctx.prometheusModel.CreditCallriskReport.one({ where: { id: report_id, user_id: ctx.userId } });
if (!basics || !basics.id) {
ctx.failed('error report_id');
}
......
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