mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 20:00:49 +08:00
4 lines
179 B
Ruby
4 lines
179 B
Ruby
json.(excellent_project, :id, :title, :url)
|
|
project_common = $redis_cache.hgetall("v2-project-common:#{excellent_project&.uuid}")
|
|
json.visits (project_common['visits'] || 0).to_i
|