Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mancheng
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
mancheng
Commits
f41aa9b9
Commit
f41aa9b9
authored
Mar 19, 2023
by
dong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix20230319
parent
7dedb6bd
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
apps/utils/neo4j_conn.py
+2
-2
apps/view_atlas/view_es_con.py
+1
-0
No files found.
apps/utils/neo4j_conn.py
View file @
f41aa9b9
...
...
@@ -3,8 +3,8 @@ from py2neo import Graph
def
conn_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:7475", username="neo4j", password="century-english-almanac-havana-golf-9040") # 太原的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,测试是借用
return
graph
...
...
apps/view_atlas/view_es_con.py
View file @
f41aa9b9
...
...
@@ -720,6 +720,7 @@ def find_next():
current_app
.
logger
.
error
(
e
)
return
jsonify
(
code
=
RET
.
DBERR
,
msg
=
"数据异常"
,
data
=
{})
# 企业供应链地图
@api_atlas.route
(
"/SupplyChain/Map"
,
methods
=
[
'POST'
])
def
get_semic_map
():
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment