Refine
This commit is contained in:
2
main.py
2
main.py
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user