mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-02 19:30:48 +08:00
fixed 群智熵汇聚
This commit is contained in:
@@ -145,17 +145,17 @@ module ProjectsHelper
|
|||||||
url = EduSetting.get("ai_shang_url") || "https://shang.gitlink.org.cn"
|
url = EduSetting.get("ai_shang_url") || "https://shang.gitlink.org.cn"
|
||||||
case project.identifier.to_s.downcase
|
case project.identifier.to_s.downcase
|
||||||
when nil then ""
|
when nil then ""
|
||||||
when 'rails' then "#{url}/v1/rails/entropy"
|
# when 'rails' then "#{url}/v1/rails/entropy"
|
||||||
when 'jittor' then "#{url}/v1/jittor/entropy"
|
# when 'jittor' then "#{url}/v1/jittor/entropy"
|
||||||
when 'paddle' then "#{url}/v1/Paddle/entropy"
|
# when 'paddle' then "#{url}/v1/Paddle/entropy"
|
||||||
when 'vue' then "#{url}/v1/vue/entropy"
|
# when 'vue' then "#{url}/v1/vue/entropy"
|
||||||
when 'bootstrap' then "#{url}/v1/bootstrap/entropy"
|
# when 'bootstrap' then "#{url}/v1/bootstrap/entropy"
|
||||||
when 'tensorflow' then "#{url}/v1/tensorflow/entropy"
|
# when 'tensorflow' then "#{url}/v1/tensorflow/entropy"
|
||||||
when 'kernel' then "#{url}/v1/openeuler/entropy"
|
# when 'kernel' then "#{url}/v1/openeuler/entropy"
|
||||||
when 'opengauss-server' then "#{url}/v1/opengauss/entropy"
|
# when 'opengauss-server' then "#{url}/v1/opengauss/entropy"
|
||||||
when 'mindspore' then "#{url}/v1/mindspore/entropy"
|
# when 'mindspore' then "#{url}/v1/mindspore/entropy"
|
||||||
when 'openharmony' then "#{url}/api/openharmony/entropy"
|
when 'openharmony-kernel' then "#{url}/api/openharmony/entropy"
|
||||||
when 'openeuler' then "#{url}/api/openeuler/entropy"
|
when 'kernel' then "#{url}/api/openeuler/entropy"
|
||||||
when 'xiuos' then "#{url}/api/xiuos/entropy"
|
when 'xiuos' then "#{url}/api/xiuos/entropy"
|
||||||
else ''
|
else ''
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user