mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-02 19:30:48 +08:00
新增:转账记录使用json builder以及贡献者新增贡献占比
This commit is contained in:
@@ -20,7 +20,7 @@ class Blockchain::BalanceQuery < ApplicationQuery
|
||||
if owner.nil? || project.nil?
|
||||
else
|
||||
balance = t['balance']
|
||||
result_list << [owner, project, balance]
|
||||
result_list << {project: project, balance: balance}
|
||||
end
|
||||
end
|
||||
results = {"status": 0, "projects": result_list}
|
||||
|
||||
Reference in New Issue
Block a user