From a247c3ae46893e22085f92eb6c92a90296d506c2 Mon Sep 17 00:00:00 2001 From: xxq250 Date: Fri, 8 Nov 2024 13:35:23 +0800 Subject: [PATCH] =?UTF-8?q?fixed=20=E7=BE=A4=E6=99=BA=E7=86=B5=E6=B1=87?= =?UTF-8?q?=E8=81=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/helpers/projects_helper.rb | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/app/helpers/projects_helper.rb b/app/helpers/projects_helper.rb index bb30a01d4..68baef400 100644 --- a/app/helpers/projects_helper.rb +++ b/app/helpers/projects_helper.rb @@ -145,17 +145,17 @@ module ProjectsHelper url = EduSetting.get("ai_shang_url") || "https://shang.gitlink.org.cn" case project.identifier.to_s.downcase when nil then "" - when 'rails' then "#{url}/v1/rails/entropy" - when 'jittor' then "#{url}/v1/jittor/entropy" - when 'paddle' then "#{url}/v1/Paddle/entropy" - when 'vue' then "#{url}/v1/vue/entropy" - when 'bootstrap' then "#{url}/v1/bootstrap/entropy" - when 'tensorflow' then "#{url}/v1/tensorflow/entropy" - when 'kernel' then "#{url}/v1/openeuler/entropy" - when 'opengauss-server' then "#{url}/v1/opengauss/entropy" - when 'mindspore' then "#{url}/v1/mindspore/entropy" - when 'openharmony' then "#{url}/api/openharmony/entropy" - when 'openeuler' then "#{url}/api/openeuler/entropy" + # when 'rails' then "#{url}/v1/rails/entropy" + # when 'jittor' then "#{url}/v1/jittor/entropy" + # when 'paddle' then "#{url}/v1/Paddle/entropy" + # when 'vue' then "#{url}/v1/vue/entropy" + # when 'bootstrap' then "#{url}/v1/bootstrap/entropy" + # when 'tensorflow' then "#{url}/v1/tensorflow/entropy" + # when 'kernel' then "#{url}/v1/openeuler/entropy" + # when 'opengauss-server' then "#{url}/v1/opengauss/entropy" + # when 'mindspore' then "#{url}/v1/mindspore/entropy" + when 'openharmony-kernel' then "#{url}/api/openharmony/entropy" + when 'kernel' then "#{url}/api/openeuler/entropy" when 'xiuos' then "#{url}/api/xiuos/entropy" else '' end