From 33119a8200e67f8d71200c9ff5539fa5e09f4849 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 17 Jan 2026 23:33:43 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A2=84=E7=BA=A6:=20=E5=9B=9E=E9=80=80?= =?UTF-8?q?=E6=88=90=E5=8A=9F=E5=90=8E=E6=9B=B4=E6=96=B0=E6=98=A0=E5=B0=84?= =?UTF-8?q?=E8=A1=A8=E6=96=87=E4=BB=B6=E4=BB=A5=E8=A6=86=E7=9B=96=E5=8E=9F?= =?UTF-8?q?=E6=9C=AC=E7=9A=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- douyin/reservation/douyin_reservation_handler.py | 6 ++++++ 1 file changed, 6 insertions(+) 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]