diff --git a/main.py b/main.py index 1367e3a..11b5f5c 100644 --- a/main.py +++ b/main.py @@ -4030,7 +4030,7 @@ async def fastapi_pressure_sensor_placement_kmeans( # 后续改进:合并两个接口为一个,增加method、sensor_type参数选择方法 -@app.get("/sensorplacementscheme/create") +@app.post("/sensorplacementscheme/create") async def fastapi_pressure_sensor_placement( network: str = Query(...), scheme_name: str = Query(...),