添加了对区块链项目基本信息的查询函数
This commit is contained in:
parent
18a900a07e
commit
2f6c568688
|
@ -63,4 +63,14 @@ class ApplicationQuery
|
||||||
return resp_body
|
return resp_body
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# query the basic info of a repository
|
||||||
|
def find_blockchain_repo_info(project_id)
|
||||||
|
param = {
|
||||||
|
"request-type": "query repo basic info",
|
||||||
|
"token_name": project_id.to_s
|
||||||
|
}.to_json
|
||||||
|
resp_body = invoke_blockchain_api(Blockchain.blockchain_config[:api_url], param)
|
||||||
|
return resp_body
|
||||||
|
end
|
||||||
|
|
||||||
end
|
end
|
Loading…
Reference in New Issue