1.补充数据加到error表中,推理的改回之前的

This commit is contained in:
whm
2026-03-16 10:59:18 +08:00
parent 65744e28dd
commit d80dd0f5ec
5 changed files with 66 additions and 22 deletions

View File

@@ -613,8 +613,8 @@ def refresh_today_data(request: TodayDataRequest, db: Session = Depends(get_db))
return DataResponse(
code=ResponseCode.QUERY_FAILED,
message=f"定时任务触发失败:{str(e)}",
total=len(daily_data),
data={}
total=0,
data=[]
)
# account_id获取所有断面数据
@router.post("/get_all_section_by_account", response_model=DataResponse)