diff --git a/douyin/reservation/douyin_reservation_handler.py b/douyin/reservation/douyin_reservation_handler.py index d80026a..c202f19 100644 --- a/douyin/reservation/douyin_reservation_handler.py +++ b/douyin/reservation/douyin_reservation_handler.py @@ -702,6 +702,12 @@ class ReservationHandler: # 回退过程中只执行回退操作,不进行校验;校验将在 process_reservation_attend_window 中统一进行。 # 只有在实际执行了滑动(moved=True)时返回 True,避免在未移动时被误判为“回退成功”。 + if moved: + # 回退成功后,更新映射表文件以覆盖原本的 + try: + _dump_room_pos_map_to_state(analyser) + except Exception: + pass return bool(moved) @staticmethod # type: ignore[misc]