Commit fa9bbc3e by 赵宇

fix

parent 58036392
...@@ -3,10 +3,16 @@ from py2neo import Graph ...@@ -3,10 +3,16 @@ from py2neo import Graph
def conn_neo4j(): def conn_neo4j():
# graph = Graph("http://localhost:7474", username="neo4j", password="123456") # graph = Graph("http://localhost:7474", username="neo4j", password="123456")
graph = Graph("http://localhost:7476", username="neo4j", password="neo4j") graph = Graph("http://localhost:7476", username="neo4j", password="123456")
return graph return graph
def neo4j_dict(): def neo4j_dict():
ptp = {"煤层气开采储运利用": "煤层气开采储运利用"} ptp = {"煤层气开采储运利用": "煤层气开采储运利用",
"光机电": "光机电",
"光学镜头": "光学镜头",
"硬质合金": "硬质合金",
"工业机器人": "工业机器人",
"碳基新材料": "碳基新材料"
}
return ptp return ptp
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