changes
This commit is contained in:
parent
e4f319cf4f
commit
be444a7f6b
|
@ -440,11 +440,11 @@ def func(rating_flow_id: str, db: Session = Depends(get_db), mongodb: MongoHelpe
|
|||
index_values.update({index.get("指标"): list(params_dict.values())[0]})
|
||||
continue
|
||||
# 检查指标仓库是否存在该指标
|
||||
index_info = request_to_get(
|
||||
url="http://test.fecribd.com/api/index_store/view_by_ename/{}".format(index.get("指标"))
|
||||
)
|
||||
if not index_info:
|
||||
raise HTTPException(status_code=202, detail="Index: 【{}】 Not Found In IndexStore".format(index.get("中文")))
|
||||
# index_info = request_to_get(
|
||||
# url="http://test.fecribd.com/api/index_store/view_by_ename/{}".format(index.get("指标"))
|
||||
# )
|
||||
# if not index_info:
|
||||
# raise HTTPException(status_code=202, detail="Index: 【{}】 Not Found In IndexStore".format(index.get("中文")))
|
||||
# 请求指标计算接口
|
||||
index_value = request_to_post(
|
||||
url="http://test.fecribd.com/api/index_function/{}".format(index.get("指标")),
|
||||
|
|
Loading…
Reference in New Issue