更新API请求体,移除不必要的请求参数

This commit is contained in:
2026-03-13 15:23:02 +08:00
parent b513d05611
commit cfe69e581b
18 changed files with 61 additions and 61 deletions
+1 -1
View File
@@ -320,7 +320,7 @@ async def fastapi_get_all_valve_properties(
async def fastapi_set_valve_properties(
network: str = Query(..., description="管网名称(或数据库名称)"),
valve: str = Query(..., description="阀门ID"),
req: Request = Body(..., description="请求体,包含要更新的属性"),
req: Request = None,
) -> ChangeSet:
"""
批量设置阀门的属性。