This commit is contained in:
DingZQ
2025-04-15 21:38:37 +08:00
parent e9b01a5b50
commit 22c2351690

View File

@@ -2319,7 +2319,7 @@ async def fastapi_query_all_records_by_time(querytime: str) -> dict[str, list]:
"links": results[1] } "links": results[1] }
@app.get("/queryallrecordsbydate/") @app.get("/queryallrecordsbydate/")
async def fastapi_query_all_records_by_date(querydate: str) -> dict[str, list]: async def fastapi_query_all_records_by_date(querydate: str) -> dict:
# 缓存查询结果提高性能 # 缓存查询结果提高性能
global redis_client global redis_client