1.补充数据加到error表中,推理的改回之前的
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user