修复:代码溯源跳转地址修改

This commit is contained in:
yystopf 2022-07-25 11:00:07 +08:00
parent 56b1110e4d
commit db4e98ec37
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ class Traces::ProjectsController < Traces::BaseController
return render :json => {left_tasks_count: 5, data: []} if current_user.trace_user.nil?
code, data, error = Trace::CheckResultService.call(current_user.trace_token, @project, nil, page, limit)
if code == 200
render :json => {left_tasks_count: 5 - @project.user_trace_tasks.size, data: data, view_base: "#{Trace.trace_config[:view_domain]}/analysis/analysis-results/" }
render :json => {left_tasks_count: 5 - @project.user_trace_tasks.size, data: data, view_base: "#{Trace.trace_config[:view_domain]}/analysis_ccf/analysis-results/" }
else
render_error("获取检测记录失败 Error:#{error}")
end