Commit aff9d403 by lyh3024

Merge branch 'develop' into 'master'

add properties

See merge request lyh3024/knowledge_graph!15
parents c8acf85e d0535543
...@@ -72,7 +72,7 @@ def get_block_list(request): ...@@ -72,7 +72,7 @@ def get_block_list(request):
# 账户 # 账户
transactions = [] transactions = []
for a in accounts: for a in accounts:
resp_nodes.append(gen_node_with_properties_json(a, {"dealNum": deal_amount_dict.get(a.address)})) resp_nodes.append(gen_node_with_properties_json(a, {"dealAmount": deal_amount_dict.get(a.address)}))
node_ids.append(a.id) node_ids.append(a.id)
next_nodes = a.transfer_out.all() next_nodes = a.transfer_out.all()
for next_node in next_nodes: for next_node in next_nodes:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment