Commit f41aa9b9 by dong

fix20230319

parent 7dedb6bd
...@@ -3,8 +3,8 @@ from py2neo import Graph ...@@ -3,8 +3,8 @@ from py2neo import Graph
def conn_neo4j(): def conn_neo4j():
# graph = Graph("http://localhost:7474", username="neo4j", password="123456") # 本地neo4j # graph = Graph("http://localhost:7474", username="neo4j", password="123456") # 本地neo4j
graph = Graph("http://39.100.39.50:7476", username="neo4j", password="123456") # 50服务器上的neo4j时使用 # graph = Graph("http://39.100.39.50:7476", username="neo4j", password="123456") # 50服务器上的neo4j时使用
# graph = Graph("http://39.100.39.50:7475", username="neo4j", password="century-english-almanac-havana-golf-9040") # 太原的neo4j,测试是借用 graph = Graph("http://39.100.39.50:7475", username="neo4j", password="century-english-almanac-havana-golf-9040") # 太原的neo4j,测试是借用
return graph return graph
......
...@@ -720,6 +720,7 @@ def find_next(): ...@@ -720,6 +720,7 @@ def find_next():
current_app.logger.error(e) current_app.logger.error(e)
return jsonify(code=RET.DBERR, msg="数据异常", data={}) return jsonify(code=RET.DBERR, msg="数据异常", data={})
# 企业供应链地图 # 企业供应链地图
@api_atlas.route("/SupplyChain/Map", methods=['POST']) @api_atlas.route("/SupplyChain/Map", methods=['POST'])
def get_semic_map(): def get_semic_map():
......
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