精确撤回上课记录并改为脚本登记
This commit is contained in:
@@ -88,6 +88,9 @@ def admin_rollback_operation_log(log_id: str, _user: str = Depends(verify_admin_
|
||||
target_backup_id=str(result.get("target_backup_id") or ""),
|
||||
backup_id=str(result.get("backup_id") or ""),
|
||||
restored_files=result.get("restored_files") or [],
|
||||
rollback_mode=str(result.get("rollback_mode") or ""),
|
||||
removed_lines=result.get("removed_lines") or [],
|
||||
restored_hours=result.get("restored_hours") or "",
|
||||
)
|
||||
except ValueError as exc:
|
||||
raise HTTPException(status_code=409, detail=str(exc)) from exc
|
||||
|
||||
Reference in New Issue
Block a user