更新API
This commit is contained in:
2
main.py
2
main.py
@@ -4030,7 +4030,7 @@ async def fastapi_pressure_sensor_placement_kmeans(
|
|||||||
|
|
||||||
|
|
||||||
# 后续改进:合并两个接口为一个,增加method、sensor_type参数选择方法
|
# 后续改进:合并两个接口为一个,增加method、sensor_type参数选择方法
|
||||||
@app.get("/sensorplacementscheme/create")
|
@app.post("/sensorplacementscheme/create")
|
||||||
async def fastapi_pressure_sensor_placement(
|
async def fastapi_pressure_sensor_placement(
|
||||||
network: str = Query(...),
|
network: str = Query(...),
|
||||||
scheme_name: str = Query(...),
|
scheme_name: str = Query(...),
|
||||||
|
|||||||
Reference in New Issue
Block a user