From 7880aba58099f8e3decd990748a1ef2575ddbab6 Mon Sep 17 00:00:00 2001 From: JIANG Date: Mon, 3 Nov 2025 18:04:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0API?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(...),