This commit is contained in:
王思川 2022-10-09 14:18:23 +08:00
parent 3196af70fb
commit 27c4e21160
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ app.add_middleware(
) )
@app.post("/api/indicator_calculator/execute/", summary='输入参数,计算指标数值', description='接口描述', tags=['计算指标数值']) @app.post("/api/003/indicator_calculator/execute/", summary='输入参数,计算指标数值', description='接口描述', tags=['计算指标数值'])
async def root(item: Item): async def root(item: Item):
func_name = item.func_name func_name = item.func_name
func_args = json.loads(json.dumps(eval(item.func_args))) func_args = json.loads(json.dumps(eval(item.func_args)))