sonar代码检测

dev_static
cxt 5 years ago
parent 6b6ea7d06d
commit c4655fc48e

@ -225,7 +225,7 @@ class GraduationTasksController < ApplicationController
} }
attachment = work.attachments.last attachment = work.attachments.last
if attachment if attachment
o[:downloadUrl] = "https://#{Setting.host_name}/"+download_url(attachment) o[:downloadUrl] = "https://#{edu_setting('host_name')}/"+download_url(attachment)
end end
o o

Loading…
Cancel
Save