This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
Gitlink
/
forgeplus
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
16
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
添加了对区块链上仓库基本信息的查询
pull/324/head
zhangxunhui
3 years ago
parent
bbe8407311
commit
c5314f7439
1 changed files
with
17 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+17
-0
app/queries/blockchain/repo_basic_info.rb
+ 17
- 0
app/queries/blockchain/repo_basic_info.rb
View File
@@ -0,0 +1,17 @@
class Blockchain::RepoBasicInfo < ApplicationQuery
attr_reader :params, :is_current_admin_user
def initialize(params)
@params = params
end
def call
info = find_blockchain_repo_info(params[:project_id].to_s)
if info == false
return false
else
return info
end
end
end
Write
Preview
Loading…
Cancel
Save