更新Company页面的UI为FUI风格
This commit is contained in:
6
app.py
6
app.py
@@ -11046,10 +11046,10 @@ def get_events_by_mainline():
|
||||
concept_hierarchy_map = {} # { concept_name: { lv1, lv2, lv1_id, lv2_id } }
|
||||
|
||||
try:
|
||||
# 内部调用 concept-api
|
||||
# 调用 concept-api 获取层级结构
|
||||
hierarchy_resp = requests.get(
|
||||
'http://127.0.0.1:6801/hierarchy',
|
||||
timeout=5
|
||||
'https://api.valuefrontier.cn/concept-api/hierarchy',
|
||||
timeout=10
|
||||
)
|
||||
if hierarchy_resp.status_code == 200:
|
||||
hierarchy_data = hierarchy_resp.json()
|
||||
|
||||
Reference in New Issue
Block a user