diff --git a/.stats_test_cache.json b/.stats_test_cache.json deleted file mode 100644 index 231af1b..0000000 --- a/.stats_test_cache.json +++ /dev/null @@ -1 +0,0 @@ -{"ts": 1765641063.2151546, "counters": {"fudai_seen": 1, "fudai_open_detail": 1, "fudai_click_attend": 1, "fudai_attend_ok": 1, "fudai_result_win": 1}, "fudai_last": {"content": "测试内容A", "countdown": "10:00后开奖", "participants": 123, "copies": 5, "prize_value_yuan": 199.0, "updated_ts": 1765641063.1966858}, "events": [{"ts": 1765641063.1946857, "type": "fudai_seen", "meta": {"content": "测试内容A", "countdown": "", "participants": null, "copies": null, "prize_value_yuan": null}}, {"ts": 1765641063.1966858, "type": "fudai_open_detail", "meta": {"content": "测试内容A", "countdown": "10:00后开奖", "participants": 123, "copies": 5, "prize_value_yuan": 199.0}}, {"ts": 1765641063.1966858, "type": "fudai_click_attend", "meta": {"content": "测试内容A", "countdown": "10:00后开奖", "participants": 123, "copies": 5, "prize_value_yuan": 199.0}}, {"ts": 1765641063.1966858, "type": "fudai_attend_ok", "meta": {"content": "测试内容A", "countdown": "10:00后开奖", "participants": 123, "copies": 5, "prize_value_yuan": 199.0}}, {"ts": 1765641063.1966858, "type": "fudai_result_win", "meta": {"content": "测试内容A", "countdown": "10:00后开奖", "participants": 123, "copies": 5, "prize_value_yuan": 199.0}}], "wins": [{"ts": 1765641063.1966858, "content": "测试内容A", "countdown": "10:00后开奖", "participants": 123, "copies": 5, "prize_value_yuan": 199.0}]} diff --git a/.web_gui_pid b/.web_gui_pid deleted file mode 100644 index ae7f965..0000000 --- a/.web_gui_pid +++ /dev/null @@ -1 +0,0 @@ -21948 diff --git a/.web_stats_cache.json b/.web_stats_cache.json deleted file mode 100644 index 1079ee0..0000000 --- a/.web_stats_cache.json +++ /dev/null @@ -1 +0,0 @@ -{"ts": 1765685532.6116447, "counters": {"fudai_open_detail": 74, "fudai_seen": 80, "fudai_skip_value_low": 28, "fudai_open_error": 8, "switch_room": 40, "switch_room_no_fudai": 28, "fudai_skip_countdown_short": 3, "switch_room_countdown": 3, "switch_room_value": 8, "fudai_click_attend": 2, "fudai_result_no_win": 2}, "fudai_last": {"content": "【粉丝专属】iPhone17手机256G颜色随机", "countdown": "14:29后开奖", "participants": 2132, "copies": 1, "prize_value_yuan": 5999.0, "updated_ts": 1765684579.3024325}, "events": [{"ts": 1765641806.1646142, "type": "fudai_open_detail", "meta": {"content": "", "countdown": "", "participants": null, "copies": null, "prize_value_yuan": null}}, {"ts": 1765641813.7004516, "type": "fudai_seen", "meta": {"content": "【懒猫nono专属】海蓝之谜精萃水沁润15ml补水保湿...", "countdown": "", "participants": null, "copies": null, "prize_value_yuan": null}}, {"ts": 1765641815.2687662, "type": "fudai_skip", "meta": {"reason": "value_low", "content": "【懒猫nono专属】海蓝之谜精萃水沁润15ml补水保湿...", "countdown": "07:19后开奖", "participants": 32, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765641819.8364112, "type": "fudai_open_detail", "meta": {"content": "【懒猫nono专属】海蓝之谜精萃水沁润15ml补水保湿...", "countdown": "07:19后开奖", "participants": 32, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765641826.9612343, "type": "fudai_seen", "meta": {"content": "【懒猫nono专属】海蓝之谜精萃水沁润15ml补水保湿...", "countdown": "07:19后开奖", "participants": 32, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765641829.2069504, "type": "fudai_skip", "meta": {"reason": "value_low", "content": "【懒猫nono专属】海蓝之谜精萃水沁润15ml补水保湿...", "countdown": "04:07", "participants": 34, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765641833.980556, "type": "fudai_open_detail", "meta": {"content": "【懒猫nono专属】海蓝之谜精萃水沁润15ml补水保湿...", "countdown": "04:07", "participants": 34, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765641841.1970615, "type": "fudai_seen", "meta": {"content": "【懒猫nono专属】海蓝之谜精萃水沁润15ml补水保湿...", "countdown": "04:07", "participants": 34, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765641842.785327, "type": "fudai_skip", "meta": {"reason": "value_low", "content": "【懒猫nono专属】海蓝之谜精萃水沁润15ml补水保湿...", "countdown": "06:50后开奖", "participants": 34, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765641848.7064586, "type": "fudai_open_detail", "meta": {"content": "【懒猫nono专属】海蓝之谜精萃水沁润15ml补水保湿...", "countdown": "06:50后开奖", "participants": 34, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765641857.2592785, "type": "fudai_seen", "meta": {"content": "【懒猫nono专属】海蓝之谜精萃水沁润15ml补水保湿...", "countdown": "06:50后开奖", "participants": 34, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765641858.9027817, "type": "fudai_skip", "meta": {"reason": "value_low", "content": "【懒猫nono专属】海蓝之谜精萃水沁润15ml补水保湿...", "countdown": "06:35后开奖", "participants": 35, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765641863.3506944, "type": "fudai_open_detail", "meta": {"content": "【懒猫nono专属】海蓝之谜精萃水沁润15ml补水保湿...", "countdown": "06:35后开奖", "participants": 35, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765641869.6957817, "type": "fudai_seen", "meta": {"content": "【懒猫nono专属】海蓝之谜精萃水沁润15ml补水保湿...", "countdown": "06:35后开奖", "participants": 35, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765641871.0666997, "type": "fudai_skip", "meta": {"reason": "value_low", "content": "【懒猫nono专属】海蓝之谜精萃水沁润15ml补水保湿...", "countdown": "06:21", "participants": 35, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765641875.5607815, "type": "fudai_open_detail", "meta": {"content": "【懒猫nono专属】海蓝之谜精萃水沁润15ml补水保湿...", "countdown": "06:21", "participants": 35, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765641882.6100206, "type": "fudai_seen", "meta": {"content": "【懒猫nono专属】海蓝之谜精萃水沁润15ml补水保湿...", "countdown": "06:21", "participants": 35, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765641883.8911793, "type": "fudai_skip", "meta": {"reason": "value_low", "content": "【懒猫nono专属】海蓝之谜精萃水沁润15ml补水保湿...", "countdown": "06:09", "participants": 36, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765641888.1028545, "type": "fudai_open_detail", "meta": {"content": "【懒猫nono专属】海蓝之谜精萃水沁润15ml补水保湿...", "countdown": "06:09", "participants": 36, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765641894.613921, "type": "fudai_seen", "meta": {"content": "【懒猫nono专属】海蓝之谜精萃水沁润15ml补水保湿...", "countdown": "06:09", "participants": 36, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765641895.7618783, "type": "fudai_skip", "meta": {"reason": "value_low", "content": "【懒猫nono专属】海蓝之谜精萃水沁润15ml补水保湿...", "countdown": "05:57后开奖", "participants": 38, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765641899.9785337, "type": "fudai_open_detail", "meta": {"content": "【懒猫nono专属】海蓝之谜精萃水沁润15ml补水保湿...", "countdown": "05:57后开奖", "participants": 38, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765641911.0231695, "type": "fudai_seen", "meta": {"content": "【懒猫nono专属】海蓝之谜精萃水沁润15ml补水保湿...", "countdown": "05:57后开奖", "participants": 38, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765641917.407863, "type": "fudai_skip", "meta": {"reason": "value_low", "content": "【懒猫nono专属】海蓝之谜精萃水沁润15ml补水保湿...", "countdown": "05:45后开奖", "participants": 40, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765641921.8859735, "type": "fudai_open_detail", "meta": {"content": "【懒猫nono专属】海蓝之谜精萃水沁润15ml补水保湿...", "countdown": "05:45后开奖", "participants": 40, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765641928.484901, "type": "fudai_seen", "meta": {"content": "【懒猫nono专属】海蓝之谜精萃水沁润15ml补水保湿...?", "countdown": "05:45后开奖", "participants": 40, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765641929.8940105, "type": "fudai_skip", "meta": {"reason": "value_low", "content": "【懒猫nono专属】海蓝之谜精萃水沁润15ml补水保湿...?", "countdown": "05:23", "participants": 42, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765641934.5209298, "type": "fudai_open_detail", "meta": {"content": "【懒猫nono专属】海蓝之谜精萃水沁润15ml补水保湿...?", "countdown": "05:23", "participants": 42, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765641942.1214135, "type": "fudai_seen", "meta": {"content": "【懒猫nono专属】海蓝之谜精萃水沁润15ml补水保湿...", "countdown": "05:23", "participants": 42, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765641943.7291014, "type": "fudai_skip", "meta": {"reason": "value_low", "content": "【懒猫nono专属】海蓝之谜精萃水沁润15ml补水保湿...", "countdown": "05:10", "participants": 45, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765641948.3543782, "type": "fudai_open_detail", "meta": {"content": "【懒猫nono专属】海蓝之谜精萃水沁润15ml补水保湿...", "countdown": "05:10", "participants": 45, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765641954.6484, "type": "fudai_seen", "meta": {"content": "【懒猫nono专属】海蓝之谜精萃水沁润15ml补水保湿...", "countdown": "05:10", "participants": 45, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765641956.0350695, "type": "fudai_skip", "meta": {"reason": "value_low", "content": "【懒猫nono专属】海蓝之谜精萃水沁润15ml补水保湿...", "countdown": "04:56", "participants": 49, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765641960.601424, "type": "fudai_open_detail", "meta": {"content": "【懒猫nono专属】海蓝之谜精萃水沁润15ml补水保湿...", "countdown": "04:56", "participants": 49, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765641970.7799497, "type": "fudai_seen", "meta": {"content": "【懒猫nono专属】海蓝之谜精萃水沁润15ml补水保湿...", "countdown": "04:56", "participants": 49, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765641975.1128607, "type": "fudai_skip", "meta": {"reason": "value_low", "content": "【懒猫nono专属】海蓝之谜精萃水沁润15ml补水保湿...", "countdown": "04:44", "participants": 54, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765641979.8364713, "type": "fudai_open_detail", "meta": {"content": "【懒猫nono专属】海蓝之谜精萃水沁润15ml补水保湿...", "countdown": "04:44", "participants": 54, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765641988.2277842, "type": "fudai_seen", "meta": {"content": "【懒猫nono专属】海蓝之谜精萃水沁润15ml补水保湿...", "countdown": "04:44", "participants": 54, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765641990.160375, "type": "fudai_skip", "meta": {"reason": "value_low", "content": "【懒猫nono专属】海蓝之谜精萃水沁润15ml补水保湿...", "countdown": "04:25", "participants": 55, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765641994.6146042, "type": "fudai_open_detail", "meta": {"content": "【懒猫nono专属】海蓝之谜精萃水沁润15ml补水保湿...", "countdown": "04:25", "participants": 55, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765642002.9716992, "type": "fudai_seen", "meta": {"content": "【懒猫nono专属】海蓝之谜精萃水沁润15ml补水保湿...", "countdown": "04:25", "participants": 55, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765642007.506003, "type": "fudai_skip", "meta": {"reason": "value_low", "content": "【懒猫nono专属】海蓝之谜精萃水沁润15ml补水保湿...", "countdown": "04:10后开奖", "participants": 56, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765642012.1483693, "type": "fudai_open_detail", "meta": {"content": "【懒猫nono专属】海蓝之谜精萃水沁润15ml补水保湿...", "countdown": "04:10后开奖", "participants": 56, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765642020.3989222, "type": "fudai_seen", "meta": {"content": "【懒猫nono专属】海蓝之谜精萃水沁润15ml补水保湿...", "countdown": "04:10后开奖", "participants": 56, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765642025.0709348, "type": "fudai_skip", "meta": {"reason": "value_low", "content": "【懒猫nono专属】海蓝之谜精萃水沁润15ml补水保湿...", "countdown": "03:53后开奖", "participants": 59, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765642029.925698, "type": "fudai_open_detail", "meta": {"content": "【懒猫nono专属】海蓝之谜精萃水沁润15ml补水保湿...", "countdown": "03:53后开奖", "participants": 59, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765642038.903671, "type": "fudai_seen", "meta": {"content": "【懒猫nono专属】海蓝之谜精萃水沁润15ml补水保湿...", "countdown": "03:53后开奖", "participants": 59, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765642041.6635585, "type": "fudai_skip", "meta": {"reason": "value_low", "content": "【懒猫nono专属】海蓝之谜精萃水沁润15ml补水保湿...", "countdown": "03:35后开奖", "participants": 59, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765642046.2410498, "type": "fudai_open_detail", "meta": {"content": "【懒猫nono专属】海蓝之谜精萃水沁润15ml补水保湿...", "countdown": "03:35后开奖", "participants": 59, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765642053.7710354, "type": "fudai_seen", "meta": {"content": "【懒猫nono专属】海蓝之谜精萃水沁润15ml补水保湿...", "countdown": "03:35后开奖", "participants": 59, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765642057.1808536, "type": "fudai_skip", "meta": {"reason": "value_low", "content": "【懒猫nono专属】海蓝之谜精萃水沁润15ml补水保湿...", "countdown": "03:19", "participants": 59, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765642061.895285, "type": "fudai_open_detail", "meta": {"content": "【懒猫nono专属】海蓝之谜精萃水沁润15ml补水保湿...", "countdown": "03:19", "participants": 59, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765642068.8184595, "type": "fudai_seen", "meta": {"content": "【懒猫nono专属】海蓝之谜精萃水沁润15ml补水保湿...:", "countdown": "03:19", "participants": 59, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765642070.955662, "type": "fudai_skip", "meta": {"reason": "value_low", "content": "【懒猫nono专属】海蓝之谜精萃水沁润15ml补水保湿...:", "countdown": "03:03", "participants": 64, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765642075.7010012, "type": "fudai_open_detail", "meta": {"content": "【懒猫nono专属】海蓝之谜精萃水沁润15ml补水保湿...:", "countdown": "03:03", "participants": 64, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765642083.4287796, "type": "fudai_seen", "meta": {"content": "【懒猫nono专属】海蓝之谜精萃水沁润15ml补水保湿...:", "countdown": "03:03", "participants": 64, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765642089.416829, "type": "fudai_skip", "meta": {"reason": "value_low", "content": "【懒猫nono专属】海蓝之谜精萃水沁润15ml补水保湿...:", "countdown": "02:49后开奖", "participants": 64, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765642094.6059554, "type": "fudai_open_detail", "meta": {"content": "【懒猫nono专属】海蓝之谜精萃水沁润15ml补水保湿...:", "countdown": "02:49后开奖", "participants": 64, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765642101.880727, "type": "fudai_seen", "meta": {"content": "【懒猫nono专属】海蓝之谜精萃水沁润15ml补水保湿...:", "countdown": "02:49后开奖", "participants": 64, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765642106.1927557, "type": "fudai_skip", "meta": {"reason": "value_low", "content": "【懒猫nono专属】海蓝之谜精萃水沁润15ml补水保湿...:", "countdown": "02:30", "participants": 66, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765642110.9327767, "type": "fudai_open_detail", "meta": {"content": "【懒猫nono专属】海蓝之谜精萃水沁润15ml补水保湿...:", "countdown": "02:30", "participants": 66, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765642138.4833968, "type": "fudai_open_detail", "meta": {"content": "【懒猫nono专属】海蓝之谜精萃水沁润15ml补水保湿...:", "countdown": "02:30", "participants": 66, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765642150.4977531, "type": "fudai_seen", "meta": {"content": "本5由10·161cm下单1号商品.41kg点击右下角了吗清晰度切换建议蓝光观看", "countdown": "02:30", "participants": 66, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765642161.6565473, "type": "fudai_seen", "meta": {"content": "=买5由10161cm亮片鹅绒服41kg点击右下角下单28号商品清晰度切换建议蓝光观看", "countdown": "真好看7X", "participants": 66, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765642165.0781605, "type": "fudai_open_error", "meta": {"content": "=买5由10161cm亮片鹅绒服41kg点击右下角下单28号商品清晰度切换建议蓝光观看", "countdown": "", "participants": 66, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765642169.2564404, "type": "fudai_open_detail", "meta": {"content": "=买5由10161cm亮片鹅绒服41kg点击右下角下单28号商品清晰度切换建议蓝光观看", "countdown": "", "participants": 66, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765642177.1104836, "type": "fudai_seen", "meta": {"content": "保买5色0161cm.41kg点击右下角下单22号商品清晰度切换建议蓝光观看", "countdown": "", "participants": 66, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765642184.1507268, "type": "fudai_seen", "meta": {"content": "保买5由15.161cm短款看看.41kg点击右下角猫猫项链什么的?有吗清晰度切换建议蓝光观看", "countdown": "", "participants": 66, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765642186.4430885, "type": "fudai_open_error", "meta": {"content": "保买5由15.161cm短款看看.41kg点击右下角猫猫项链什么的?有吗清晰度切换建议蓝光观看", "countdown": "", "participants": 66, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765642191.4219933, "type": "fudai_open_detail", "meta": {"content": "保买5由15.161cm短款看看.41kg点击右下角猫猫项链什么的?有吗清晰度切换建议蓝光观看", "countdown": "", "participants": 66, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765642199.355485, "type": "fudai_seen", "meta": {"content": "保火5国5161cm有深色就好了.41kg点击右下角鹅绒裤喇叭裤清晰度切换建议蓝光观看", "countdown": "", "participants": 66, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765642204.4233127, "type": "fudai_seen", "meta": {"content": "161cm小个子皮衣,等了一晚41kg点击右下角商品清晰度切换建议蓝光观看", "countdown": "", "participants": 66, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765642205.8118262, "type": "fudai_open_error", "meta": {"content": "161cm小个子皮衣,等了一晚41kg点击右下角商品清晰度切换建议蓝光观看", "countdown": "", "participants": 66, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765642209.8793645, "type": "fudai_open_detail", "meta": {"content": "161cm小个子皮衣,等了一晚41kg点击右下角商品清晰度切换建议蓝光观看", "countdown": "", "participants": 66, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765642219.0018735, "type": "fudai_seen", "meta": {"content": "·161cm小个子皮衣,等了一晚.41kg点击右下角短款清晰度切换建议蓝光观看", "countdown": "", "participants": 66, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765642223.9893112, "type": "fudai_seen", "meta": {"content": "露洁色修锁活舱牙膏", "countdown": "", "participants": 66, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765642225.5172098, "type": "fudai_open_error", "meta": {"content": "露洁色修锁活舱牙膏", "countdown": "9.9", "participants": 66, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765642238.2340302, "type": "fudai_open_detail", "meta": {"content": "露洁色修锁活舱牙膏", "countdown": "9.9", "participants": 66, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765642245.5184321, "type": "fudai_seen", "meta": {"content": "古法黄金色手工编织爆款小胖福吊坠项链:", "countdown": "9.9", "participants": 66, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765644133.238689, "type": "fudai_open_detail", "meta": {"content": "古法黄金色手工编织爆款小胖福吊坠项链:", "countdown": "07:57", "participants": 21, "copies": 1, "prize_value_yuan": 1999.0}}, {"ts": 1765644141.2824533, "type": "fudai_seen", "meta": {"content": "谨防网络诈骗。实际下载应用巴,被焦作的带偏了", "countdown": "07:57", "participants": 21, "copies": 1, "prize_value_yuan": 1999.0}}, {"ts": 1765644146.4602735, "type": "fudai_seen", "meta": {"content": "谨防网络诈骗。实际下载应用巴,被焦作的带偏了", "countdown": "请谨慎别。1切勿", "participants": 21, "copies": 1, "prize_value_yuan": 1999.0}}, {"ts": 1765644147.5743883, "type": "fudai_open_error", "meta": {"content": "谨防网络诈骗。实际下载应用巴,被焦作的带偏了", "countdown": "请谨慎辨别。切勿", "participants": 21, "copies": 1, "prize_value_yuan": 1999.0}}, {"ts": 1765644294.0956485, "type": "fudai_open_detail", "meta": {"content": "谨防网络诈骗。实际下载应用巴,被焦作的带偏了", "countdown": "请谨慎辨别。切勿", "participants": 21, "copies": 1, "prize_value_yuan": 1999.0}}, {"ts": 1765644301.967299, "type": "fudai_seen", "meta": {"content": "到霉孩子没人接下班么下:就剩花宝一个人了", "countdown": "请谨慎辨别。切勿", "participants": 21, "copies": 1, "prize_value_yuan": 1999.0}}, {"ts": 1765644306.3315964, "type": "fudai_seen", "meta": {"content": "到霉孩子没人接下班么下:就剩花宝一个人了", "countdown": "崖防物网给FF栅·大", "participants": 21, "copies": 1, "prize_value_yuan": 1999.0}}, {"ts": 1765644308.180543, "type": "fudai_open_error", "meta": {"content": "到霉孩子没人接下班么下:就剩花宝一个人了", "countdown": "崖物网给证栅。大", "participants": 21, "copies": 1, "prize_value_yuan": 1999.0}}, {"ts": 1765644328.8164256, "type": "fudai_open_detail", "meta": {"content": "到霉孩子没人接下班么下:就剩花宝一个人了", "countdown": "崖物网给证栅。大", "participants": 21, "copies": 1, "prize_value_yuan": 1999.0}}, {"ts": 1765644337.2981572, "type": "fudai_seen", "meta": {"content": "发J发文iE下:京就剩花宝一个人了巴,被焦作的带偏了", "countdown": "崖物网给证栅。大", "participants": 21, "copies": 1, "prize_value_yuan": 1999.0}}, {"ts": 1765644342.2411447, "type": "fudai_seen", "meta": {"content": "J7UMJTU-E巴,被焦作的带偏了了E", "countdown": "", "participants": 21, "copies": 1, "prize_value_yuan": 1999.0}}, {"ts": 1765644343.309523, "type": "fudai_open_error", "meta": {"content": "J7UMJTU-E巴,被焦作的带偏了了E", "countdown": "", "participants": 21, "copies": 1, "prize_value_yuan": 1999.0}}, {"ts": 1765676891.4075341, "type": "fudai_open_detail", "meta": {"content": "J7UMJTU-E巴,被焦作的带偏了了E", "countdown": "", "participants": 21, "copies": 1, "prize_value_yuan": 1999.0}}, {"ts": 1765676897.8725686, "type": "fudai_seen", "meta": {"content": "【粉丝专属】苹/果17256-官方正品颜色随机不.", "countdown": "", "participants": 21, "copies": 1, "prize_value_yuan": 1999.0}}, {"ts": 1765676926.4379153, "type": "switch_room", "meta": {"reason": "no_fudai", "content": "【粉丝专属】苹/果17256-官方正品颜色随机不.", "countdown": "11:24", "participants": 6476, "copies": 1, "prize_value_yuan": 5999.0}}, {"ts": 1765676955.4901335, "type": "switch_room", "meta": {"reason": "no_fudai", "content": "【粉丝专属】苹/果17256-官方正品颜色随机不.", "countdown": "11:24", "participants": 6476, "copies": 1, "prize_value_yuan": 5999.0}}, {"ts": 1765676970.3578174, "type": "fudai_open_detail", "meta": {"content": "【粉丝专属】苹/果17256-官方正品颜色随机不.", "countdown": "11:24", "participants": 6476, "copies": 1, "prize_value_yuan": 5999.0}}, {"ts": 1765676976.4665527, "type": "fudai_seen", "meta": {"content": "【刘一一专属】DJOsmoPocket", "countdown": "11:24", "participants": 6476, "copies": 1, "prize_value_yuan": 5999.0}}, {"ts": 1765676995.509221, "type": "fudai_open_detail", "meta": {"content": "【刘一一专属】DJOsmoPocket", "countdown": "12:57", "participants": 1555, "copies": 1, "prize_value_yuan": 4999.0}}, {"ts": 1765677002.0511475, "type": "fudai_seen", "meta": {"content": "【梅姐专属】iPhone17256GB颜色随机发", "countdown": "12:57", "participants": 1555, "copies": 1, "prize_value_yuan": 4999.0}}, {"ts": 1765677004.5199137, "type": "fudai_skip", "meta": {"reason": "countdown_short", "content": "【梅姐专属】iPhone17256GB颜色随机发", "countdown": "00:03", "participants": 22316, "copies": 2, "prize_value_yuan": 5999.0}}, {"ts": 1765677004.5199137, "type": "switch_room", "meta": {"reason": "countdown", "content": "【梅姐专属】iPhone17256GB颜色随机发", "countdown": "00:03", "participants": 22316, "copies": 2, "prize_value_yuan": 5999.0}}, {"ts": 1765677031.0446482, "type": "fudai_open_detail", "meta": {"content": "【梅姐专属】iPhone17256GB颜色随机发", "countdown": "00:03", "participants": 22316, "copies": 2, "prize_value_yuan": 5999.0}}, {"ts": 1765677037.2331884, "type": "fudai_seen", "meta": {"content": "【梅姐专属】iPhone17256GB颜色随机发", "countdown": "00:03", "participants": 22316, "copies": 2, "prize_value_yuan": 5999.0}}, {"ts": 1765677065.5957048, "type": "fudai_open_detail", "meta": {"content": "【梅姐专属】iPhone17256GB颜色随机发", "countdown": "02:25", "participants": 23179, "copies": 2, "prize_value_yuan": 5999.0}}, {"ts": 1765677073.7246122, "type": "fudai_seen", "meta": {"content": "讲解中头皮养护专硕胶养头皮KO枯燥断发丝V一H全MBaEn护主国用姐好几年了,毛高北325198¥198", "countdown": "02:25", "participants": 23179, "copies": 2, "prize_value_yuan": 5999.0}}, {"ts": 1765677074.7943935, "type": "fudai_skip", "meta": {"reason": "value_low", "content": "讲解中头皮养护专硕胶养头皮KO枯燥断发丝V一H全MBaEn护主国用姐好几年了,毛高北325198¥198", "countdown": "粉丝团", "participants": 23179, "copies": 2, "prize_value_yuan": 12.0}}, {"ts": 1765677076.1807349, "type": "switch_room", "meta": {"reason": "value", "content": "讲解中头皮养护专硕胶养头皮KO枯燥断发丝V一H全MBaEn护主国用姐好几年了,毛高北325198¥198", "countdown": "粉丝团", "participants": 23179, "copies": 2, "prize_value_yuan": 12.0}}, {"ts": 1765677257.1100516, "type": "fudai_open_detail", "meta": {"content": "讲解中头皮养护专硕胶养头皮KO枯燥断发丝V一H全MBaEn护主国用姐好几年了,毛高北325198¥198", "countdown": "粉丝团", "participants": 23179, "copies": 2, "prize_value_yuan": 12.0}}, {"ts": 1765677263.689632, "type": "fudai_seen", "meta": {"content": "【粉丝专属】苹/果17256-官方正品颜色随机不.:", "countdown": "粉丝团", "participants": 23179, "copies": 2, "prize_value_yuan": 12.0}}, {"ts": 1765677291.5003893, "type": "switch_room", "meta": {"reason": "no_fudai", "content": "【粉丝专属】苹/果17256-官方正品颜色随机不.:", "countdown": "05:18", "participants": 12144, "copies": 1, "prize_value_yuan": 5999.0}}, {"ts": 1765677320.320626, "type": "switch_room", "meta": {"reason": "no_fudai", "content": "【粉丝专属】苹/果17256-官方正品颜色随机不.:", "countdown": "05:18", "participants": 12144, "copies": 1, "prize_value_yuan": 5999.0}}, {"ts": 1765677338.8770022, "type": "fudai_open_detail", "meta": {"content": "【粉丝专属】苹/果17256-官方正品颜色随机不.:", "countdown": "05:18", "participants": 12144, "copies": 1, "prize_value_yuan": 5999.0}}, {"ts": 1765677345.0818095, "type": "fudai_seen", "meta": {"content": "【刘一一专属】DJOsmoPocket", "countdown": "05:18", "participants": 12144, "copies": 1, "prize_value_yuan": 5999.0}}, {"ts": 1765677363.9279454, "type": "fudai_open_detail", "meta": {"content": "【刘一一专属】DJOsmoPocket", "countdown": "06:48", "participants": 3573, "copies": 1, "prize_value_yuan": 4999.0}}, {"ts": 1765677370.3914638, "type": "fudai_seen", "meta": {"content": "【梅姐专属】iPhone17256GB颜色随机发E", "countdown": "06:48", "participants": 3573, "copies": 1, "prize_value_yuan": 4999.0}}, {"ts": 1765677400.4035275, "type": "switch_room", "meta": {"reason": "no_fudai", "content": "【梅姐专属】iPhone17256GB颜色随机发E", "countdown": "11:57", "participants": 5921, "copies": 1, "prize_value_yuan": 5999.0}}, {"ts": 1765677416.0100634, "type": "fudai_open_detail", "meta": {"content": "【梅姐专属】iPhone17256GB颜色随机发E", "countdown": "11:57", "participants": 5921, "copies": 1, "prize_value_yuan": 5999.0}}, {"ts": 1765677422.699016, "type": "fudai_seen", "meta": {"content": "绒服大上新,就今天未达成", "countdown": "11:57", "participants": 5921, "copies": 1, "prize_value_yuan": 5999.0}}, {"ts": 1765677424.689771, "type": "fudai_skip", "meta": {"reason": "countdown_short", "content": "绒服大上新,就今天未达成", "countdown": "0¥参考价值:?", "participants": 5921, "copies": 1, "prize_value_yuan": 5999.0}}, {"ts": 1765677424.689771, "type": "switch_room", "meta": {"reason": "countdown", "content": "绒服大上新,就今天未达成", "countdown": "0¥参考价值:?", "participants": 5921, "copies": 1, "prize_value_yuan": 5999.0}}, {"ts": 1765677444.05413, "type": "fudai_open_detail", "meta": {"content": "绒服大上新,就今天未达成", "countdown": "0¥参考价值:?", "participants": 5921, "copies": 1, "prize_value_yuan": 5999.0}}, {"ts": 1765677450.5459766, "type": "fudai_seen", "meta": {"content": "【官方】法国佩枪朱丽叶香水位面女王EGO女士香水..:", "countdown": "0¥参考价值:?", "participants": 5921, "copies": 1, "prize_value_yuan": 5999.0}}, {"ts": 1765677468.8988874, "type": "fudai_open_detail", "meta": {"content": "【官方】法国佩枪朱丽叶香水位面女王EGO女士香水..:", "countdown": "06:56", "participants": 333, "copies": 1, "prize_value_yuan": 890.0}}, {"ts": 1765677475.254364, "type": "fudai_seen", "meta": {"content": "外贸原单衣服一件", "countdown": "06:56", "participants": 333, "copies": 1, "prize_value_yuan": 890.0}}, {"ts": 1765677476.661917, "type": "fudai_skip", "meta": {"reason": "value_low", "content": "外贸原单衣服一件", "countdown": "07:30", "participants": 176, "copies": 1, "prize_value_yuan": 159.0}}, {"ts": 1765677478.1345334, "type": "switch_room", "meta": {"reason": "value", "content": "外贸原单衣服一件", "countdown": "07:30", "participants": 176, "copies": 1, "prize_value_yuan": 159.0}}, {"ts": 1765677495.241632, "type": "fudai_open_detail", "meta": {"content": "外贸原单衣服一件", "countdown": "07:30", "participants": 176, "copies": 1, "prize_value_yuan": 159.0}}, {"ts": 1765677501.6581345, "type": "fudai_seen", "meta": {"content": "福袋【新国标】羽绒包", "countdown": "07:30", "participants": 176, "copies": 1, "prize_value_yuan": 159.0}}, {"ts": 1765677502.5976913, "type": "fudai_skip", "meta": {"reason": "value_low", "content": "福袋【新国标】羽绒包", "countdown": "03:44", "participants": 208, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765677503.9937162, "type": "switch_room", "meta": {"reason": "value", "content": "福袋【新国标】羽绒包", "countdown": "03:44", "participants": 208, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765677531.3626618, "type": "switch_room", "meta": {"reason": "no_fudai", "content": "福袋【新国标】羽绒包", "countdown": "03:44", "participants": 208, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765677570.7949805, "type": "fudai_open_detail", "meta": {"content": "福袋【新国标】羽绒包", "countdown": "03:44", "participants": 208, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765677577.3928845, "type": "fudai_seen", "meta": {"content": "【梅姐专属】iPhone17256GB颜色随机发E", "countdown": "03:44", "participants": 208, "copies": 1, "prize_value_yuan": 199.0}}, {"ts": 1765677608.7120697, "type": "switch_room", "meta": {"reason": "no_fudai", "content": "【梅姐专属】iPhone17256GB颜色随机发E", "countdown": "08:30", "participants": 9212, "copies": 1, "prize_value_yuan": 5999.0}}, {"ts": 1765677627.586731, "type": "fudai_open_detail", "meta": {"content": "【梅姐专属】iPhone17256GB颜色随机发E", "countdown": "08:30", "participants": 9212, "copies": 1, "prize_value_yuan": 5999.0}}, {"ts": 1765677634.4160109, "type": "fudai_seen", "meta": {"content": "绒服大上新,就今天未达成", "countdown": "08:30", "participants": 9212, "copies": 1, "prize_value_yuan": 5999.0}}, {"ts": 1765677637.2021346, "type": "fudai_skip", "meta": {"reason": "countdown_short", "content": "绒服大上新,就今天未达成", "countdown": "0¥参考价值:?", "participants": 9212, "copies": 1, "prize_value_yuan": 5999.0}}, {"ts": 1765677637.2021346, "type": "switch_room", "meta": {"reason": "countdown", "content": "绒服大上新,就今天未达成", "countdown": "0¥参考价值:?", "participants": 9212, "copies": 1, "prize_value_yuan": 5999.0}}, {"ts": 1765677657.6107862, "type": "fudai_open_detail", "meta": {"content": "绒服大上新,就今天未达成", "countdown": "0¥参考价值:?", "participants": 9212, "copies": 1, "prize_value_yuan": 5999.0}}, {"ts": 1765677663.8681977, "type": "fudai_seen", "meta": {"content": "【官方】法国佩枪朱丽叶香水位面女王EGO女士香水..:", "countdown": "0¥参考价值:?", "participants": 9212, "copies": 1, "prize_value_yuan": 5999.0}}, {"ts": 1765677685.8830693, "type": "fudai_open_detail", "meta": {"content": "【官方】法国佩枪朱丽叶香水位面女王EGO女士香水..:", "countdown": "03:23", "participants": 617, "copies": 1, "prize_value_yuan": 890.0}}, {"ts": 1765677692.3542004, "type": "fudai_seen", "meta": {"content": "外贸原单衣服一件:", "countdown": "03:23", "participants": 617, "copies": 1, "prize_value_yuan": 890.0}}, {"ts": 1765677694.476788, "type": "fudai_skip", "meta": {"reason": "value_low", "content": "外贸原单衣服一件:", "countdown": "03:53", "participants": 242, "copies": 1, "prize_value_yuan": 159.0}}, {"ts": 1765677695.935114, "type": "switch_room", "meta": {"reason": "value", "content": "外贸原单衣服一件:", "countdown": "03:53", "participants": 242, "copies": 1, "prize_value_yuan": 159.0}}, {"ts": 1765677767.2862816, "type": "switch_room", "meta": {"reason": "no_fudai", "content": "外贸原单衣服一件:", "countdown": "03:53", "participants": 242, "copies": 1, "prize_value_yuan": 159.0}}, {"ts": 1765677797.6818173, "type": "switch_room", "meta": {"reason": "no_fudai", "content": "外贸原单衣服一件:", "countdown": "03:53", "participants": 242, "copies": 1, "prize_value_yuan": 159.0}}, {"ts": 1765677825.064915, "type": "switch_room", "meta": {"reason": "no_fudai", "content": "外贸原单衣服一件:", "countdown": "03:53", "participants": 242, "copies": 1, "prize_value_yuan": 159.0}}, {"ts": 1765677863.7864842, "type": "switch_room", "meta": {"reason": "no_fudai", "content": "外贸原单衣服一件:", "countdown": "03:53", "participants": 242, "copies": 1, "prize_value_yuan": 159.0}}, {"ts": 1765677892.922998, "type": "switch_room", "meta": {"reason": "no_fudai", "content": "外贸原单衣服一件:", "countdown": "03:53", "participants": 242, "copies": 1, "prize_value_yuan": 159.0}}, {"ts": 1765677902.0040681, "type": "fudai_open_detail", "meta": {"content": "外贸原单衣服一件:", "countdown": "03:53", "participants": 242, "copies": 1, "prize_value_yuan": 159.0}}, {"ts": 1765677909.5372612, "type": "fudai_seen", "meta": {"content": "BIU大哥有罗意威大号的$注了主播", "countdown": "03:53", "participants": 242, "copies": 1, "prize_value_yuan": 159.0}}, {"ts": 1765677913.1525266, "type": "fudai_seen", "meta": {"content": "日IL快商品电", "countdown": "粉丝团", "participants": 242, "copies": 1, "prize_value_yuan": 159.0}}, {"ts": 1765677914.0275185, "type": "fudai_open_error", "meta": {"content": "日IL快商品电", "countdown": "", "participants": 242, "copies": 1, "prize_value_yuan": 159.0}}, {"ts": 1765677918.969354, "type": "fudai_open_detail", "meta": {"content": "日IL快商品电", "countdown": "", "participants": 242, "copies": 1, "prize_value_yuan": 159.0}}, {"ts": 1765677925.3356788, "type": "fudai_seen", "meta": {"content": "【粉丝专属】苹/果17256-官方正品颜色随机不.:", "countdown": "", "participants": 242, "copies": 1, "prize_value_yuan": 159.0}}, {"ts": 1765677955.4639711, "type": "switch_room", "meta": {"reason": "no_fudai", "content": "【粉丝专属】苹/果17256-官方正品颜色随机不.:", "countdown": "14:24", "participants": 1415, "copies": 1, "prize_value_yuan": 5999.0}}, {"ts": 1765677984.5859017, "type": "switch_room", "meta": {"reason": "no_fudai", "content": "【粉丝专属】苹/果17256-官方正品颜色随机不.:", "countdown": "14:24", "participants": 1415, "copies": 1, "prize_value_yuan": 5999.0}}, {"ts": 1765678008.5376248, "type": "fudai_open_detail", "meta": {"content": "【粉丝专属】苹/果17256-官方正品颜色随机不.:", "countdown": "14:24", "participants": 1415, "copies": 1, "prize_value_yuan": 5999.0}}, {"ts": 1765678014.5325038, "type": "fudai_seen", "meta": {"content": "【刘一一专属】DJOsmoPocket", "countdown": "14:24", "participants": 1415, "copies": 1, "prize_value_yuan": 5999.0}}, {"ts": 1765678037.279072, "type": "fudai_open_detail", "meta": {"content": "【刘一一专属】DJOsmoPocket", "countdown": "10:45后开奖", "participants": 2096, "copies": 1, "prize_value_yuan": 4999.0}}, {"ts": 1765678043.638148, "type": "fudai_seen", "meta": {"content": "【梅姐专属】iPhone17256GB颜色随机发E", "countdown": "10:45后开奖", "participants": 2096, "copies": 1, "prize_value_yuan": 4999.0}}, {"ts": 1765678045.527103, "type": "fudai_click_attend", "meta": {"content": "【梅姐专属】iPhone17256GB颜色随机发E", "countdown": "00:43后开奖", "participants": 18278, "copies": 1, "prize_value_yuan": 5999.0}}, {"ts": 1765678095.4227757, "type": "fudai_result_no_win", "meta": {"content": "【梅姐专属】iPhone17256GB颜色随机发E", "countdown": "00:43后开奖", "participants": 18278, "copies": 1, "prize_value_yuan": 5999.0}}, {"ts": 1765678160.328259, "type": "switch_room", "meta": {"reason": "unknown", "content": "【梅姐专属】iPhone17256GB颜色随机发E", "countdown": "00:43后开奖", "participants": 18278, "copies": 1, "prize_value_yuan": 5999.0}}, {"ts": 1765678187.8157198, "type": "switch_room", "meta": {"reason": "no_fudai", "content": "【梅姐专属】iPhone17256GB颜色随机发E", "countdown": "00:43后开奖", "participants": 18278, "copies": 1, "prize_value_yuan": 5999.0}}, {"ts": 1765678210.236082, "type": "fudai_open_detail", "meta": {"content": "【梅姐专属】iPhone17256GB颜色随机发E", "countdown": "00:43后开奖", "participants": 18278, "copies": 1, "prize_value_yuan": 5999.0}}, {"ts": 1765678216.6798441, "type": "fudai_seen", "meta": {"content": "小熊吸尘器家用小型强力大吸力手持吸尘器清理宠物..:", "countdown": "00:43后开奖", "participants": 18278, "copies": 1, "prize_value_yuan": 5999.0}}, {"ts": 1765678217.781811, "type": "fudai_skip", "meta": {"reason": "value_low", "content": "小熊吸尘器家用小型强力大吸力手持吸尘器清理宠物..:", "countdown": "00:51", "participants": 889, "copies": 1, "prize_value_yuan": 499.0}}, {"ts": 1765678219.9587243, "type": "switch_room", "meta": {"reason": "value", "content": "小熊吸尘器家用小型强力大吸力手持吸尘器清理宠物..:", "countdown": "00:51", "participants": 889, "copies": 1, "prize_value_yuan": 499.0}}, {"ts": 1765678243.9019706, "type": "fudai_open_detail", "meta": {"content": "小熊吸尘器家用小型强力大吸力手持吸尘器清理宠物..:", "countdown": "00:51", "participants": 889, "copies": 1, "prize_value_yuan": 499.0}}, {"ts": 1765678250.1049361, "type": "fudai_seen", "meta": {"content": "【官方】法国佩枪朱丽叶香水位面女王EGO女士香水..", "countdown": "00:51", "participants": 889, "copies": 1, "prize_value_yuan": 499.0}}, {"ts": 1765678276.0468595, "type": "fudai_open_detail", "meta": {"content": "【官方】法国佩枪朱丽叶香水位面女王EGO女士香水..", "countdown": "03:42后开奖", "participants": 587, "copies": 1, "prize_value_yuan": 890.0}}, {"ts": 1765678282.3668816, "type": "fudai_seen", "meta": {"content": "外贸原单衣服一件", "countdown": "03:42后开奖", "participants": 587, "copies": 1, "prize_value_yuan": 890.0}}, {"ts": 1765678283.4831388, "type": "fudai_skip", "meta": {"reason": "value_low", "content": "外贸原单衣服一件", "countdown": "09:11", "participants": 163, "copies": 1, "prize_value_yuan": 159.0}}, {"ts": 1765678285.0399504, "type": "switch_room", "meta": {"reason": "value", "content": "外贸原单衣服一件", "countdown": "09:11", "participants": 163, "copies": 1, "prize_value_yuan": 159.0}}, {"ts": 1765678316.0549383, "type": "switch_room", "meta": {"reason": "no_fudai", "content": "外贸原单衣服一件", "countdown": "09:11", "participants": 163, "copies": 1, "prize_value_yuan": 159.0}}, {"ts": 1765679733.0306756, "type": "fudai_open_detail", "meta": {"content": "外贸原单衣服一件", "countdown": "09:11", "participants": 163, "copies": 1, "prize_value_yuan": 159.0}}, {"ts": 1765679739.8973644, "type": "fudai_seen", "meta": {"content": "智能通话儿童手表生活防水实时查找安全呵护【颜色..", "countdown": "09:11", "participants": 163, "copies": 1, "prize_value_yuan": 159.0}}, {"ts": 1765679741.9627383, "type": "fudai_click_attend", "meta": {"content": "智能通话儿童手表生活防水实时查找安全呵护【颜色..", "countdown": "00:11", "participants": 311, "copies": 1, "prize_value_yuan": 899.0}}, {"ts": 1765679760.384947, "type": "fudai_result_no_win", "meta": {"content": "智能通话儿童手表生活防水实时查找安全呵护【颜色..", "countdown": "00:11", "participants": 311, "copies": 1, "prize_value_yuan": 899.0}}, {"ts": 1765680903.489502, "type": "fudai_open_detail", "meta": {"content": "智能通话儿童手表生活防水实时查找安全呵护【颜色..", "countdown": "00:11", "participants": 311, "copies": 1, "prize_value_yuan": 899.0}}, {"ts": 1765680958.1174943, "type": "fudai_open_detail", "meta": {"content": "智能通话儿童手表生活防水实时查找安全呵护【颜色..", "countdown": "00:11", "participants": 311, "copies": 1, "prize_value_yuan": 899.0}}, {"ts": 1765680968.9017298, "type": "fudai_seen", "meta": {"content": "勺吗6G大内存两孩F", "countdown": "00:11", "participants": 311, "copies": 1, "prize_value_yuan": 899.0}}, {"ts": 1765681006.1121674, "type": "fudai_open_detail", "meta": {"content": "勺吗6G大内存两孩F", "countdown": "", "participants": 311, "copies": 1, "prize_value_yuan": 899.0}}, {"ts": 1765681013.7169085, "type": "fudai_seen", "meta": {"content": "智能通话儿童手表生活防水实时查找安全呵护【颜色..:", "countdown": "", "participants": 311, "copies": 1, "prize_value_yuan": 899.0}}, {"ts": 1765681857.9818377, "type": "fudai_open_detail", "meta": {"content": "智能通话儿童手表生活防水实时查找安全呵护【颜色..:", "countdown": "09:15", "participants": 39, "copies": 1, "prize_value_yuan": 899.0}}, {"ts": 1765681866.3523576, "type": "fudai_seen", "meta": {"content": "智能通话儿童手表生活防水实时查找安全呵护【颜色..:", "countdown": "09:15", "participants": 39, "copies": 1, "prize_value_yuan": 899.0}}, {"ts": 1765681896.0117123, "type": "fudai_open_detail", "meta": {"content": "智能通话儿童手表生活防水实时查找安全呵护【颜色..:", "countdown": "05:08", "participants": 127, "copies": 1, "prize_value_yuan": 899.0}}, {"ts": 1765681904.0083394, "type": "fudai_seen", "meta": {"content": "【陈三废专属】iPhone17256GB颜色随机发货", "countdown": "05:08", "participants": 127, "copies": 1, "prize_value_yuan": 899.0}}, {"ts": 1765681947.344302, "type": "switch_room", "meta": {"reason": "no_fudai", "content": "【陈三废专属】iPhone17256GB颜色随机发货", "countdown": "03:19", "participants": 17727, "copies": 1, "prize_value_yuan": 5999.0}}, {"ts": 1765681969.3419287, "type": "fudai_open_detail", "meta": {"content": "【陈三废专属】iPhone17256GB颜色随机发货", "countdown": "03:19", "participants": 17727, "copies": 1, "prize_value_yuan": 5999.0}}, {"ts": 1765681978.9451516, "type": "fudai_seen", "meta": {"content": "绒服大上新,就今天未达成", "countdown": "03:19", "participants": 17727, "copies": 1, "prize_value_yuan": 5999.0}}, {"ts": 1765681986.3480124, "type": "fudai_seen", "meta": {"content": "绒服大上新,就今天未达成", "countdown": "0¥参考价值:?", "participants": 17727, "copies": 1, "prize_value_yuan": 5999.0}}, {"ts": 1765682070.800549, "type": "fudai_open_detail", "meta": {"content": "绒服大上新,就今天未达成", "countdown": "0¥参考价值:?", "participants": 17727, "copies": 1, "prize_value_yuan": 5999.0}}, {"ts": 1765682168.9497051, "type": "fudai_open_detail", "meta": {"content": "绒服大上新,就今天未达成", "countdown": "0¥参考价值:?", "participants": 17727, "copies": 1, "prize_value_yuan": 5999.0}}, {"ts": 1765682320.1624768, "type": "fudai_open_detail", "meta": {"content": "绒服大上新,就今天未达成", "countdown": "0¥参考价值:?", "participants": 17727, "copies": 1, "prize_value_yuan": 5999.0}}, {"ts": 1765682399.8109577, "type": "fudai_open_detail", "meta": {"content": "绒服大上新,就今天未达成", "countdown": "0¥参考价值:?", "participants": 17727, "copies": 1, "prize_value_yuan": 5999.0}}, {"ts": 1765682406.9524143, "type": "fudai_seen", "meta": {"content": "小熊吸尘器家用小型强力大吸力手持吸尘器清理宠物..", "countdown": "0¥参考价值:?", "participants": 17727, "copies": 1, "prize_value_yuan": 5999.0}}, {"ts": 1765682408.7219648, "type": "fudai_skip", "meta": {"reason": "value_low", "content": "小熊吸尘器家用小型强力大吸力手持吸尘器清理宠物..", "countdown": "01:05", "participants": 574, "copies": 1, "prize_value_yuan": 499.0}}, {"ts": 1765682410.1156175, "type": "switch_room", "meta": {"reason": "value", "content": "小熊吸尘器家用小型强力大吸力手持吸尘器清理宠物..", "countdown": "01:05", "participants": 574, "copies": 1, "prize_value_yuan": 499.0}}, {"ts": 1765682444.5968096, "type": "switch_room", "meta": {"reason": "no_fudai", "content": "小熊吸尘器家用小型强力大吸力手持吸尘器清理宠物..", "countdown": "01:05", "participants": 574, "copies": 1, "prize_value_yuan": 499.0}}, {"ts": 1765682464.7320433, "type": "fudai_open_detail", "meta": {"content": "小熊吸尘器家用小型强力大吸力手持吸尘器清理宠物..", "countdown": "01:05", "participants": 574, "copies": 1, "prize_value_yuan": 499.0}}, {"ts": 1765682472.103769, "type": "fudai_seen", "meta": {"content": "【王艳专属】iPhone17256GB颜色随机发E", "countdown": "01:05", "participants": 574, "copies": 1, "prize_value_yuan": 499.0}}, {"ts": 1765682495.8125389, "type": "fudai_open_detail", "meta": {"content": "【王艳专属】iPhone17256GB颜色随机发E", "countdown": "06:47后开奖", "participants": 4818, "copies": 1, "prize_value_yuan": 5999.0}}, {"ts": 1765682502.7114153, "type": "fudai_seen", "meta": {"content": "小米RedmiPadSE新款平板11英寸护眼大屏全金属.:", "countdown": "06:47后开奖", "participants": 4818, "copies": 1, "prize_value_yuan": 5999.0}}, {"ts": 1765682538.9800222, "type": "switch_room", "meta": {"reason": "no_fudai", "content": "小米RedmiPadSE新款平板11英寸护眼大屏全金属.:", "countdown": "02:51", "participants": 1899, "copies": 1, "prize_value_yuan": 1199.0}}, {"ts": 1765682573.2285452, "type": "switch_room", "meta": {"reason": "no_fudai", "content": "小米RedmiPadSE新款平板11英寸护眼大屏全金属.:", "countdown": "02:51", "participants": 1899, "copies": 1, "prize_value_yuan": 1199.0}}, {"ts": 1765682601.9267757, "type": "switch_room", "meta": {"reason": "no_fudai", "content": "小米RedmiPadSE新款平板11英寸护眼大屏全金属.:", "countdown": "02:51", "participants": 1899, "copies": 1, "prize_value_yuan": 1199.0}}, {"ts": 1765682624.5796547, "type": "fudai_open_detail", "meta": {"content": "小米RedmiPadSE新款平板11英寸护眼大屏全金属.:", "countdown": "02:51", "participants": 1899, "copies": 1, "prize_value_yuan": 1199.0}}, {"ts": 1765682632.0770183, "type": "fudai_seen", "meta": {"content": "【陈三废专属】iPhone17256GB颜色随机发货", "countdown": "02:51", "participants": 1899, "copies": 1, "prize_value_yuan": 1199.0}}, {"ts": 1765682674.8815076, "type": "fudai_open_detail", "meta": {"content": "【陈三废专属】iPhone17256GB颜色随机发货", "countdown": "01:15后开奖", "participants": 21940, "copies": 1, "prize_value_yuan": 5999.0}}, {"ts": 1765682683.1581953, "type": "fudai_seen", "meta": {"content": "男士内裤库(1条装)(颜色随机/码数咨询客服):", "countdown": "01:15后开奖", "participants": 21940, "copies": 1, "prize_value_yuan": 5999.0}}, {"ts": 1765682684.1275752, "type": "fudai_skip", "meta": {"reason": "value_low", "content": "男士内裤库(1条装)(颜色随机/码数咨询客服):", "countdown": "03:14", "participants": 35, "copies": 1, "prize_value_yuan": 33.9}}, {"ts": 1765682686.4504454, "type": "switch_room", "meta": {"reason": "value", "content": "男士内裤库(1条装)(颜色随机/码数咨询客服):", "countdown": "03:14", "participants": 35, "copies": 1, "prize_value_yuan": 33.9}}, {"ts": 1765682775.390967, "type": "fudai_open_detail", "meta": {"content": "男士内裤库(1条装)(颜色随机/码数咨询客服):", "countdown": "03:14", "participants": 35, "copies": 1, "prize_value_yuan": 33.9}}, {"ts": 1765682783.2082818, "type": "fudai_seen", "meta": {"content": "【陈三废专属】iPhone17256GB颜色随机发货", "countdown": "03:14", "participants": 35, "copies": 1, "prize_value_yuan": 33.9}}, {"ts": 1765682809.429218, "type": "fudai_open_detail", "meta": {"content": "【陈三废专属】iPhone17256GB颜色随机发货", "countdown": "09:38", "participants": 2150, "copies": 1, "prize_value_yuan": 5999.0}}, {"ts": 1765682816.016557, "type": "fudai_seen", "meta": {"content": "小米RedmiPadSE新款平板11英寸护眼大屏全金属.:", "countdown": "09:38", "participants": 2150, "copies": 1, "prize_value_yuan": 5999.0}}, {"ts": 1765682853.7858112, "type": "fudai_open_detail", "meta": {"content": "小米RedmiPadSE新款平板11英寸护眼大屏全金属.:", "countdown": "12:49", "participants": 609, "copies": 1, "prize_value_yuan": 1199.0}}, {"ts": 1765682861.4279912, "type": "fudai_seen", "meta": {"content": "【陈三废专属】iPhone17256GB颜色随机发货", "countdown": "12:49", "participants": 609, "copies": 1, "prize_value_yuan": 1199.0}}, {"ts": 1765682889.5082347, "type": "fudai_open_detail", "meta": {"content": "【陈三废专属】iPhone17256GB颜色随机发货", "countdown": "08:19", "participants": 5981, "copies": 1, "prize_value_yuan": 5999.0}}, {"ts": 1765682896.4087884, "type": "fudai_seen", "meta": {"content": "小米RedmiPadSE新款平板11英寸护眼大屏全金属.:", "countdown": "08:19", "participants": 5981, "copies": 1, "prize_value_yuan": 5999.0}}, {"ts": 1765682927.1786408, "type": "switch_room", "meta": {"reason": "no_fudai", "content": "小米RedmiPadSE新款平板11英寸护眼大屏全金属.:", "countdown": "11:30", "participants": 755, "copies": 1, "prize_value_yuan": 1199.0}}, {"ts": 1765682953.409201, "type": "switch_room", "meta": {"reason": "no_fudai", "content": "小米RedmiPadSE新款平板11英寸护眼大屏全金属.:", "countdown": "11:30", "participants": 755, "copies": 1, "prize_value_yuan": 1199.0}}, {"ts": 1765683053.3603709, "type": "fudai_open_detail", "meta": {"content": "小米RedmiPadSE新款平板11英寸护眼大屏全金属.:", "countdown": "11:30", "participants": 755, "copies": 1, "prize_value_yuan": 1199.0}}, {"ts": 1765683061.803743, "type": "fudai_seen", "meta": {"content": "存制仅限一单单独补D3吗", "countdown": "11:30", "participants": 755, "copies": 1, "prize_value_yuan": 1199.0}}, {"ts": 1765683067.8848145, "type": "fudai_seen", "meta": {"content": "存制仅限一单单独补D3吗", "countdown": "", "participants": 755, "copies": 1, "prize_value_yuan": 1199.0}}, {"ts": 1765683079.5509496, "type": "fudai_seen", "meta": {"content": "inne限量库存制仅限一单柜:", "countdown": "", "participants": 755, "copies": 1, "prize_value_yuan": 1199.0}}, {"ts": 1765683092.1055064, "type": "fudai_open_detail", "meta": {"content": "inne限量库存制仅限一单柜:", "countdown": "", "participants": 755, "copies": 1, "prize_value_yuan": 1199.0}}, {"ts": 1765683107.0079956, "type": "fudai_seen", "meta": {"content": "【王艳专属】iPhone17256GB颜色随机发E", "countdown": "", "participants": 755, "copies": 1, "prize_value_yuan": 1199.0}}, {"ts": 1765683171.1817665, "type": "switch_room", "meta": {"reason": "no_fudai", "content": "【王艳专属】iPhone17256GB颜色随机发E", "countdown": "06:34后开奖", "participants": 5445, "copies": 1, "prize_value_yuan": 5999.0}}, {"ts": 1765683236.2541673, "type": "switch_room", "meta": {"reason": "no_fudai", "content": "【王艳专属】iPhone17256GB颜色随机发E", "countdown": "06:34后开奖", "participants": 5445, "copies": 1, "prize_value_yuan": 5999.0}}, {"ts": 1765683270.82257, "type": "switch_room", "meta": {"reason": "no_fudai", "content": "【王艳专属】iPhone17256GB颜色随机发E", "countdown": "06:34后开奖", "participants": 5445, "copies": 1, "prize_value_yuan": 5999.0}}, {"ts": 1765683311.7463672, "type": "switch_room", "meta": {"reason": "no_fudai", "content": "【王艳专属】iPhone17256GB颜色随机发E", "countdown": "06:34后开奖", "participants": 5445, "copies": 1, "prize_value_yuan": 5999.0}}, {"ts": 1765684566.0966058, "type": "fudai_open_detail", "meta": {"content": "【王艳专属】iPhone17256GB颜色随机发E", "countdown": "06:34后开奖", "participants": 5445, "copies": 1, "prize_value_yuan": 5999.0}}, {"ts": 1765684575.7284453, "type": "fudai_seen", "meta": {"content": "【粉丝专属】iPhone17手机256G颜色随机", "countdown": "06:34后开奖", "participants": 5445, "copies": 1, "prize_value_yuan": 5999.0}}, {"ts": 1765684691.0208752, "type": "switch_room", "meta": {"reason": "no_fudai", "content": "【粉丝专属】iPhone17手机256G颜色随机", "countdown": "14:29后开奖", "participants": 2132, "copies": 1, "prize_value_yuan": 5999.0}}], "wins": []} diff --git a/gui_app.py b/bin/gui_app.py similarity index 93% rename from gui_app.py rename to bin/gui_app.py index 29480f0..a4ace2e 100644 --- a/gui_app.py +++ b/bin/gui_app.py @@ -9,7 +9,7 @@ import sys from pathlib import Path -ROOT_DIR = Path(__file__).resolve().parent +ROOT_DIR = Path(__file__).resolve().parent.parent TARGET = ROOT_DIR / "gui" / "gui_app.py" VENV_PYTHON = ROOT_DIR / ".venv" / "Scripts" / "python.exe" diff --git a/manage_logs.py b/bin/manage_logs.py similarity index 98% rename from manage_logs.py rename to bin/manage_logs.py index ff22fb0..c5b186f 100644 --- a/manage_logs.py +++ b/bin/manage_logs.py @@ -27,8 +27,8 @@ import argparse from datetime import datetime, timedelta from typing import Dict, Any -# 添加项目路径 -sys.path.insert(0, os.path.dirname(os.path.abspath(__file__))) +# 添加项目根到 sys.path(从 bin/ 目录运行时需要) +sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) from douyin.logging.douyin_logging import ( cleanup_old_logs, diff --git a/run_cli.py b/bin/run_cli.py similarity index 98% rename from run_cli.py rename to bin/run_cli.py index a0ea4dd..f1bda67 100644 --- a/run_cli.py +++ b/bin/run_cli.py @@ -47,7 +47,10 @@ except Exception as e: # 如果需要从外部工作树加载兼容模块,可显式设置 EXTERNAL_DOUYIN_FUDAI_DIR。 # 默认只使用当前仓库内置实现,避免绑定到某台机器的 Cursor worktree 路径。 -_BASE_DIR = os.path.dirname(__file__) +_BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) +# 确保项目根在 sys.path 中(脚本从 bin/ 目录启动时) +if _BASE_DIR not in sys.path: + sys.path.insert(0, _BASE_DIR) _EXTERNAL_DOUYIN_FUDAI_DIR = os.environ.get("EXTERNAL_DOUYIN_FUDAI_DIR", "").strip() @@ -628,7 +631,7 @@ def main(argv: list[str]) -> int: if __name__ == "__main__": try: - from version import print_version_banner + from douyin.core.version import print_version_banner print_version_banner("run_cli") except Exception: diff --git a/webgui_launcher.py b/bin/webgui_launcher.py similarity index 93% rename from webgui_launcher.py rename to bin/webgui_launcher.py index 3ed9607..e33d641 100644 --- a/webgui_launcher.py +++ b/bin/webgui_launcher.py @@ -9,7 +9,7 @@ import sys from pathlib import Path -ROOT_DIR = Path(__file__).resolve().parent +ROOT_DIR = Path(__file__).resolve().parent.parent TARGET = ROOT_DIR / "gui" / "webgui_launcher.py" VENV_PYTHON = ROOT_DIR / ".venv" / "Scripts" / "python.exe" diff --git a/docs/CLEANUP_REPORT.md b/docs/archive/CLEANUP_REPORT.md similarity index 100% rename from docs/CLEANUP_REPORT.md rename to docs/archive/CLEANUP_REPORT.md diff --git a/docs/CODE_REVIEW_FIXES.md b/docs/archive/CODE_REVIEW_FIXES.md similarity index 100% rename from docs/CODE_REVIEW_FIXES.md rename to docs/archive/CODE_REVIEW_FIXES.md diff --git a/docs/CODE_REVIEW_REPORT.md b/docs/archive/CODE_REVIEW_REPORT.md similarity index 100% rename from docs/CODE_REVIEW_REPORT.md rename to docs/archive/CODE_REVIEW_REPORT.md diff --git a/docs/DEPENDENCY_FIXES_REPORT.md b/docs/archive/DEPENDENCY_FIXES_REPORT.md similarity index 100% rename from docs/DEPENDENCY_FIXES_REPORT.md rename to docs/archive/DEPENDENCY_FIXES_REPORT.md diff --git a/docs/FIXES_REPORT.md b/docs/archive/FIXES_REPORT.md similarity index 100% rename from docs/FIXES_REPORT.md rename to docs/archive/FIXES_REPORT.md diff --git a/docs/FUDAI_FINDER_OPTIMIZATION.md b/docs/archive/FUDAI_FINDER_OPTIMIZATION.md similarity index 100% rename from docs/FUDAI_FINDER_OPTIMIZATION.md rename to docs/archive/FUDAI_FINDER_OPTIMIZATION.md diff --git a/docs/GUI参数冲突分析.md b/docs/archive/GUI参数冲突分析.md similarity index 100% rename from docs/GUI参数冲突分析.md rename to docs/archive/GUI参数冲突分析.md diff --git a/docs/GUI日志修复总结.md b/docs/archive/GUI日志修复总结.md similarity index 100% rename from docs/GUI日志修复总结.md rename to docs/archive/GUI日志修复总结.md diff --git a/docs/MODULAR_REFACTORING_VERIFICATION.md b/docs/archive/MODULAR_REFACTORING_VERIFICATION.md similarity index 100% rename from docs/MODULAR_REFACTORING_VERIFICATION.md rename to docs/archive/MODULAR_REFACTORING_VERIFICATION.md diff --git a/docs/多线程优化实现总结.md b/docs/archive/多线程优化实现总结.md similarity index 100% rename from docs/多线程优化实现总结.md rename to docs/archive/多线程优化实现总结.md diff --git a/docs/多线程截图优化说明.md b/docs/archive/多线程截图优化说明.md similarity index 100% rename from docs/多线程截图优化说明.md rename to docs/archive/多线程截图优化说明.md diff --git a/docs/日志系统优化总结.md b/docs/archive/日志系统优化总结.md similarity index 100% rename from docs/日志系统优化总结.md rename to docs/archive/日志系统优化总结.md diff --git a/docs/日志系统优化说明.md b/docs/archive/日志系统优化说明.md similarity index 100% rename from docs/日志系统优化说明.md rename to docs/archive/日志系统优化说明.md diff --git a/docs/模块化代码对比说明.md b/docs/archive/模块化代码对比说明.md similarity index 100% rename from docs/模块化代码对比说明.md rename to docs/archive/模块化代码对比说明.md diff --git a/docs/真机测试报告.md b/docs/archive/真机测试报告.md similarity index 100% rename from docs/真机测试报告.md rename to docs/archive/真机测试报告.md diff --git a/docs/reports/config.json.bak_20260104_161454 b/docs/reports/config.json.bak_20260104_161454 deleted file mode 100644 index 94fbc87..0000000 --- a/docs/reports/config.json.bak_20260104_161454 +++ /dev/null @@ -1,102 +0,0 @@ -{ - "needswitch": true, - "infinite_loop_enabled": true, - "wait_minutes": 5, - "y_pianyi": 0, - "contains_not_want": [ - "首饰盒" - ], - "min_prize_value_yuan": 200.0, - "min_participants": 0, - "max_participants": 0, - "skip_if_countdown_gt_seconds": 120, - "reset_after_swipes_enabled": true, - "reset_after_swipes": 50, - "auto_join_fansclub": true, - "fansclub_fail_action": "switch", - "lucky_draw_red_ratio_threshold": 0.8, - "high_value_fudai_enabled": true, - "high_value_fudai_threshold_yuan": 500.0, - "high_value_fudai_join_ahead_seconds": 300, - "high_value_fudai_max_swipe_back": 50, - "high_value_fudai_max_reservations": 9999, - "high_value_fudai_after_action": "continue", - "high_value_room_revisit_enabled": true, - "high_value_room_revisit_only_current_run": true, - "reservation_back_verify_enabled": true, - "reservation_back_swipe_delay": 0.5, - "record_room_title_mapping_enabled": true, - "reservation_preempt_min_value": 0.0, - "fudai_find_max_attempts": 99999, - "fudai_icon_retry_delay_seconds": 0.1, - "fudai_icon_max_wait_seconds": 8.5, - "fudai_click_wait_seconds": 1.7, - "switch_room_wait_after_stage_diag_seconds": 4.0, - "live_room_match_threshold": 0.6, - "fudai_quiet_hours_enabled": true, - "fudai_quiet_start_hour": 2, - "fudai_quiet_end_hour": 9, - "stage_diag_max_time": 5.0, - "stage_diag_max_step_time": 2.0, - "enable_ocr_mode1": false, - "fudai_template_match_enabled": false, - "fudai_template_match_threshold": 0.7, - "fudai_detail_template_threshold": 0.54, - "coupon_template_match_threshold": 0.4, - "attend_button_red_ratio_threshold": 0.25, - "fansclub_join_red_ratio_threshold": 0.25, - "skip_if_countdown_lt_seconds": 5, - "debug_captures": { - "enabled": true, - "auto_cleanup": true, - "keep_days": 3, - "max_files": 2000 - }, - "yanghao_enabled": false, - "yanghao_enable_actions": false, - "yanghao_recommend_duration_seconds": 206, - "yanghao_recommend_interval_seconds": 570, - "yanghao_like_prob": 1.0, - "yanghao_fav_prob": 0.85, - "yanghao_comment_prob": 1.0, - "yanghao_icon_roi_size": 240, - "yanghao_icon_match_threshold": 0.70, - "yanghao_step_screenshot": false, - "yanghao_like_roi_offset_x": 0, - "yanghao_like_roi_offset_y": -50, - "yanghao_fav_roi_offset_x": 40, - "yanghao_fav_roi_offset_y": 0, - "yanghao_like_icon_x": 0, - "yanghao_like_icon_y": -1, - "yanghao_fav_icon_x": -1, - "yanghao_fav_icon_y": 0, - "yanghao_like_template_path": "assets/like.png", - "yanghao_fav_template_path": "assets/fav.png", - "yanghao_after_dwell_swipe_direction": "up", - "yanghao_after_dwell_swipe_distance_px": 900, - "yanghao_comment_btn_x": 0, - "yanghao_comment_btn_y": -1, - "yanghao_comment_input_x": 0, - "yanghao_comment_input_y": 0, - "yanghao_comment_send_x": 0, - "yanghao_comment_send_y": -1, - "yanghao_comment_close_x": 0, - "yanghao_comment_close_y": 0, - "yanghao_comment_texts": [], - "yanghao_like_keywords": [], - "yanghao_fav_keywords": [], - "logging": { - "level": "INFO", - "file_path": "logs/unified.log", - "keep_days": 30, - "use_dated_logs": true, - "compress_logs": true, - "max_total_size_gb": 10.0, - "compress_after_days": 7, - "max_bytes": 104857600, - "backup_count": 10, - "enable_monitor": true, - "monitor_warning_mb": 500.0, - "monitor_critical_mb": 2000.0 - } -} \ No newline at end of file diff --git a/docs/reports/git_lsremote_trace.txt b/docs/reports/git_lsremote_trace.txt deleted file mode 100644 index eb66ba0..0000000 --- a/docs/reports/git_lsremote_trace.txt +++ /dev/null @@ -1,191 +0,0 @@ -00:13:44.963131 exec-cmd.c:244 trace: resolved executable dir: D:/Git/mingw64/bin -00:13:44.992482 git.c:463 trace: built-in: git ls-remote https://github.com/Zzzil/douyin_guaji-main.git -00:13:44.995001 run-command.c:659 trace: run_command: GIT_DIR=.git git remote-https https://github.com/Zzzil/douyin_guaji-main.git https://github.com/Zzzil/douyin_guaji-main.git -00:13:45.039988 exec-cmd.c:244 trace: resolved executable dir: D:/Git/mingw64/libexec/git-core -00:13:45.068497 git.c:749 trace: exec: git-remote-https https://github.com/Zzzil/douyin_guaji-main.git https://github.com/Zzzil/douyin_guaji-main.git -00:13:45.068497 run-command.c:659 trace: run_command: git-remote-https https://github.com/Zzzil/douyin_guaji-main.git https://github.com/Zzzil/douyin_guaji-main.git -00:13:45.113375 exec-cmd.c:244 trace: resolved executable dir: D:/Git/mingw64/libexec/git-core -00:13:45.158944 http.c:870 == Info: Couldn't find host github.com in the .netrc file; using defaults -00:13:45.182592 http.c:870 == Info: Trying 20.205.243.166:443... -00:13:45.395151 http.c:870 == Info: Connected to github.com (20.205.243.166) port 443 -00:13:45.396159 http.c:870 == Info: ALPN: curl offers h2,http/1.1 -00:13:45.396159 http.c:870 == Info: TLSv1.3 (OUT), TLS handshake, Client hello (1): -00:13:45.608239 http.c:870 == Info: TLSv1.3 (IN), TLS handshake, Server hello (2): -00:13:45.608239 http.c:870 == Info: TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8): -00:13:45.608239 http.c:870 == Info: TLSv1.3 (IN), TLS handshake, Certificate (11): -00:13:45.609245 http.c:870 == Info: TLSv1.3 (IN), TLS handshake, CERT verify (15): -00:13:45.609245 http.c:870 == Info: TLSv1.3 (IN), TLS handshake, Finished (20): -00:13:45.609245 http.c:870 == Info: TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1): -00:13:45.609245 http.c:870 == Info: TLSv1.3 (OUT), TLS handshake, Finished (20): -00:13:45.609245 http.c:870 == Info: SSL connection using TLSv1.3 / TLS_AES_128_GCM_SHA256 -00:13:45.609245 http.c:870 == Info: ALPN: server accepted h2 -00:13:45.609245 http.c:870 == Info: Server certificate: -00:13:45.609245 http.c:870 == Info: subject: CN=github.com -00:13:45.609245 http.c:870 == Info: start date: Feb 5 00:00:00 2025 GMT -00:13:45.609245 http.c:870 == Info: expire date: Feb 5 23:59:59 2026 GMT -00:13:45.609245 http.c:870 == Info: issuer: C=GB; ST=Greater Manchester; L=Salford; O=Sectigo Limited; CN=Sectigo ECC Domain Validation Secure Server CA -00:13:45.609245 http.c:870 == Info: SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway. -00:13:45.609245 http.c:870 == Info: using HTTP/2 -00:13:45.610248 http.c:870 == Info: [HTTP/2] [1] OPENED stream for https://github.com/Zzzil/douyin_guaji-main.git/info/refs?service=git-upload-pack -00:13:45.610248 http.c:870 == Info: [HTTP/2] [1] [:method: GET] -00:13:45.610248 http.c:870 == Info: [HTTP/2] [1] [:scheme: https] -00:13:45.610248 http.c:870 == Info: [HTTP/2] [1] [:authority: github.com] -00:13:45.610248 http.c:870 == Info: [HTTP/2] [1] [:path: /Zzzil/douyin_guaji-main.git/info/refs?service=git-upload-pack] -00:13:45.610248 http.c:870 == Info: [HTTP/2] [1] [user-agent: git/2.43.0.windows.1] -00:13:45.610248 http.c:870 == Info: [HTTP/2] [1] [accept: */*] -00:13:45.610248 http.c:870 == Info: [HTTP/2] [1] [accept-encoding: deflate, gzip, br, zstd] -00:13:45.610248 http.c:870 == Info: [HTTP/2] [1] [pragma: no-cache] -00:13:45.610248 http.c:870 == Info: [HTTP/2] [1] [git-protocol: version=2] -00:13:45.610248 http.c:817 => Send header, 0000000227 bytes (0x000000e3) -00:13:45.610248 http.c:829 => Send header: GET /Zzzil/douyin_guaji-main.git/info/refs?service=git-upload-pack HTTP/2 -00:13:45.610248 http.c:829 => Send header: Host: github.com -00:13:45.610248 http.c:829 => Send header: User-Agent: git/2.43.0.windows.1 -00:13:45.610248 http.c:829 => Send header: Accept: */* -00:13:45.610248 http.c:829 => Send header: Accept-Encoding: deflate, gzip, br, zstd -00:13:45.610248 http.c:829 => Send header: Pragma: no-cache -00:13:45.610248 http.c:829 => Send header: Git-Protocol: version=2 -00:13:45.610248 http.c:829 => Send header: -00:13:45.819399 http.c:870 == Info: TLSv1.3 (IN), TLS handshake, Newsession Ticket (4): -00:13:45.820411 http.c:870 == Info: TLSv1.3 (IN), TLS handshake, Newsession Ticket (4): -00:13:45.820411 http.c:870 == Info: old SSL session ID is stale, removing -00:13:46.487098 http.c:817 <= Recv header, 0000000013 bytes (0x0000000d) -00:13:46.487098 http.c:829 <= Recv header: HTTP/2 401 -00:13:46.487098 http.c:817 <= Recv header, 0000000026 bytes (0x0000001a) -00:13:46.487098 http.c:829 <= Recv header: server: GitHub-Babel/3.0 -00:13:46.487098 http.c:817 <= Recv header, 0000000054 bytes (0x00000036) -00:13:46.487098 http.c:829 <= Recv header: content-security-policy: default-src 'none'; sandbox -00:13:46.487098 http.c:817 <= Recv header, 0000000041 bytes (0x00000029) -00:13:46.487098 http.c:829 <= Recv header: content-type: text/plain; charset=UTF-8 -00:13:46.487098 http.c:817 <= Recv header, 0000000040 bytes (0x00000028) -00:13:46.487098 http.c:829 <= Recv header: www-authenticate: Basic realm="GitHub" -00:13:46.487098 http.c:817 <= Recv header, 0000000020 bytes (0x00000014) -00:13:46.487098 http.c:829 <= Recv header: content-length: 21 -00:13:46.487098 http.c:817 <= Recv header, 0000000037 bytes (0x00000025) -00:13:46.487098 http.c:829 <= Recv header: date: Fri, 02 Jan 2026 16:13:56 GMT -00:13:46.487098 http.c:817 <= Recv header, 0000000023 bytes (0x00000017) -00:13:46.487098 http.c:829 <= Recv header: x-frame-options: DENY -00:13:46.487098 http.c:817 <= Recv header, 0000000073 bytes (0x00000049) -00:13:46.487098 http.c:829 <= Recv header: strict-transport-security: max-age=31536000; includeSubDomains; preload -00:13:46.487098 http.c:817 <= Recv header, 0000000058 bytes (0x0000003a) -00:13:46.487098 http.c:829 <= Recv header: x-github-request-id: 6140:1AF3F5:EAAEE6:107B593:6957EEC4 -00:13:46.487098 http.c:817 <= Recv header, 0000000002 bytes (0x00000002) -00:13:46.487098 http.c:829 <= Recv header: -00:13:46.487098 http.c:870 == Info: Connection #0 to host github.com left intact -00:13:46.487098 run-command.c:659 trace: run_command: 'git credential-manager get' -00:13:46.595677 exec-cmd.c:244 trace: resolved executable dir: D:/Git/mingw64/libexec/git-core -00:13:46.620240 git.c:749 trace: exec: git-credential-manager get -00:13:46.620240 run-command.c:659 trace: run_command: git-credential-manager get -00:13:46.758400 exec-cmd.c:244 trace: resolved executable dir: D:/Git/mingw64/libexec/git-core -00:13:46.781659 git.c:463 trace: built-in: git config --null --list -00:13:46.953492 http.c:870 == Info: Found bundle for host: 0x15eb41eb110 [can multiplex] -00:13:46.953492 http.c:870 == Info: Re-using existing connection with host github.com -00:13:46.953492 http.c:870 == Info: Server auth using Basic with user 'Zzzil' -00:13:46.953492 http.c:870 == Info: [HTTP/2] [3] OPENED stream for https://github.com/Zzzil/douyin_guaji-main.git/info/refs?service=git-upload-pack -00:13:46.953492 http.c:870 == Info: [HTTP/2] [3] [:method: GET] -00:13:46.953492 http.c:870 == Info: [HTTP/2] [3] [:scheme: https] -00:13:46.953492 http.c:870 == Info: [HTTP/2] [3] [:authority: github.com] -00:13:46.953492 http.c:870 == Info: [HTTP/2] [3] [:path: /Zzzil/douyin_guaji-main.git/info/refs?service=git-upload-pack] -00:13:46.953492 http.c:870 == Info: [HTTP/2] [3] [authorization: Basic ] -00:13:46.953492 http.c:870 == Info: [HTTP/2] [3] [user-agent: git/2.43.0.windows.1] -00:13:46.953492 http.c:870 == Info: [HTTP/2] [3] [accept: */*] -00:13:46.953492 http.c:870 == Info: [HTTP/2] [3] [accept-encoding: deflate, gzip, br, zstd] -00:13:46.953492 http.c:870 == Info: [HTTP/2] [3] [pragma: no-cache] -00:13:46.953492 http.c:870 == Info: [HTTP/2] [3] [git-protocol: version=2] -00:13:46.953492 http.c:817 => Send header, 0000000314 bytes (0x0000013a) -00:13:46.953492 http.c:829 => Send header: GET /Zzzil/douyin_guaji-main.git/info/refs?service=git-upload-pack HTTP/2 -00:13:46.953492 http.c:829 => Send header: Host: github.com -00:13:46.953492 http.c:829 => Send header: Authorization: Basic -00:13:46.953492 http.c:829 => Send header: User-Agent: git/2.43.0.windows.1 -00:13:46.953492 http.c:829 => Send header: Accept: */* -00:13:46.953492 http.c:829 => Send header: Accept-Encoding: deflate, gzip, br, zstd -00:13:46.953492 http.c:829 => Send header: Pragma: no-cache -00:13:46.953492 http.c:829 => Send header: Git-Protocol: version=2 -00:13:46.953492 http.c:829 => Send header: -00:13:47.425703 http.c:817 <= Recv header, 0000000013 bytes (0x0000000d) -00:13:47.425703 http.c:829 <= Recv header: HTTP/2 200 -00:13:47.425703 http.c:817 <= Recv header, 0000000026 bytes (0x0000001a) -00:13:47.425703 http.c:829 <= Recv header: server: GitHub-Babel/3.0 -00:13:47.425703 http.c:817 <= Recv header, 0000000059 bytes (0x0000003b) -00:13:47.425703 http.c:829 <= Recv header: content-type: application/x-git-upload-pack-advertisement -00:13:47.425703 http.c:817 <= Recv header, 0000000054 bytes (0x00000036) -00:13:47.425703 http.c:829 <= Recv header: content-security-policy: default-src 'none'; sandbox -00:13:47.425703 http.c:817 <= Recv header, 0000000040 bytes (0x00000028) -00:13:47.425703 http.c:829 <= Recv header: expires: Fri, 01 Jan 1980 00:00:00 GMT -00:13:47.425703 http.c:817 <= Recv header, 0000000018 bytes (0x00000012) -00:13:47.425703 http.c:829 <= Recv header: pragma: no-cache -00:13:47.425703 http.c:817 <= Recv header, 0000000053 bytes (0x00000035) -00:13:47.425703 http.c:829 <= Recv header: cache-control: no-cache, max-age=0, must-revalidate -00:13:47.425703 http.c:817 <= Recv header, 0000000023 bytes (0x00000017) -00:13:47.425703 http.c:829 <= Recv header: vary: Accept-Encoding -00:13:47.425703 http.c:817 <= Recv header, 0000000037 bytes (0x00000025) -00:13:47.425703 http.c:829 <= Recv header: date: Fri, 02 Jan 2026 16:13:57 GMT -00:13:47.425703 http.c:817 <= Recv header, 0000000023 bytes (0x00000017) -00:13:47.425703 http.c:829 <= Recv header: x-frame-options: DENY -00:13:47.425703 http.c:817 <= Recv header, 0000000073 bytes (0x00000049) -00:13:47.425703 http.c:829 <= Recv header: strict-transport-security: max-age=31536000; includeSubDomains; preload -00:13:47.425703 http.c:817 <= Recv header, 0000000058 bytes (0x0000003a) -00:13:47.425703 http.c:829 <= Recv header: x-github-request-id: 6140:1AF3F5:EAB00F:107B6CE:6957EEC4 -00:13:47.425703 http.c:817 <= Recv header, 0000000002 bytes (0x00000002) -00:13:47.425703 http.c:829 <= Recv header: -00:13:47.425703 http.c:870 == Info: Connection #0 to host github.com left intact -00:13:47.425703 run-command.c:659 trace: run_command: 'git credential-manager store' -00:13:47.524651 exec-cmd.c:244 trace: resolved executable dir: D:/Git/mingw64/libexec/git-core -00:13:47.546842 git.c:749 trace: exec: git-credential-manager store -00:13:47.546842 run-command.c:659 trace: run_command: git-credential-manager store -00:13:47.661941 exec-cmd.c:244 trace: resolved executable dir: D:/Git/mingw64/libexec/git-core -00:13:47.685091 git.c:463 trace: built-in: git config --null --list -00:13:47.828028 http.c:870 == Info: Found bundle for host: 0x15eb41eb110 [can multiplex] -00:13:47.828028 http.c:870 == Info: Re-using existing connection with host github.com -00:13:47.828028 http.c:870 == Info: Server auth using Basic with user 'Zzzil' -00:13:47.828028 http.c:870 == Info: [HTTP/2] [5] OPENED stream for https://github.com/Zzzil/douyin_guaji-main.git/git-upload-pack -00:13:47.828028 http.c:870 == Info: [HTTP/2] [5] [:method: POST] -00:13:47.828028 http.c:870 == Info: [HTTP/2] [5] [:scheme: https] -00:13:47.828028 http.c:870 == Info: [HTTP/2] [5] [:authority: github.com] -00:13:47.828028 http.c:870 == Info: [HTTP/2] [5] [:path: /Zzzil/douyin_guaji-main.git/git-upload-pack] -00:13:47.828028 http.c:870 == Info: [HTTP/2] [5] [authorization: Basic ] -00:13:47.828028 http.c:870 == Info: [HTTP/2] [5] [user-agent: git/2.43.0.windows.1] -00:13:47.828028 http.c:870 == Info: [HTTP/2] [5] [accept-encoding: deflate, gzip, br, zstd] -00:13:47.828028 http.c:870 == Info: [HTTP/2] [5] [content-type: application/x-git-upload-pack-request] -00:13:47.828028 http.c:870 == Info: [HTTP/2] [5] [accept: application/x-git-upload-pack-result] -00:13:47.828028 http.c:870 == Info: [HTTP/2] [5] [git-protocol: version=2] -00:13:47.828028 http.c:870 == Info: [HTTP/2] [5] [content-length: 112] -00:13:47.828028 http.c:817 => Send header, 0000000386 bytes (0x00000182) -00:13:47.828028 http.c:829 => Send header: POST /Zzzil/douyin_guaji-main.git/git-upload-pack HTTP/2 -00:13:47.828028 http.c:829 => Send header: Host: github.com -00:13:47.828028 http.c:829 => Send header: Authorization: Basic -00:13:47.828028 http.c:829 => Send header: User-Agent: git/2.43.0.windows.1 -00:13:47.828028 http.c:829 => Send header: Accept-Encoding: deflate, gzip, br, zstd -00:13:47.828028 http.c:829 => Send header: Content-Type: application/x-git-upload-pack-request -00:13:47.828028 http.c:829 => Send header: Accept: application/x-git-upload-pack-result -00:13:47.828028 http.c:829 => Send header: Git-Protocol: version=2 -00:13:47.828028 http.c:829 => Send header: Content-Length: 112 -00:13:47.828028 http.c:829 => Send header: -00:13:48.291956 http.c:817 <= Recv header, 0000000013 bytes (0x0000000d) -00:13:48.291956 http.c:829 <= Recv header: HTTP/2 200 -00:13:48.291956 http.c:817 <= Recv header, 0000000026 bytes (0x0000001a) -00:13:48.291956 http.c:829 <= Recv header: server: GitHub-Babel/3.0 -00:13:48.291956 http.c:817 <= Recv header, 0000000052 bytes (0x00000034) -00:13:48.291956 http.c:829 <= Recv header: content-type: application/x-git-upload-pack-result -00:13:48.291956 http.c:817 <= Recv header, 0000000054 bytes (0x00000036) -00:13:48.291956 http.c:829 <= Recv header: content-security-policy: default-src 'none'; sandbox -00:13:48.291956 http.c:817 <= Recv header, 0000000040 bytes (0x00000028) -00:13:48.291956 http.c:829 <= Recv header: expires: Fri, 01 Jan 1980 00:00:00 GMT -00:13:48.291956 http.c:817 <= Recv header, 0000000018 bytes (0x00000012) -00:13:48.291956 http.c:829 <= Recv header: pragma: no-cache -00:13:48.291956 http.c:817 <= Recv header, 0000000053 bytes (0x00000035) -00:13:48.291956 http.c:829 <= Recv header: cache-control: no-cache, max-age=0, must-revalidate -00:13:48.291956 http.c:817 <= Recv header, 0000000023 bytes (0x00000017) -00:13:48.291956 http.c:829 <= Recv header: vary: Accept-Encoding -00:13:48.291956 http.c:817 <= Recv header, 0000000037 bytes (0x00000025) -00:13:48.291956 http.c:829 <= Recv header: date: Fri, 02 Jan 2026 16:13:58 GMT -00:13:48.291956 http.c:817 <= Recv header, 0000000023 bytes (0x00000017) -00:13:48.291956 http.c:829 <= Recv header: x-frame-options: DENY -00:13:48.291956 http.c:817 <= Recv header, 0000000073 bytes (0x00000049) -00:13:48.291956 http.c:829 <= Recv header: strict-transport-security: max-age=31536000; includeSubDomains; preload -00:13:48.291956 http.c:817 <= Recv header, 0000000058 bytes (0x0000003a) -00:13:48.291956 http.c:829 <= Recv header: x-github-request-id: 6140:1AF3F5:EAB0D6:107B7A3:6957EEC5 -00:13:48.291956 http.c:817 <= Recv header, 0000000002 bytes (0x00000002) -00:13:48.291956 http.c:829 <= Recv header: -00:13:48.291956 http.c:870 == Info: Connection #0 to host github.com left intact -a079149c80c390dcbcb9d40cba611bc7e7b7be2d HEAD -a079149c80c390dcbcb9d40cba611bc7e7b7be2d refs/heads/main diff --git a/docs/reports/log_filter_result.txt b/docs/reports/log_filter_result.txt deleted file mode 100644 index fa63e3b..0000000 --- a/docs/reports/log_filter_result.txt +++ /dev/null @@ -1,500 +0,0 @@ -日志筛选结果 -文件: C:\Users\12742\Desktop\douyin_guaji-main\logs\actions.log -关键字: 参与成功 -总行数: 8848 -匹配行数: 493 -================================================== - -行166: [2026-01-12 18:01:59.850] [参与] basic_join_decision:参与成功 -行177: [2026-01-12 18:02:21.698] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行179: [2026-01-12 18:02:21.878] [参与] basic_join_decision:参与成功 -行190: [2026-01-12 18:02:44.472] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行192: [2026-01-12 18:02:44.654] [参与] basic_join_decision:参与成功 -行203: [2026-01-12 18:03:07.069] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行205: [2026-01-12 18:03:07.262] [参与] basic_join_decision:参与成功 -行216: [2026-01-12 18:03:29.044] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行218: [2026-01-12 18:03:29.249] [参与] basic_join_decision:参与成功 -行229: [2026-01-12 18:03:51.551] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行231: [2026-01-12 18:03:51.723] [参与] basic_join_decision:参与成功 -行241: [2026-01-12 18:04:14.215] [参与] 参与成功,设置等待开奖标志 -行243: [2026-01-12 18:04:14.401] [参与] basic_join_decision:参与成功 -行245: [2026-01-12 18:04:14.407] [参与] 参与成功,设置等待开奖标志,停止其他行为 -行393: [2026-01-12 18:10:22.584] [参与] basic_join_decision:参与成功 -行448: [2026-01-12 18:13:12.062] [参与] basic_join_decision:参与成功 -行459: [2026-01-12 18:13:32.708] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行461: [2026-01-12 18:13:32.897] [参与] basic_join_decision:参与成功 -行472: [2026-01-12 18:13:53.764] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行474: [2026-01-12 18:13:53.968] [参与] basic_join_decision:参与成功 -行484: [2026-01-12 18:14:15.457] [参与] 参与成功,设置等待开奖标志 -行486: [2026-01-12 18:14:15.651] [参与] basic_join_decision:参与成功 -行488: [2026-01-12 18:14:15.655] [参与] 参与成功,设置等待开奖标志,停止其他行为 -行635: [2026-01-12 18:19:58.029] [参与] basic_join_decision:参与成功 -行646: [2026-01-12 18:20:08.345] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行648: [2026-01-12 18:20:08.531] [参与] basic_join_decision:参与成功 -行659: [2026-01-12 18:20:19.263] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行661: [2026-01-12 18:20:19.473] [参与] basic_join_decision:参与成功 -行672: [2026-01-12 18:20:29.542] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行674: [2026-01-12 18:20:29.750] [参与] basic_join_decision:参与成功 -行685: [2026-01-12 18:20:40.138] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行687: [2026-01-12 18:20:40.362] [参与] basic_join_decision:参与成功 -行698: [2026-01-12 18:20:51.078] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行700: [2026-01-12 18:20:51.266] [参与] basic_join_decision:参与成功 -行711: [2026-01-12 18:21:01.449] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行713: [2026-01-12 18:21:01.640] [参与] basic_join_decision:参与成功 -行724: [2026-01-12 18:21:12.378] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行726: [2026-01-12 18:21:12.585] [参与] basic_join_decision:参与成功 -行737: [2026-01-12 18:21:22.874] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行739: [2026-01-12 18:21:23.079] [参与] basic_join_decision:参与成功 -行750: [2026-01-12 18:21:33.593] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行752: [2026-01-12 18:21:33.765] [参与] basic_join_decision:参与成功 -行763: [2026-01-12 18:21:43.726] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行765: [2026-01-12 18:21:43.938] [参与] basic_join_decision:参与成功 -行776: [2026-01-12 18:21:53.868] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行778: [2026-01-12 18:21:54.054] [参与] basic_join_decision:参与成功 -行789: [2026-01-12 18:22:04.201] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行791: [2026-01-12 18:22:04.395] [参与] basic_join_decision:参与成功 -行802: [2026-01-12 18:22:14.803] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行804: [2026-01-12 18:22:15.002] [参与] basic_join_decision:参与成功 -行815: [2026-01-12 18:22:25.368] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行817: [2026-01-12 18:22:25.557] [参与] basic_join_decision:参与成功 -行828: [2026-01-12 18:22:35.783] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行830: [2026-01-12 18:22:35.986] [参与] basic_join_decision:参与成功 -行841: [2026-01-12 18:22:46.300] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行843: [2026-01-12 18:22:46.484] [参与] basic_join_decision:参与成功 -行854: [2026-01-12 18:22:56.576] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行856: [2026-01-12 18:22:56.767] [参与] basic_join_decision:参与成功 -行867: [2026-01-12 18:23:07.053] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行869: [2026-01-12 18:23:07.241] [参与] basic_join_decision:参与成功 -行880: [2026-01-12 18:23:18.387] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行882: [2026-01-12 18:23:18.587] [参与] basic_join_decision:参与成功 -行893: [2026-01-12 18:23:29.624] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行895: [2026-01-12 18:23:29.802] [参与] basic_join_decision:参与成功 -行1019: [2026-01-12 18:29:23.778] [参与] 参与成功,设置等待开奖标志 -行1021: [2026-01-12 18:29:23.978] [参与] basic_join_decision:参与成功 -行1023: [2026-01-12 18:29:23.983] [参与] 参与成功,设置等待开奖标志,停止其他行为 -行1148: [2026-01-12 18:34:49.189] [参与] basic_join_decision:参与成功 -行1156: [2026-01-12 18:34:55.656] [参与] basic_join_decision:参与成功 -行1161: [2026-01-12 18:34:59.740] [参与] 第二次打开:直接点击参与成功 -行1420: [2026-01-12 18:40:10.763] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行1422: [2026-01-12 18:40:10.956] [参与] basic_join_decision:参与成功 -行1517: [2026-01-12 18:44:02.503] [参与] basic_join_decision:参与成功 -行1802: [2026-01-12 18:58:34.025] [参与] basic_join_decision:参与成功 -行1813: [2026-01-12 18:58:44.901] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行1815: [2026-01-12 18:58:45.080] [参与] basic_join_decision:参与成功 -行1826: [2026-01-12 18:58:55.490] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行1828: [2026-01-12 18:58:55.671] [参与] basic_join_decision:参与成功 -行1839: [2026-01-12 18:59:05.890] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行1841: [2026-01-12 18:59:06.099] [参与] basic_join_decision:参与成功 -行1852: [2026-01-12 18:59:16.796] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行1854: [2026-01-12 18:59:16.989] [参与] basic_join_decision:参与成功 -行1864: [2026-01-12 18:59:27.930] [参与] 参与成功,设置等待开奖标志 -行1866: [2026-01-12 18:59:28.131] [参与] basic_join_decision:参与成功 -行1868: [2026-01-12 18:59:28.137] [参与] 参与成功,设置等待开奖标志,停止其他行为 -行1932: [2026-01-12 19:02:03.555] [参与] basic_join_decision:参与成功 -行1942: [2026-01-12 19:02:11.050] [参与] 参与成功,设置等待开奖标志 -行1944: [2026-01-12 19:02:11.258] [参与] basic_join_decision:参与成功 -行1946: [2026-01-12 19:02:11.261] [参与] 参与成功,设置等待开奖标志,停止其他行为 -行1966: [2026-01-12 19:02:53.466] [参与] basic_join_decision:参与成功 -行1976: [2026-01-12 19:03:01.551] [参与] 参与成功,设置等待开奖标志 -行1978: [2026-01-12 19:03:01.786] [参与] basic_join_decision:参与成功 -行1980: [2026-01-12 19:03:01.788] [参与] 参与成功,设置等待开奖标志,停止其他行为 -行2101: [2026-01-12 19:09:03.191] [参与] basic_join_decision:参与成功 -行2111: [2026-01-12 19:09:10.748] [参与] 参与成功,设置等待开奖标志 -行2113: [2026-01-12 19:09:10.954] [参与] basic_join_decision:参与成功 -行2115: [2026-01-12 19:09:10.956] [参与] 参与成功,设置等待开奖标志,停止其他行为 -行2155: [2026-01-12 19:11:13.156] [参与] basic_join_decision:参与成功 -行2198: [2026-01-12 19:13:17.244] [参与] basic_join_decision:参与成功 -行2208: [2026-01-12 19:13:27.563] [参与] 参与成功,设置等待开奖标志 -行2210: [2026-01-12 19:13:27.752] [参与] basic_join_decision:参与成功 -行2212: [2026-01-12 19:13:27.757] [参与] 参与成功,设置等待开奖标志,停止其他行为 -行2272: [2026-01-12 19:15:46.229] [参与] basic_join_decision:参与成功 -行2286: [2026-01-12 19:16:14.812] [参与] 参与成功,设置等待开奖标志 -行2288: [2026-01-12 19:16:15.024] [参与] basic_join_decision:参与成功 -行2290: [2026-01-12 19:16:15.029] [参与] 参与成功,设置等待开奖标志,停止其他行为 -行2356: [2026-01-12 19:19:08.639] [参与] basic_join_decision:参与成功 -行2366: [2026-01-12 19:19:22.009] [参与] 参与成功,设置等待开奖标志 -行2368: [2026-01-12 19:19:22.222] [参与] basic_join_decision:参与成功 -行2370: [2026-01-12 19:19:22.226] [参与] 参与成功,设置等待开奖标志,停止其他行为 -行2447: [2026-01-12 19:22:49.371] [参与] basic_join_decision:参与成功 -行2458: [2026-01-12 19:23:00.047] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行2460: [2026-01-12 19:23:00.235] [参与] basic_join_decision:参与成功 -行2471: [2026-01-12 19:23:10.839] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行2473: [2026-01-12 19:23:11.024] [参与] basic_join_decision:参与成功 -行2484: [2026-01-12 19:23:22.196] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行2486: [2026-01-12 19:23:22.396] [参与] basic_join_decision:参与成功 -行2497: [2026-01-12 19:23:33.018] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行2499: [2026-01-12 19:23:33.225] [参与] basic_join_decision:参与成功 -行2510: [2026-01-12 19:23:43.803] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行2512: [2026-01-12 19:23:44.000] [参与] basic_join_decision:参与成功 -行2523: [2026-01-12 19:23:54.585] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行2525: [2026-01-12 19:23:54.779] [参与] basic_join_decision:参与成功 -行2536: [2026-01-12 19:24:05.853] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行2538: [2026-01-12 19:24:06.051] [参与] basic_join_decision:参与成功 -行2549: [2026-01-12 19:24:16.859] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行2551: [2026-01-12 19:24:17.049] [参与] basic_join_decision:参与成功 -行2562: [2026-01-12 19:24:28.013] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行2564: [2026-01-12 19:24:28.203] [参与] basic_join_decision:参与成功 -行2575: [2026-01-12 19:24:38.749] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行2577: [2026-01-12 19:24:38.947] [参与] basic_join_decision:参与成功 -行2588: [2026-01-12 19:24:50.044] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行2590: [2026-01-12 19:24:50.231] [参与] basic_join_decision:参与成功 -行2601: [2026-01-12 19:25:01.850] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行2603: [2026-01-12 19:25:02.070] [参与] basic_join_decision:参与成功 -行2626: [2026-01-12 19:25:49.435] [参与] basic_join_decision:参与成功 -行2636: [2026-01-12 19:26:06.702] [参与] 参与成功,设置等待开奖标志 -行2638: [2026-01-12 19:26:06.930] [参与] basic_join_decision:参与成功 -行2640: [2026-01-12 19:26:06.933] [参与] 参与成功,设置等待开奖标志,停止其他行为 -行2669: [2026-01-12 19:27:15.402] [参与] basic_join_decision:参与成功 -行2680: [2026-01-12 19:27:25.758] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行2682: [2026-01-12 19:27:25.962] [参与] basic_join_decision:参与成功 -行2693: [2026-01-12 19:27:36.580] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行2695: [2026-01-12 19:27:36.782] [参与] basic_join_decision:参与成功 -行2706: [2026-01-12 19:27:47.267] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行2708: [2026-01-12 19:27:47.472] [参与] basic_join_decision:参与成功 -行2719: [2026-01-12 19:27:57.624] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行2721: [2026-01-12 19:27:57.835] [参与] basic_join_decision:参与成功 -行2732: [2026-01-12 19:28:08.174] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行2734: [2026-01-12 19:28:08.363] [参与] basic_join_decision:参与成功 -行2745: [2026-01-12 19:28:18.761] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行2747: [2026-01-12 19:28:18.958] [参与] basic_join_decision:参与成功 -行2758: [2026-01-12 19:28:29.277] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行2760: [2026-01-12 19:28:29.468] [参与] basic_join_decision:参与成功 -行2771: [2026-01-12 19:28:39.896] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行2773: [2026-01-12 19:28:40.100] [参与] basic_join_decision:参与成功 -行2870: [2026-01-12 19:32:20.178] [参与] basic_join_decision:参与成功 -行2949: [2026-01-12 19:35:29.126] [参与] basic_join_decision:参与成功 -行2959: [2026-01-12 19:35:46.750] [参与] 参与成功,设置等待开奖标志 -行2961: [2026-01-12 19:35:46.979] [参与] basic_join_decision:参与成功 -行2963: [2026-01-12 19:35:46.983] [参与] 参与成功,设置等待开奖标志,停止其他行为 -行3027: [2026-01-12 19:39:01.314] [参与] basic_join_decision:参与成功 -行3038: [2026-01-12 19:39:11.670] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行3040: [2026-01-12 19:39:11.887] [参与] basic_join_decision:参与成功 -行3051: [2026-01-12 19:39:22.105] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行3053: [2026-01-12 19:39:22.311] [参与] basic_join_decision:参与成功 -行3064: [2026-01-12 19:39:32.871] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行3066: [2026-01-12 19:39:33.049] [参与] basic_join_decision:参与成功 -行3077: [2026-01-12 19:39:44.100] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行3079: [2026-01-12 19:39:44.300] [参与] basic_join_decision:参与成功 -行3089: [2026-01-12 19:39:54.822] [参与] 参与成功,设置等待开奖标志 -行3091: [2026-01-12 19:39:55.014] [参与] basic_join_decision:参与成功 -行3093: [2026-01-12 19:39:55.020] [参与] 参与成功,设置等待开奖标志,停止其他行为 -行3190: [2026-01-12 19:44:25.663] [参与] basic_join_decision:参与成功 -行3200: [2026-01-12 19:44:32.599] [参与] 参与成功,设置等待开奖标志 -行3202: [2026-01-12 19:44:32.821] [参与] basic_join_decision:参与成功 -行3204: [2026-01-12 19:44:32.823] [参与] 参与成功,设置等待开奖标志,停止其他行为 -行3297: [2026-01-12 19:47:40.716] [参与] basic_join_decision:参与成功 -行3307: [2026-01-12 19:47:48.146] [参与] 参与成功,设置等待开奖标志 -行3309: [2026-01-12 19:47:48.331] [参与] basic_join_decision:参与成功 -行3311: [2026-01-12 19:47:48.334] [参与] 参与成功,设置等待开奖标志,停止其他行为 -行3396: [2026-01-12 19:51:48.782] [参与] basic_join_decision:参与成功 -行3407: [2026-01-12 19:51:59.749] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行3409: [2026-01-12 19:51:59.931] [参与] basic_join_decision:参与成功 -行3420: [2026-01-12 19:52:10.869] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行3422: [2026-01-12 19:52:11.079] [参与] basic_join_decision:参与成功 -行3433: [2026-01-12 19:52:22.239] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行3435: [2026-01-12 19:52:22.439] [参与] basic_join_decision:参与成功 -行3446: [2026-01-12 19:52:33.736] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行3448: [2026-01-12 19:52:33.931] [参与] basic_join_decision:参与成功 -行3459: [2026-01-12 19:52:45.036] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行3461: [2026-01-12 19:52:45.239] [参与] basic_join_decision:参与成功 -行3472: [2026-01-12 19:52:56.380] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行3474: [2026-01-12 19:52:56.566] [参与] basic_join_decision:参与成功 -行3485: [2026-01-12 19:53:07.764] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行3487: [2026-01-12 19:53:07.950] [参与] basic_join_decision:参与成功 -行3498: [2026-01-12 19:53:19.087] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行3500: [2026-01-12 19:53:19.275] [参与] basic_join_decision:参与成功 -行3511: [2026-01-12 19:53:30.566] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行3513: [2026-01-12 19:53:30.771] [参与] basic_join_decision:参与成功 -行3524: [2026-01-12 19:53:42.002] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行3526: [2026-01-12 19:53:42.190] [参与] basic_join_decision:参与成功 -行3537: [2026-01-12 19:53:53.421] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行3539: [2026-01-12 19:53:53.605] [参与] basic_join_decision:参与成功 -行3550: [2026-01-12 19:54:04.833] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行3552: [2026-01-12 19:54:05.027] [参与] basic_join_decision:参与成功 -行3563: [2026-01-12 19:54:16.153] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行3565: [2026-01-12 19:54:16.342] [参与] basic_join_decision:参与成功 -行3576: [2026-01-12 19:54:27.050] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行3578: [2026-01-12 19:54:27.250] [参与] basic_join_decision:参与成功 -行3589: [2026-01-12 19:54:38.224] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行3591: [2026-01-12 19:54:38.426] [参与] basic_join_decision:参与成功 -行3602: [2026-01-12 19:54:49.490] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行3604: [2026-01-12 19:54:49.711] [参与] basic_join_decision:参与成功 -行3615: [2026-01-12 19:55:00.732] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行3617: [2026-01-12 19:55:00.937] [参与] basic_join_decision:参与成功 -行3628: [2026-01-12 19:55:11.990] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行3630: [2026-01-12 19:55:12.176] [参与] basic_join_decision:参与成功 -行3641: [2026-01-12 19:55:23.026] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行3643: [2026-01-12 19:55:23.227] [参与] basic_join_decision:参与成功 -行3785: [2026-01-12 20:01:53.769] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行3787: [2026-01-12 20:01:53.980] [参与] basic_join_decision:参与成功 -行3798: [2026-01-12 20:02:05.082] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行3800: [2026-01-12 20:02:05.299] [参与] basic_join_decision:参与成功 -行3811: [2026-01-12 20:02:15.936] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行3813: [2026-01-12 20:02:16.136] [参与] basic_join_decision:参与成功 -行3824: [2026-01-12 20:02:27.770] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行3826: [2026-01-12 20:02:27.983] [参与] basic_join_decision:参与成功 -行3837: [2026-01-12 20:02:38.662] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行3839: [2026-01-12 20:02:38.879] [参与] basic_join_decision:参与成功 -行3850: [2026-01-12 20:02:50.082] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行3852: [2026-01-12 20:02:50.278] [参与] basic_join_decision:参与成功 -行3971: [2026-01-12 20:07:22.107] [参与] basic_join_decision:参与成功 -行3981: [2026-01-12 20:07:33.559] [参与] basic_join_decision:参与成功 -行3992: [2026-01-12 20:07:44.935] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行3994: [2026-01-12 20:07:45.132] [参与] basic_join_decision:参与成功 -行4005: [2026-01-12 20:07:56.666] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行4007: [2026-01-12 20:07:56.894] [参与] basic_join_decision:参与成功 -行4101: [2026-01-12 20:11:20.870] [参与] basic_join_decision:参与成功 -行4333: [2026-01-12 20:21:09.808] [参与] basic_join_decision:参与成功 -行4343: [2026-01-12 20:21:16.831] [参与] 参与成功,设置等待开奖标志 -行4345: [2026-01-12 20:21:17.043] [参与] basic_join_decision:参与成功 -行4347: [2026-01-12 20:21:17.047] [参与] 参与成功,设置等待开奖标志,停止其他行为 -行4448: [2026-01-12 20:26:27.313] [参与] basic_join_decision:参与成功 -行4459: [2026-01-12 20:26:37.610] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行4461: [2026-01-12 20:26:37.808] [参与] basic_join_decision:参与成功 -行4506: [2026-01-12 20:28:45.743] [参与] 参与成功,设置等待开奖标志 -行4508: [2026-01-12 20:28:45.968] [参与] basic_join_decision:参与成功 -行4510: [2026-01-12 20:28:45.973] [参与] 参与成功,设置等待开奖标志,停止其他行为 -行4651: [2026-01-12 20:34:20.830] [参与] basic_join_decision:参与成功 -行4757: [2026-01-12 20:38:07.195] [参与] basic_join_decision:参与成功 -行4833: [2026-01-12 20:41:57.875] [参与] basic_join_decision:参与成功 -行4844: [2026-01-12 20:42:19.655] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行4846: [2026-01-12 20:42:19.871] [参与] basic_join_decision:参与成功 -行4857: [2026-01-12 20:42:40.928] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行4859: [2026-01-12 20:42:41.117] [参与] basic_join_decision:参与成功 -行4870: [2026-01-12 20:43:02.064] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行4872: [2026-01-12 20:43:02.263] [参与] basic_join_decision:参与成功 -行4883: [2026-01-12 20:43:24.976] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行4885: [2026-01-12 20:43:25.183] [参与] basic_join_decision:参与成功 -行4896: [2026-01-12 20:43:46.817] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行4898: [2026-01-12 20:43:47.019] [参与] basic_join_decision:参与成功 -行4909: [2026-01-12 20:44:08.605] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行4911: [2026-01-12 20:44:08.800] [参与] basic_join_decision:参与成功 -行4922: [2026-01-12 20:44:31.147] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行4924: [2026-01-12 20:44:31.320] [参与] basic_join_decision:参与成功 -行4978: [2026-01-12 20:46:26.058] [参与] 参与成功,设置等待开奖标志 -行4980: [2026-01-12 20:46:26.256] [参与] basic_join_decision:参与成功 -行4982: [2026-01-12 20:46:26.262] [参与] 参与成功,设置等待开奖标志,停止其他行为 -行5224: [2026-01-12 20:56:14.498] [参与] basic_join_decision:参与成功 -行5259: [2026-01-12 20:57:18.287] [参与] basic_join_decision:参与成功 -行5323: [2026-01-12 21:00:49.538] [参与] basic_join_decision:参与成功 -行5358: [2026-01-12 21:01:57.628] [参与] basic_join_decision:参与成功 -行5369: [2026-01-12 21:02:07.881] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行5371: [2026-01-12 21:02:08.087] [参与] basic_join_decision:参与成功 -行5382: [2026-01-12 21:02:18.501] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行5384: [2026-01-12 21:02:18.694] [参与] basic_join_decision:参与成功 -行5395: [2026-01-12 21:02:29.602] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行5397: [2026-01-12 21:02:29.810] [参与] basic_join_decision:参与成功 -行5501: [2026-01-12 21:05:21.702] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行5503: [2026-01-12 21:05:21.889] [参与] basic_join_decision:参与成功 -行5513: [2026-01-12 21:05:32.418] [参与] 参与成功,设置等待开奖标志 -行5515: [2026-01-12 21:05:32.604] [参与] basic_join_decision:参与成功 -行5517: [2026-01-12 21:05:32.609] [参与] 参与成功,设置等待开奖标志,停止其他行为 -行5606: [2026-01-12 21:09:48.041] [参与] basic_join_decision:参与成功 -行5616: [2026-01-12 21:09:54.964] [参与] 参与成功,设置等待开奖标志 -行5618: [2026-01-12 21:09:55.171] [参与] basic_join_decision:参与成功 -行5620: [2026-01-12 21:09:55.174] [参与] 参与成功,设置等待开奖标志,停止其他行为 -行5872: [2026-01-12 21:21:24.597] [参与] basic_join_decision:参与成功 -行5877: [2026-01-12 21:21:27.310] [参与] 第二次打开:直接点击参与成功 -行5886: [2026-01-12 21:21:34.806] [参与] 参与成功,设置等待开奖标志 -行5888: [2026-01-12 21:21:35.012] [参与] basic_join_decision:参与成功 -行5890: [2026-01-12 21:21:35.016] [参与] 参与成功,设置等待开奖标志,停止其他行为 -行6276: [2026-01-12 21:37:40.538] [参与] basic_join_decision:参与成功 -行6286: [2026-01-12 21:37:47.834] [参与] 参与成功,设置等待开奖标志 -行6288: [2026-01-12 21:37:48.053] [参与] basic_join_decision:参与成功 -行6290: [2026-01-12 21:37:48.057] [参与] 参与成功,设置等待开奖标志,停止其他行为 -行6437: [2026-01-12 21:44:15.570] [参与] basic_join_decision:参与成功 -行6447: [2026-01-12 21:44:23.256] [参与] 参与成功,设置等待开奖标志 -行6449: [2026-01-12 21:44:23.474] [参与] basic_join_decision:参与成功 -行6451: [2026-01-12 21:44:23.476] [参与] 参与成功,设置等待开奖标志,停止其他行为 -行6483: [2026-01-12 21:45:52.175] [参与] basic_join_decision:参与成功 -行6493: [2026-01-12 21:46:10.275] [参与] 参与成功,设置等待开奖标志 -行6495: [2026-01-12 21:46:10.516] [参与] basic_join_decision:参与成功 -行6497: [2026-01-12 21:46:10.519] [参与] 参与成功,设置等待开奖标志,停止其他行为 -行6550: [2026-01-12 21:48:18.066] [参与] basic_join_decision:参与成功 -行6633: [2026-01-12 21:51:35.599] [参与] basic_join_decision:参与成功 -行6643: [2026-01-12 21:51:43.228] [参与] 参与成功,设置等待开奖标志 -行6645: [2026-01-12 21:51:43.445] [参与] basic_join_decision:参与成功 -行6647: [2026-01-12 21:51:43.447] [参与] 参与成功,设置等待开奖标志,停止其他行为 -行6905: [2026-01-12 22:03:02.104] [参与] basic_join_decision:参与成功 -行6915: [2026-01-12 22:03:10.777] [参与] 参与成功,设置等待开奖标志 -行6917: [2026-01-12 22:03:10.960] [参与] basic_join_decision:参与成功 -行6919: [2026-01-12 22:03:10.964] [参与] 参与成功,设置等待开奖标志,停止其他行为 -行7190: [2026-01-12 22:15:54.265] [参与] basic_join_decision:参与成功 -行7200: [2026-01-12 22:16:01.640] [参与] 参与成功,设置等待开奖标志 -行7202: [2026-01-12 22:16:01.839] [参与] basic_join_decision:参与成功 -行7204: [2026-01-12 22:16:01.841] [参与] 参与成功,设置等待开奖标志,停止其他行为 -行7243: [2026-01-12 22:17:54.276] [参与] basic_join_decision:参与成功 -行7254: [2026-01-12 22:18:04.702] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行7256: [2026-01-12 22:18:04.907] [参与] basic_join_decision:参与成功 -行7267: [2026-01-12 22:18:15.625] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行7269: [2026-01-12 22:18:15.802] [参与] basic_join_decision:参与成功 -行7280: [2026-01-12 22:18:26.422] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行7282: [2026-01-12 22:18:26.615] [参与] basic_join_decision:参与成功 -行7293: [2026-01-12 22:18:37.098] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行7295: [2026-01-12 22:18:37.277] [参与] basic_join_decision:参与成功 -行7306: [2026-01-12 22:18:47.649] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行7308: [2026-01-12 22:18:47.842] [参与] basic_join_decision:参与成功 -行7319: [2026-01-12 22:18:58.529] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行7321: [2026-01-12 22:18:58.742] [参与] basic_join_decision:参与成功 -行7332: [2026-01-12 22:19:09.120] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行7334: [2026-01-12 22:19:09.312] [参与] basic_join_decision:参与成功 -行7345: [2026-01-12 22:19:19.817] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行7347: [2026-01-12 22:19:20.017] [参与] basic_join_decision:参与成功 -行7358: [2026-01-12 22:19:30.232] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行7360: [2026-01-12 22:19:30.437] [参与] basic_join_decision:参与成功 -行7371: [2026-01-12 22:19:40.923] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行7373: [2026-01-12 22:19:41.110] [参与] basic_join_decision:参与成功 -行7384: [2026-01-12 22:19:51.322] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行7386: [2026-01-12 22:19:51.494] [参与] basic_join_decision:参与成功 -行7397: [2026-01-12 22:20:01.909] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行7399: [2026-01-12 22:20:02.081] [参与] basic_join_decision:参与成功 -行7410: [2026-01-12 22:20:12.144] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行7412: [2026-01-12 22:20:12.339] [参与] basic_join_decision:参与成功 -行7423: [2026-01-12 22:20:22.718] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行7425: [2026-01-12 22:20:22.906] [参与] basic_join_decision:参与成功 -行7436: [2026-01-12 22:20:36.676] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行7438: [2026-01-12 22:20:36.865] [参与] basic_join_decision:参与成功 -行7449: [2026-01-12 22:20:47.326] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行7451: [2026-01-12 22:20:47.536] [参与] basic_join_decision:参与成功 -行7462: [2026-01-12 22:20:58.027] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行7464: [2026-01-12 22:20:58.209] [参与] basic_join_decision:参与成功 -行7475: [2026-01-12 22:21:08.765] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行7477: [2026-01-12 22:21:08.954] [参与] basic_join_decision:参与成功 -行7488: [2026-01-12 22:21:19.380] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行7490: [2026-01-12 22:21:19.565] [参与] basic_join_decision:参与成功 -行7501: [2026-01-12 22:21:29.903] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行7503: [2026-01-12 22:21:30.101] [参与] basic_join_decision:参与成功 -行7514: [2026-01-12 22:21:40.797] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行7516: [2026-01-12 22:21:40.986] [参与] basic_join_decision:参与成功 -行7527: [2026-01-12 22:21:51.374] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行7529: [2026-01-12 22:21:51.566] [参与] basic_join_decision:参与成功 -行7540: [2026-01-12 22:22:02.173] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行7542: [2026-01-12 22:22:02.376] [参与] basic_join_decision:参与成功 -行7553: [2026-01-12 22:22:13.645] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行7555: [2026-01-12 22:22:13.848] [参与] basic_join_decision:参与成功 -行7566: [2026-01-12 22:22:24.189] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行7568: [2026-01-12 22:22:24.369] [参与] basic_join_decision:参与成功 -行7579: [2026-01-12 22:22:35.494] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行7581: [2026-01-12 22:22:35.685] [参与] basic_join_decision:参与成功 -行7592: [2026-01-12 22:22:45.778] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行7594: [2026-01-12 22:22:45.977] [参与] basic_join_decision:参与成功 -行7605: [2026-01-12 22:22:56.356] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行7607: [2026-01-12 22:22:56.532] [参与] basic_join_decision:参与成功 -行7618: [2026-01-12 22:23:06.861] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行7620: [2026-01-12 22:23:07.067] [参与] basic_join_decision:参与成功 -行7631: [2026-01-12 22:23:17.458] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行7633: [2026-01-12 22:23:17.672] [参与] basic_join_decision:参与成功 -行7644: [2026-01-12 22:23:28.209] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行7646: [2026-01-12 22:23:28.408] [参与] basic_join_decision:参与成功 -行7657: [2026-01-12 22:23:38.855] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行7659: [2026-01-12 22:23:39.053] [参与] basic_join_decision:参与成功 -行7670: [2026-01-12 22:23:49.851] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行7672: [2026-01-12 22:23:50.026] [参与] basic_join_decision:参与成功 -行7683: [2026-01-12 22:24:00.550] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行7685: [2026-01-12 22:24:00.757] [参与] basic_join_decision:参与成功 -行7696: [2026-01-12 22:24:11.563] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行7698: [2026-01-12 22:24:11.733] [参与] basic_join_decision:参与成功 -行7709: [2026-01-12 22:24:22.422] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行7711: [2026-01-12 22:24:22.606] [参与] basic_join_decision:参与成功 -行7722: [2026-01-12 22:24:33.402] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行7724: [2026-01-12 22:24:33.592] [参与] basic_join_decision:参与成功 -行7735: [2026-01-12 22:24:44.265] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行7737: [2026-01-12 22:24:44.475] [参与] basic_join_decision:参与成功 -行7748: [2026-01-12 22:24:55.264] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行7750: [2026-01-12 22:24:55.443] [参与] basic_join_decision:参与成功 -行7761: [2026-01-12 22:25:06.342] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行7763: [2026-01-12 22:25:06.521] [参与] basic_join_decision:参与成功 -行7774: [2026-01-12 22:25:17.220] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行7776: [2026-01-12 22:25:17.418] [参与] basic_join_decision:参与成功 -行7787: [2026-01-12 22:25:28.205] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行7789: [2026-01-12 22:25:28.425] [参与] basic_join_decision:参与成功 -行7800: [2026-01-12 22:25:39.162] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行7802: [2026-01-12 22:25:39.364] [参与] basic_join_decision:参与成功 -行7813: [2026-01-12 22:25:49.736] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行7815: [2026-01-12 22:25:49.942] [参与] basic_join_decision:参与成功 -行7826: [2026-01-12 22:26:00.687] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行7828: [2026-01-12 22:26:00.880] [参与] basic_join_decision:参与成功 -行7839: [2026-01-12 22:26:11.295] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行7841: [2026-01-12 22:26:11.507] [参与] basic_join_decision:参与成功 -行7852: [2026-01-12 22:26:22.123] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行7854: [2026-01-12 22:26:22.335] [参与] basic_join_decision:参与成功 -行7865: [2026-01-12 22:26:33.003] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行7867: [2026-01-12 22:26:33.221] [参与] basic_join_decision:参与成功 -行7878: [2026-01-12 22:26:45.182] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行7880: [2026-01-12 22:26:45.403] [参与] basic_join_decision:参与成功 -行7891: [2026-01-12 22:26:55.732] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行7893: [2026-01-12 22:26:55.931] [参与] basic_join_decision:参与成功 -行7904: [2026-01-12 22:27:06.394] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行7906: [2026-01-12 22:27:06.596] [参与] basic_join_decision:参与成功 -行7917: [2026-01-12 22:27:16.962] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行7919: [2026-01-12 22:27:17.179] [参与] basic_join_decision:参与成功 -行7930: [2026-01-12 22:27:27.231] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行7932: [2026-01-12 22:27:27.417] [参与] basic_join_decision:参与成功 -行7943: [2026-01-12 22:27:37.425] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行7945: [2026-01-12 22:27:37.607] [参与] basic_join_decision:参与成功 -行7956: [2026-01-12 22:27:47.612] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行7958: [2026-01-12 22:27:47.808] [参与] basic_join_decision:参与成功 -行7968: [2026-01-12 22:27:57.953] [参与] 参与成功,设置等待开奖标志 -行7970: [2026-01-12 22:27:58.151] [参与] basic_join_decision:参与成功 -行7972: [2026-01-12 22:27:58.156] [参与] 参与成功,设置等待开奖标志,停止其他行为 -行8060: [2026-01-12 22:31:51.932] [参与] basic_join_decision:参与成功 -行8070: [2026-01-12 22:31:59.351] [参与] 参与成功,设置等待开奖标志 -行8072: [2026-01-12 22:31:59.554] [参与] basic_join_decision:参与成功 -行8074: [2026-01-12 22:31:59.557] [参与] 参与成功,设置等待开奖标志,停止其他行为 -行8162: [2026-01-12 22:35:32.060] [参与] basic_join_decision:参与成功 -行8172: [2026-01-12 22:35:39.439] [参与] 参与成功,设置等待开奖标志 -行8174: [2026-01-12 22:35:39.638] [参与] basic_join_decision:参与成功 -行8176: [2026-01-12 22:35:39.641] [参与] 参与成功,设置等待开奖标志,停止其他行为 -行8212: [2026-01-12 22:37:20.177] [参与] basic_join_decision:参与成功 -行8235: [2026-01-12 22:37:56.678] [参与] basic_join_decision:参与成功 -行8245: [2026-01-12 22:38:04.585] [参与] 参与成功,设置等待开奖标志 -行8247: [2026-01-12 22:38:04.780] [参与] basic_join_decision:参与成功 -行8249: [2026-01-12 22:38:04.784] [参与] 参与成功,设置等待开奖标志,停止其他行为 -行8266: [2026-01-12 22:38:34.867] [参与] basic_join_decision:参与成功 -行8382: [2026-01-12 22:42:55.124] [参与] basic_join_decision:参与成功 -行8392: [2026-01-12 22:43:02.568] [参与] 参与成功,设置等待开奖标志 -行8394: [2026-01-12 22:43:02.766] [参与] basic_join_decision:参与成功 -行8396: [2026-01-12 22:43:02.769] [参与] 参与成功,设置等待开奖标志,停止其他行为 -行8536: [2026-01-12 22:49:43.113] [参与] basic_join_decision:参与成功 -行8546: [2026-01-12 22:49:51.541] [参与] 参与成功,设置等待开奖标志 -行8548: [2026-01-12 22:49:51.753] [参与] basic_join_decision:参与成功 -行8550: [2026-01-12 22:49:51.756] [参与] 参与成功,设置等待开奖标志,停止其他行为 -行8595: [2026-01-12 22:52:29.867] [参与] basic_join_decision:参与成功 -行8606: [2026-01-12 22:52:40.240] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行8608: [2026-01-12 22:52:40.436] [参与] basic_join_decision:参与成功 -行8619: [2026-01-12 22:52:51.194] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行8621: [2026-01-12 22:52:51.414] [参与] basic_join_decision:参与成功 -行8632: [2026-01-12 22:53:01.999] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行8634: [2026-01-12 22:53:02.196] [参与] basic_join_decision:参与成功 -行8645: [2026-01-12 22:53:12.874] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行8647: [2026-01-12 22:53:13.073] [参与] basic_join_decision:参与成功 -行8658: [2026-01-12 22:53:23.935] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行8660: [2026-01-12 22:53:24.173] [参与] basic_join_decision:参与成功 -行8671: [2026-01-12 22:53:34.819] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行8673: [2026-01-12 22:53:35.036] [参与] basic_join_decision:参与成功 -行8684: [2026-01-12 22:53:45.482] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行8686: [2026-01-12 22:53:45.673] [参与] basic_join_decision:参与成功 -行8697: [2026-01-12 22:53:56.087] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行8699: [2026-01-12 22:53:56.273] [参与] basic_join_decision:参与成功 -行8710: [2026-01-12 22:54:06.457] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行8712: [2026-01-12 22:54:06.654] [参与] basic_join_decision:参与成功 -行8723: [2026-01-12 22:54:17.140] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行8725: [2026-01-12 22:54:17.323] [参与] basic_join_decision:参与成功 -行8736: [2026-01-12 22:54:28.589] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行8738: [2026-01-12 22:54:28.808] [参与] basic_join_decision:参与成功 -行8749: [2026-01-12 22:54:39.753] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行8751: [2026-01-12 22:54:39.963] [参与] basic_join_decision:参与成功 -行8762: [2026-01-12 22:54:50.191] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行8764: [2026-01-12 22:54:50.394] [参与] basic_join_decision:参与成功 -行8775: [2026-01-12 22:55:00.916] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行8777: [2026-01-12 22:55:01.112] [参与] basic_join_decision:参与成功 -行8788: [2026-01-12 22:55:11.990] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行8790: [2026-01-12 22:55:12.181] [参与] basic_join_decision:参与成功 -行8801: [2026-01-12 22:55:22.864] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行8803: [2026-01-12 22:55:23.089] [参与] basic_join_decision:参与成功 -行8814: [2026-01-12 22:55:34.039] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行8816: [2026-01-12 22:55:34.221] [参与] basic_join_decision:参与成功 -行8827: [2026-01-12 22:55:44.753] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行8829: [2026-01-12 22:55:44.957] [参与] basic_join_decision:参与成功 -行8840: [2026-01-12 22:55:55.826] [参与] 参与成功,但倒计时已过期,不设置等待标志 -行8842: [2026-01-12 22:55:56.013] [参与] basic_join_decision:参与成功 diff --git a/docs/reports/time_analysis_result.txt b/docs/reports/time_analysis_result.txt deleted file mode 100644 index d5062cd..0000000 --- a/docs/reports/time_analysis_result.txt +++ /dev/null @@ -1,33 +0,0 @@ -Reading logs\actions.log... -Reading logs\unified_2026-01-12_003546.log... -Reading logs\unified_2026-01-12.log... -Reading logs\unified_2026-01-11_230527.log... ------------------------------------------------------------------------------------------------------------------------ -Operation | Count | Avg | P50 | P80 | P95 | Max ------------------------------------------------------------------------------------------------------------------------ -[流程] run_once_basic | 142 | 14831.2 | 16210.0 | 23148.0 | 33541.5 | 55170.0 -[福袋查找] 福袋查找 | 100 | 11896.8 | 9166.0 | 15917.6 | 25612.3 | 38443.0 -[流程] handle_live_room_has_or_not_fudai | 100 | 11895.5 | 9165.0 | 15920.0 | 25610.5 | 38440.0 -[流程] handle_in_fudai_detail | 39 | 8981.0 | 6660.0 | 10746.0 | 21919.0 | 30030.0 -[参与] basic_join_decision | 24 | 7505.0 | 7070.0 | 8216.0 | 20918.0 | 27350.0 -[预约] [预约] process_reservation_attend_window 返回结果 | 7 | 7118.6 | 4890.0 | 6434.0 | 17838.0 | 22620.0 -[流程] find_and_open_fudai_detail | 100 | 5762.4 | 5135.0 | 6878.0 | 8632.5 | 10650.0 -[流程] 检测到福袋图标 | 318 | 3632.8 | 4305.0 | 4870.0 | 5060.0 | 5730.0 -[ACTION] return to recommend and reenter live | 23 | 3525.2 | 19.9 | 32.9 | 15656.4 | 63200.0 -[福袋详情] read_fudai_detail_with_retries | 44 | 2899.8 | 2840.0 | 2944.0 | 3068.5 | 4870.0 -[福袋详情] read_fudai_detail_once | 44 | 2039.3 | 1980.0 | 2078.0 | 2208.5 | 4000.0 -[福袋详情] 完整识别结果 | 44 | 2013.4 | 1940.0 | 2070.0 | 2140.0 | 4000.0 -[ACTION] 上滑切换直播间 | 8797 | 1473.9 | 1700.0 | 2160.0 | 2460.0 | 73260.0 -[截图] 获取屏幕截图 | 3224 | 1383.2 | 1340.8 | 1619.9 | 1955.4 | 2472.6 -[操作] 上滑切换直播间 | 110 | 846.4 | 510.0 | 532.0 | 1503.0 | 11990.0 -[OCR] 等待开奖期间OCR检测 | 3 | 810.0 | 810.0 | 858.0 | 882.0 | 890.0 -[预约] 预约检查 | 119 | 550.0 | 16.0 | 22.4 | 3580.8 | 22630.0 -[ACTION] 下滑回退直播间 | 3068 | 531.6 | 490.0 | 510.0 | 860.0 | 11910.0 -[操作] 点击操作 | 56 | 212.1 | 210.0 | 230.0 | 240.0 | 250.0 -[筛选] should_skip_fudai_by_config | 53 | 25.8 | 30.0 | 40.0 | 50.0 | 60.0 -[预约] [预约] add_reservation_core_logic | 19 | 25.8 | 20.0 | 40.0 | 51.0 | 60.0 -[预约] [预约] cleanup_expired_reservations | 27 | 7.4 | 0.0 | 8.0 | 40.0 | 40.0 -[[福袋查找] 像素检测] 实际福袋区域命中 | 45 | 0.2 | 0.0 | 0.0 | 0.0 | 10.0 -[[福袋查找] 像素检测] 实际福袋区域未命中 | 473 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 -[预约] [预约] | 119 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 ------------------------------------------------------------------------------------------------------------------------ diff --git a/douyin/core/douyin_flow_control.py b/douyin/core/douyin_flow_control.py index c5968cc..90d5f7b 100644 --- a/douyin/core/douyin_flow_control.py +++ b/douyin/core/douyin_flow_control.py @@ -18,7 +18,7 @@ import os from douyin.detection.douyin_detection import check_have_fudai_with_ready_screenshot from douyin.fudai.douyin_fudai_core import should_skip_fudai_by_config -import path_config +from douyin.core import path_config def handle_stage_after_diagnosis( diff --git a/douyin/core/douyin_fudai.py b/douyin/core/douyin_fudai.py index 3548b9d..c2a80fe 100644 --- a/douyin/core/douyin_fudai.py +++ b/douyin/core/douyin_fudai.py @@ -20,7 +20,7 @@ import logging from PIL import Image # type: ignore[import] import numpy as np # type: ignore[import] -from Underlying_Operations import underlying_operations +from douyin.core.underlying_operations import underlying_operations from douyin.stage import douyin_stage from douyin.detection import douyin_detection @@ -99,7 +99,7 @@ class fudai_analyse: logging.warning("日志系统初始化失败: %s", e) try: - from unified_logger import MDC, get_unified_logger + from douyin.logging.unified_logger import MDC, get_unified_logger # 为当前实例设置traceId MDC.set_trace_id(f"run_{self._run_id}") @@ -563,7 +563,7 @@ class fudai_analyse: """兼容原 fudai1.fudai_choujiang 的主入口(当前实现为精简版:仅基础抢福袋)。""" # 程序启动时清理旧截图文件,避免复用过期的截图 try: - import path_config + from douyin.core import path_config import os pic_path = path_config.get_screenshot_path() @@ -855,7 +855,7 @@ class fudai_analyse: 返回 ROI 图片路径(绝对路径),失败返回空字符串。 """ try: - import path_config + from douyin.core import path_config # use module-level `Image` diff --git a/douyin/core/fudai_modules/fudai_main_logic.py b/douyin/core/fudai_modules/fudai_main_logic.py index 7147720..e8d14aa 100644 --- a/douyin/core/fudai_modules/fudai_main_logic.py +++ b/douyin/core/fudai_modules/fudai_main_logic.py @@ -74,7 +74,7 @@ class MainLogicMixin(BaseFudaiMixin): # #region agent log import json import time as time_module - from path_config import get_debug_log_path + from douyin.core.path_config import get_debug_log_path current_ts = int(time_module.time() * 1000) with open(get_debug_log_path(), "a", encoding="utf-8") as f: @@ -143,7 +143,7 @@ class MainLogicMixin(BaseFudaiMixin): # #region agent log import json - from path_config import get_debug_log_path + from douyin.core.path_config import get_debug_log_path with open(get_debug_log_path(), "a", encoding="utf-8") as f: f.write( diff --git a/path_config.py b/douyin/core/path_config.py similarity index 95% rename from path_config.py rename to douyin/core/path_config.py index c5861ca..02557e2 100644 --- a/path_config.py +++ b/douyin/core/path_config.py @@ -5,7 +5,11 @@ import os from typing import Optional # 项目根目录(所有路径的基准) -PROJECT_ROOT = os.path.dirname(os.path.abspath(__file__)) +# __file__ 位于 /douyin/core/path_config.py, +# 所以项目根是当前文件向上两级目录。 +PROJECT_ROOT = os.path.dirname( + os.path.dirname(os.path.dirname(os.path.abspath(__file__))) +) def get_project_root() -> str: @@ -127,7 +131,7 @@ def get_robot_verify_pic_path(save_subdir: bool = False) -> str: def get_run_cli_path() -> str: """返回 run_cli.py 的路径(绝对路径)""" - return os.path.abspath(os.path.join(PROJECT_ROOT, "run_cli.py")) + return os.path.abspath(os.path.join(PROJECT_ROOT, "bin", "run_cli.py")) def ensure_dir(path: str) -> None: diff --git a/Underlying_Operations.py b/douyin/core/underlying_operations.py similarity index 99% rename from Underlying_Operations.py rename to douyin/core/underlying_operations.py index a52c9dd..2fa7cc2 100644 --- a/Underlying_Operations.py +++ b/douyin/core/underlying_operations.py @@ -495,11 +495,11 @@ class underlying_operations: 图片的完整路径,如果找不到且for_reading=True则返回None """ try: - import path_config + from douyin.core import path_config pic_base = path_config.get_pic_dir() except Exception: - import path_config + from douyin.core import path_config pic_base = path_config.get_pic_dir() @@ -747,11 +747,11 @@ class underlying_operations: if path == "pic": try: - import path_config + from douyin.core import path_config out_dir = path_config.get_pic_dir() except Exception: - import path_config + from douyin.core import path_config out_dir = path_config.get_pic_dir() else: @@ -1281,11 +1281,11 @@ class underlying_operations: def save_reward_pic(self, device_id): try: - import path_config + from douyin.core import path_config out_dir = path_config.get_pic_dir() except Exception: - import path_config + from douyin.core import path_config out_dir = path_config.get_pic_dir() if not os.path.exists(out_dir): @@ -1678,7 +1678,7 @@ class underlying_operations: if save_debug: from douyin.handlers import douyin_screenshot_manager - import path_config + from douyin.core import path_config # 尝试获取OCR区域坐标 ocr_coords = None @@ -1874,7 +1874,7 @@ class underlying_operations: # 加载完整截图 full_screenshot = None try: - import path_config + from douyin.core import path_config screenshot_path = path_config.get_screenshot_path() if os.path.exists(screenshot_path): @@ -2050,7 +2050,7 @@ class underlying_operations: # 保存预处理后的调试图像(OCR前)- 使用完整截图 try: from douyin.handlers import douyin_screenshot_manager - import path_config + from douyin.core import path_config # 尝试获取OCR区域坐标 ocr_coords = None @@ -2119,7 +2119,7 @@ class underlying_operations: # 保存OCR结果后的调试图像(带OCR文本结果和置信度)- 使用完整截图 try: from douyin.handlers import douyin_screenshot_manager - import path_config + from douyin.core import path_config # 尝试获取OCR区域坐标 ocr_coords = None @@ -3375,11 +3375,11 @@ class underlying_operations: return False try: - import path_config + from douyin.core import path_config local_path = path_config.get_window_dump_path() except Exception: - import path_config + from douyin.core import path_config local_path = path_config.get_window_dump_path() start = time_module.time() @@ -3428,11 +3428,11 @@ class underlying_operations: 如果没有文字,就在顶部区域按“最像关闭”的位置进行启发式选择。 """ try: - import path_config + from douyin.core import path_config local_path = path_config.get_window_dump_path() except Exception: - import path_config + from douyin.core import path_config local_path = path_config.get_window_dump_path() start = time_module.time() diff --git a/version.py b/douyin/core/version.py similarity index 100% rename from version.py rename to douyin/core/version.py diff --git a/douyin/detection/douyin_detection.py b/douyin/detection/douyin_detection.py index e8ca5e3..bcf9137 100644 --- a/douyin/detection/douyin_detection.py +++ b/douyin/detection/douyin_detection.py @@ -39,12 +39,12 @@ def check_detail_height(analyser: Any) -> int: """ # 使用统一的截图路径配置 try: - import path_config + from douyin.core import path_config pic1_path = path_config.get_screenshot_path() except Exception: # 回退到旧路径(向后兼容) - import path_config + from douyin.core import path_config pic1_path = path_config.get_screenshot_path() @@ -310,12 +310,12 @@ def check_have_fudai_with_ready_screenshot( func_start = time.time() # 使用统一的截图路径配置 try: - import path_config + from douyin.core import path_config pic1_path = path_config.get_screenshot_path() except Exception: # 回退到旧路径(向后兼容) - import path_config + from douyin.core import path_config pic1_path = path_config.get_screenshot_path() attempt_count = 0 # 仅用于日志记录,不影响循环控制 @@ -847,7 +847,7 @@ def check_have_fudai_with_ready_screenshot( # 获取模板路径 try: - import path_config + from douyin.core import path_config template_path = path_config.get_assets_dir() + "/fudai.png" except Exception: @@ -1243,7 +1243,7 @@ def check_have_fudai_with_ready_screenshot( # 获取模板路径 try: - import path_config + from douyin.core import path_config template_path = path_config.get_assets_dir() + "/fudai.png" except Exception: @@ -1729,7 +1729,7 @@ def check_in_fudai_detail(analyser: Any) -> bool: # 使用模板匹配检测,与 detect_fudai_detail_page 保持一致 try: from douyin.detection import douyin_pixel - import path_config + from douyin.core import path_config # 获取截图 pic_path = path_config.get_screenshot_path() diff --git a/douyin/detection/douyin_pixel.py b/douyin/detection/douyin_pixel.py index 6d62d46..d636a42 100644 --- a/douyin/detection/douyin_pixel.py +++ b/douyin/detection/douyin_pixel.py @@ -99,7 +99,7 @@ def detect_coupon_popup_background( # 使用统一的模板路径配置 try: - import path_config + from douyin.core import path_config template_path = path_config.get_assets_dir() + "/coupon.png" except Exception: diff --git a/douyin/fudai/core/fudai_attend.py b/douyin/fudai/core/fudai_attend.py index 4200532..edeb80d 100644 --- a/douyin/fudai/core/fudai_attend.py +++ b/douyin/fudai/core/fudai_attend.py @@ -9,7 +9,7 @@ import os import time from typing import Any -import path_config +from douyin.core import path_config def attend_choujiang(analyser) -> bool: @@ -432,7 +432,7 @@ def attend_choujiang(analyser) -> bool: # 设置等待开奖标志,避免参与后立即切换直播间 # #region agent log - set countdown import json - from path_config import get_debug_log_path + from douyin.core.path_config import get_debug_log_path current_ts_debug = int(time.time() * 1000) with open(get_debug_log_path(), "a", encoding="utf-8") as f: diff --git a/douyin/fudai/core/fudai_debug_utils.py b/douyin/fudai/core/fudai_debug_utils.py index 68cdfd9..1029788 100644 --- a/douyin/fudai/core/fudai_debug_utils.py +++ b/douyin/fudai/core/fudai_debug_utils.py @@ -11,7 +11,7 @@ import traceback from typing import Any, Tuple, Optional, Dict from PIL import Image, UnidentifiedImageError -import path_config +from douyin.core import path_config def log_debug_error( diff --git a/douyin/fudai/core/fudai_detail_reader.py b/douyin/fudai/core/fudai_detail_reader.py index b4ec83a..5e8c8fa 100644 --- a/douyin/fudai/core/fudai_detail_reader.py +++ b/douyin/fudai/core/fudai_detail_reader.py @@ -11,7 +11,7 @@ import os from typing import Tuple, Any from concurrent.futures import ThreadPoolExecutor -import path_config +from douyin.core import path_config from douyin.fudai.core.fudai_debug_utils import _save_full_screenshot_with_ocr_region from douyin.fudai.core.fudai_filter import is_watch_task_fudai from douyin.utils.douyin_utils import extract_prize_value_yuan diff --git a/douyin/fudai/douyin_fudai_core.py b/douyin/fudai/douyin_fudai_core.py index ebafad5..50d12e4 100644 --- a/douyin/fudai/douyin_fudai_core.py +++ b/douyin/fudai/douyin_fudai_core.py @@ -11,7 +11,7 @@ import numpy as np # type: ignore[import] from douyin.utils.douyin_utils import extract_prize_value_yuan from douyin.reservation import douyin_reservation_logic -import path_config +from douyin.core import path_config # 从新模块导入调试工具函数 from douyin.fudai.core.fudai_debug_utils import ( diff --git a/douyin/fudai/douyin_fudai_finder.py b/douyin/fudai/douyin_fudai_finder.py index b52dae6..1b56ac5 100644 --- a/douyin/fudai/douyin_fudai_finder.py +++ b/douyin/fudai/douyin_fudai_finder.py @@ -18,7 +18,7 @@ import os import time from typing import Any, Optional, Tuple, Dict from PIL import Image -import path_config +from douyin.core import path_config # OCR 预处理接口(直接导入) from douyin.utils.ocr_preprocess import preprocess_for_ocr # type: ignore diff --git a/douyin/handlers/douyin_screenshot_manager.py b/douyin/handlers/douyin_screenshot_manager.py index a381163..67c7369 100644 --- a/douyin/handlers/douyin_screenshot_manager.py +++ b/douyin/handlers/douyin_screenshot_manager.py @@ -14,7 +14,7 @@ import os import shutil from typing import Optional, Tuple from PIL import Image -import path_config +from douyin.core import path_config import threading from queue import Queue, Empty from typing import Any diff --git a/douyin/logging/douyin_logger.py b/douyin/logging/douyin_logger.py index 7494504..051fbd4 100644 --- a/douyin/logging/douyin_logger.py +++ b/douyin/logging/douyin_logger.py @@ -19,7 +19,7 @@ import os import sys import json from typing import Optional, Dict, Any -import path_config +from douyin.core import path_config # 日志配置默认值 diff --git a/douyin/logging/douyin_logging.py b/douyin/logging/douyin_logging.py index ea3de15..b6d54d0 100644 --- a/douyin/logging/douyin_logging.py +++ b/douyin/logging/douyin_logging.py @@ -30,7 +30,7 @@ import threading from datetime import datetime, timedelta from typing import Optional, Callable, Any, Dict from functools import wraps -import path_config +from douyin.core import path_config # 全局日志配置 @@ -860,7 +860,7 @@ def configure_logging( file_handler.setLevel(numeric_level) # 使用自定义Formatter以支持traceId try: - from unified_logger import UnifiedFormatter + from douyin.logging.unified_logger import UnifiedFormatter file_formatter = UnifiedFormatter( detailed_format, datefmt="%Y-%m-%d %H:%M:%S" diff --git a/douyin/logging/douyin_logging_wrapper.py b/douyin/logging/douyin_logging_wrapper.py index 8465c5f..1537e90 100644 --- a/douyin/logging/douyin_logging_wrapper.py +++ b/douyin/logging/douyin_logging_wrapper.py @@ -396,7 +396,7 @@ class LoggingWrapper: # 获取日志格式模式配置(simple 或 detailed) log_format_mode = "simple" # 默认简洁模式 try: - import path_config + from douyin.core import path_config import json config_path = path_config.get_config_path() @@ -511,7 +511,7 @@ class LoggingWrapper: # 写入 actions.log 文件 try: - import path_config + from douyin.core import path_config actions_log_path = path_config.get_actions_log_path() log_dir = path_config.get_logs_dir() @@ -949,7 +949,7 @@ class LoggingWrapper: # 写入 actions.log 文件 try: - import path_config + from douyin.core import path_config actions_log_path = path_config.get_actions_log_path() log_dir = path_config.get_logs_dir() @@ -1012,7 +1012,7 @@ class LoggingWrapper: if not hasattr(analyser, "_std_logger") or analyser._std_logger is None: try: - from unified_logger import get_unified_logger + from douyin.logging.unified_logger import get_unified_logger analyser._std_logger = get_unified_logger("douyin.fudai") except ImportError: @@ -1030,7 +1030,7 @@ class LoggingWrapper: std_msg_parts.append(f"[调用:{caller_info}]") if msg: try: - from unified_logger import SensitiveDataMasker + from douyin.logging.unified_logger import SensitiveDataMasker masked_msg = SensitiveDataMasker.mask_all(str(msg)) std_msg_parts.append(masked_msg) @@ -1039,7 +1039,7 @@ class LoggingWrapper: masked_fields: Dict[str, Any] = {} try: - from unified_logger import SensitiveDataMasker + from douyin.logging.unified_logger import SensitiveDataMasker masked_fields = SensitiveDataMasker.mask_dict(fields) except ImportError: diff --git a/douyin/logging/error_logger.py b/douyin/logging/error_logger.py index c6bf2e6..b242ef6 100644 --- a/douyin/logging/error_logger.py +++ b/douyin/logging/error_logger.py @@ -5,7 +5,7 @@ import logging import traceback import os from typing import Any, Dict, Optional -import path_config +from douyin.core import path_config logger = None diff --git a/unified_logger.py b/douyin/logging/unified_logger.py similarity index 100% rename from unified_logger.py rename to douyin/logging/unified_logger.py diff --git a/douyin/other/douyin_guaji.py b/douyin/other/douyin_guaji.py index 429202a..c9a6899 100644 --- a/douyin/other/douyin_guaji.py +++ b/douyin/other/douyin_guaji.py @@ -1,7 +1,7 @@ from douyin.core.douyin_fudai import fudai_analyse try: - from version import print_version_banner + from douyin.core.version import print_version_banner except Exception: print_version_banner = None diff --git a/douyin/other/douyin_popups.py b/douyin/other/douyin_popups.py index 3b20be6..7425407 100644 --- a/douyin/other/douyin_popups.py +++ b/douyin/other/douyin_popups.py @@ -27,12 +27,12 @@ def check_coupon_popup(analyser) -> bool: try: # 使用统一的截图路径配置 try: - import path_config + from douyin.core import path_config pic_path = path_config.get_screenshot_path() except Exception: # 回退到旧路径(向后兼容) - import path_config + from douyin.core import path_config pic_path = path_config.get_screenshot_path() pic = Image.open(pic_path) @@ -198,12 +198,12 @@ def check_shopping_redpacket_popup(analyser) -> bool: try: # 使用统一的截图路径配置 try: - import path_config + from douyin.core import path_config pic_path = path_config.get_screenshot_path() except Exception: # 回退到旧路径(向后兼容) - import path_config + from douyin.core import path_config pic_path = path_config.get_screenshot_path() pic = Image.open(pic_path) diff --git a/douyin/other/douyin_robot.py b/douyin/other/douyin_robot.py index 202daea..15789da 100644 --- a/douyin/other/douyin_robot.py +++ b/douyin/other/douyin_robot.py @@ -95,7 +95,7 @@ def deal_robot_analyse(analyser) -> None: def deal_robot_pic_change_color(analyser) -> None: """处理人机验证的图片,转为黑白图。""" analyser.cut_pic(*ROBOT_VERIFY, "save", "机器人验证") - import path_config + from douyin.core import path_config path = path_config.get_robot_verify_pic_path(save_subdir=True) pic = path diff --git a/douyin/other/douyin_yanghao.py b/douyin/other/douyin_yanghao.py index 1b8b71d..1bb81a4 100644 --- a/douyin/other/douyin_yanghao.py +++ b/douyin/other/douyin_yanghao.py @@ -253,7 +253,7 @@ def yanghao_idle(analyser, total_seconds: int) -> None: analyser.operation.get_screenshot( analyser.device_id, use_service=False ) - import path_config + from douyin.core import path_config screenshot_path = path_config.get_screenshot_path() except Exception: diff --git a/douyin/reservation/douyin_reservation_handler.py b/douyin/reservation/douyin_reservation_handler.py index 13d86de..d4bb596 100644 --- a/douyin/reservation/douyin_reservation_handler.py +++ b/douyin/reservation/douyin_reservation_handler.py @@ -17,7 +17,7 @@ from typing import Any, Optional, Dict import json import csv import os -import path_config +from douyin.core import path_config from douyin.fudai import douyin_fudai_detail from douyin.reservation import douyin_reservation_logic diff --git a/douyin/stage/douyin_stage.py b/douyin/stage/douyin_stage.py index 5acf3f8..bffad2c 100644 --- a/douyin/stage/douyin_stage.py +++ b/douyin/stage/douyin_stage.py @@ -1046,7 +1046,7 @@ def diagnose_stage_from_current_screen(analyser, trigger_reason="unknown"): # t douyin_screenshot_manager = importlib.import_module( "douyin.handlers.douyin_screenshot_manager" ) - import path_config + from douyin.core import path_config import os from PIL import Image diff --git a/douyin/stage/douyin_stage_handler.py b/douyin/stage/douyin_stage_handler.py index 60a1626..01174bf 100644 --- a/douyin/stage/douyin_stage_handler.py +++ b/douyin/stage/douyin_stage_handler.py @@ -98,7 +98,7 @@ class StageHandler: # 使用统一的模板路径配置 try: - import path_config + from douyin.core import path_config assets_dir = path_config.get_assets_dir() except Exception: @@ -107,7 +107,7 @@ class StageHandler: # 使用统一的截图路径配置 try: - import path_config + from douyin.core import path_config screenshot_path = path_config.get_screenshot_path() except Exception: @@ -134,7 +134,7 @@ class StageHandler: if not os.path.exists(screenshot_path): # 尝试从项目根目录的 pic 目录查找 try: - import path_config + from douyin.core import path_config alt_path = path_config.get_screenshot_path() if os.path.exists(alt_path) and alt_path != screenshot_path: @@ -247,7 +247,7 @@ class StageHandler: # 保存裁剪的ROI区域 # 使用统一的 pic 目录配置 try: - import path_config + from douyin.core import path_config pic_dir = path_config.get_pic_dir() except Exception: diff --git a/douyin/utils/douyin_config.py b/douyin/utils/douyin_config.py index 7385e41..8575bd6 100644 --- a/douyin/utils/douyin_config.py +++ b/douyin/utils/douyin_config.py @@ -26,11 +26,11 @@ class ConfigManager: passed_in_config_path = config_path is not None if config_path is None: try: - import path_config + from douyin.core import path_config default_config_path = path_config.get_config_path() except Exception: - import path_config + from douyin.core import path_config default_config_path = path_config.get_config_path() config_path = getattr(analyser, "config_path", default_config_path) diff --git a/douyin/utils/douyin_helpers.py b/douyin/utils/douyin_helpers.py index efb9400..3252aa9 100644 --- a/douyin/utils/douyin_helpers.py +++ b/douyin/utils/douyin_helpers.py @@ -67,7 +67,7 @@ class HelperFunctions: """ # 使用统一的截图路径配置 try: - import path_config + from douyin.core import path_config pic_path = path_config.get_screenshot_path() except (ImportError, ModuleNotFoundError, AttributeError): @@ -197,7 +197,7 @@ class HelperFunctions: def _get_false_positive_file_path() -> str: """获取误识别记录文件路径""" try: - import path_config + from douyin.core import path_config pic_dir = path_config.get_pic_dir() except (ImportError, ModuleNotFoundError, AttributeError): @@ -365,7 +365,7 @@ class HelperFunctions: # 使用统一的截图路径配置 try: - import path_config + from douyin.core import path_config src = path_config.get_screenshot_path() pic_dir = path_config.get_pic_dir() diff --git a/douyin/utils/ocr_preprocess.py b/douyin/utils/ocr_preprocess.py index 8bd314f..9f0b552 100644 --- a/douyin/utils/ocr_preprocess.py +++ b/douyin/utils/ocr_preprocess.py @@ -20,7 +20,7 @@ def preprocess_for_ocr(analyser: Any, cut_pic_name: str) -> str: """ try: from PIL import Image, ImageOps, ImageFilter - from path_config import get_cut_pic_path + from douyin.core.path_config import get_cut_pic_path except Exception: # 如果 PIL 或 path_config 不可用,回退到原名 return cut_pic_name diff --git a/douyin/utils/param_usage_tracer.py b/douyin/utils/param_usage_tracer.py index cd38f0b..3be2e6f 100644 --- a/douyin/utils/param_usage_tracer.py +++ b/douyin/utils/param_usage_tracer.py @@ -15,7 +15,7 @@ import inspect from typing import Any, Dict try: - from path_config import get_project_root + from douyin.core.path_config import get_project_root except Exception: def get_project_root() -> str: diff --git a/douyin/utils/param_usage_tracker.py b/douyin/utils/param_usage_tracker.py index 4026fdd..c2c029a 100644 --- a/douyin/utils/param_usage_tracker.py +++ b/douyin/utils/param_usage_tracker.py @@ -17,7 +17,7 @@ import time from typing import Any, Callable, Dict, List, Optional try: - from path_config import get_state_dir, ensure_dir + from douyin.core.path_config import get_state_dir, ensure_dir except Exception: # 兜底:如果无法导入 path_config,则使用 workspace 相对的 state 目录 def get_state_dir() -> str: diff --git a/fudai_detail_modules/fudai_detail_coupon_detection.py b/fudai_detail_modules/fudai_detail_coupon_detection.py index eece14c..f0b587f 100644 --- a/fudai_detail_modules/fudai_detail_coupon_detection.py +++ b/fudai_detail_modules/fudai_detail_coupon_detection.py @@ -36,12 +36,12 @@ def is_wrong_coupon_popup(analyser: Any) -> bool: try: # 使用统一的截图路径配置 try: - import path_config + from douyin.core import path_config path = path_config.get_screenshot_path() except Exception: # 回退到旧路径(向后兼容) - import path_config + from douyin.core import path_config path = path_config.get_screenshot_path() @@ -228,12 +228,12 @@ def is_wrong_coupon_popup(analyser: Any) -> bool: # 使用统一的截图路径配置 try: - import path_config + from douyin.core import path_config pic_path = path_config.get_screenshot_path() except Exception: # 回退到旧路径(向后兼容) - import path_config + from douyin.core import path_config pic_path = path_config.get_screenshot_path() if os.path.exists(pic_path): diff --git a/fudai_detail_modules/fudai_detail_reader.py b/fudai_detail_modules/fudai_detail_reader.py index ed05ff2..63729bf 100644 --- a/fudai_detail_modules/fudai_detail_reader.py +++ b/fudai_detail_modules/fudai_detail_reader.py @@ -167,7 +167,7 @@ def read_fudai_detail_once(analyser: Any) -> Tuple[str, Tuple, dict]: try: if getattr(analyser, "_screenshot_ready_for_ocr", False): try: - import path_config + from douyin.core import path_config pic_path = path_config.get_screenshot_path() except Exception: @@ -212,7 +212,7 @@ def read_fudai_detail_once(analyser: Any) -> Tuple[str, Tuple, dict]: # 等待截图文件确实存在(最多等待3秒) try: - import path_config + from douyin.core import path_config pic_path = path_config.get_screenshot_path() except Exception: @@ -239,12 +239,12 @@ def read_fudai_detail_once(analyser: Any) -> Tuple[str, Tuple, dict]: # 使用统一的截图路径配置 try: - import path_config + from douyin.core import path_config pic_path = path_config.get_screenshot_path() except Exception: # 回退到旧路径(向后兼容) - import path_config + from douyin.core import path_config pic_path = path_config.get_screenshot_path() pic_rgb = None @@ -336,7 +336,7 @@ def read_fudai_detail_once(analyser: Any) -> Tuple[str, Tuple, dict]: except Exception: # pyright: ignore[reportTooBroadExceptionType] # fallback: 将 traceback 写入统一错误日志 try: - import path_config + from douyin.core import path_config err_log = path_config.get_error_log_path() with open(err_log, "a", encoding="utf-8") as ef: diff --git a/fudai_detail_modules/fudai_detail_room_title.py b/fudai_detail_modules/fudai_detail_room_title.py index 17b8cfa..1489b73 100644 --- a/fudai_detail_modules/fudai_detail_room_title.py +++ b/fudai_detail_modules/fudai_detail_room_title.py @@ -207,7 +207,7 @@ def read_live_room_title_core( else: # 检查是否有可用的截图文件 try: - import path_config + from douyin.core import path_config pic_path = path_config.get_screenshot_path() except Exception: diff --git a/fudai_detail_modules/fudai_detail_validator.py b/fudai_detail_modules/fudai_detail_validator.py index e26dfaf..f4e20d7 100644 --- a/fudai_detail_modules/fudai_detail_validator.py +++ b/fudai_detail_modules/fudai_detail_validator.py @@ -12,7 +12,7 @@ import logging import re import os import json -import path_config +from douyin.core import path_config def validate_fudai_detail(detail: Tuple, analyser: Any = None) -> Tuple[bool, str]: diff --git a/gui/components/actions_log_viewer.py b/gui/components/actions_log_viewer.py index 5ceae2a..159e0e8 100644 --- a/gui/components/actions_log_viewer.py +++ b/gui/components/actions_log_viewer.py @@ -63,11 +63,11 @@ def create_actions_log_viewer( """刷新行为日志:读取 logs/actions.log 的尾部若干行,在 GUI 中展示关键行为日志(支持简单关键字筛选)。""" # 使用统一的路径配置 try: - import path_config + from douyin.core import path_config path = path_config.get_actions_log_path() except Exception: # 回退到旧路径(向后兼容) - import path_config + from douyin.core import path_config path = path_config.get_actions_log_path() try: diff --git a/gui/components/error_log_viewer.py b/gui/components/error_log_viewer.py index 9ff3204..d3e1ee9 100644 --- a/gui/components/error_log_viewer.py +++ b/gui/components/error_log_viewer.py @@ -9,7 +9,7 @@ from datetime import datetime, timedelta import re try: - from path_config import get_error_log_path # type: ignore[assignment] + from douyin.core.path_config import get_error_log_path # type: ignore[assignment] HAS_LOGGING = True except ImportError: # 如果导入失败,提供占位符函数 diff --git a/gui/gui_app.py b/gui/gui_app.py index 7c96a21..7021f45 100644 --- a/gui/gui_app.py +++ b/gui/gui_app.py @@ -32,7 +32,7 @@ from gui.gui_core import ( read_config, write_config, ) -from path_config import get_logs_dir +from douyin.core.path_config import get_logs_dir from gui.components.mapping_table import create_mapping_tab # 导入日志颜色配置模块 @@ -188,7 +188,7 @@ def main(): # 获取日志文件路径配置 log_path = cfg.get("log_unified_path") or "logs/unified.log" if not os.path.isabs(log_path): - from path_config import PROJECT_ROOT + from douyin.core.path_config import PROJECT_ROOT log_path = os.path.join(PROJECT_ROOT, log_path) @@ -3037,7 +3037,7 @@ def main(): # 在后台线程中执行截图和OCR识别,避免阻塞GUI def screenshot_thread(): try: - from Underlying_Operations import underlying_operations + from douyin.core.underlying_operations import underlying_operations # 使用模块级别导入的 Image 与 os,避免重复导入导致 Pylance 警告 @@ -3059,12 +3059,12 @@ def main(): # 读取截图以获取实际尺寸 try: - from path_config import get_screenshot_path + from douyin.core.path_config import get_screenshot_path screenshot_path = get_screenshot_path() except Exception: # 回退到旧路径(向后兼容) - import path_config + from douyin.core import path_config screenshot_path = path_config.get_screenshot_path() if not os.path.exists(screenshot_path): @@ -3338,11 +3338,11 @@ def main(): if show_screenshot_var.get(): try: try: - from path_config import get_screenshot_path + from douyin.core.path_config import get_screenshot_path screenshot_path = get_screenshot_path() except Exception: - import path_config + from douyin.core import path_config screenshot_path = path_config.get_screenshot_path() @@ -3498,11 +3498,11 @@ def main(): # update image try: try: - from path_config import get_screenshot_path + from douyin.core.path_config import get_screenshot_path screenshot_path = get_screenshot_path() except Exception: - import path_config + from douyin.core import path_config screenshot_path = path_config.get_screenshot_path() @@ -3862,12 +3862,12 @@ def main(): preview_top.pack(fill=X, padx=10, pady=10) try: - from path_config import get_pic_dir + from douyin.core.path_config import get_pic_dir images_dir = get_pic_dir() except Exception: # 回退到旧路径(向后兼容) - import path_config + from douyin.core import path_config images_dir = path_config.get_pic_dir() @@ -4958,12 +4958,12 @@ def main(): def refresh_reservations(): try: - from path_config import get_reservations_path + from douyin.core.path_config import get_reservations_path path = get_reservations_path() except Exception: # 回退到旧路径(向后兼容) - import path_config + from douyin.core import path_config path = path_config.get_reservations_path() try: @@ -5233,12 +5233,12 @@ def main(): def refresh_high_value_rooms(): try: - from path_config import get_high_value_rooms_path + from douyin.core.path_config import get_high_value_rooms_path path = get_high_value_rooms_path() except Exception: # 回退到旧路径(向后兼容) - import path_config + from douyin.core import path_config path = path_config.get_high_value_rooms_path() try: @@ -5322,13 +5322,13 @@ def main(): """读取 logs/actions.log 的尾部若干行,在 GUI 中展示关键行为日志(支持简单关键字筛选)。""" # 使用统一的路径配置 try: - from path_config import get_actions_log_path + from douyin.core.path_config import get_actions_log_path path = get_actions_log_path() except Exception: # 回退到旧路径(向后兼容) # 修正路径:GUI应该读取根目录的logs/actions.log - import path_config + from douyin.core import path_config path = path_config.get_actions_log_path() try: @@ -5582,11 +5582,11 @@ def main(): def scan_win_images(): """扫描中奖截图目录""" try: - from path_config import get_pic_dir + from douyin.core.path_config import get_pic_dir pic_dir = get_pic_dir() except Exception: - import path_config + from douyin.core import path_config pic_dir = path_config.get_pic_dir() @@ -5697,11 +5697,11 @@ def main(): def open_win_folder(): """打开中奖截图目录""" try: - from path_config import get_pic_dir + from douyin.core.path_config import get_pic_dir pic_dir = get_pic_dir() except Exception: - import path_config + from douyin.core import path_config pic_dir = path_config.get_pic_dir() @@ -5735,11 +5735,11 @@ def main(): def load_false_positives(): """加载误识别记录""" try: - from path_config import get_pic_dir + from douyin.core.path_config import get_pic_dir pic_dir = get_pic_dir() except Exception: - import path_config + from douyin.core import path_config pic_dir = path_config.get_pic_dir() @@ -5767,11 +5767,11 @@ def main(): def save_false_positives(): """保存误识别记录""" try: - from path_config import get_pic_dir + from douyin.core.path_config import get_pic_dir pic_dir = get_pic_dir() except Exception: - import path_config + from douyin.core import path_config pic_dir = path_config.get_pic_dir() @@ -5849,7 +5849,7 @@ def main(): if __name__ == "__main__": try: - from version import print_version_banner + from douyin.core.version import print_version_banner print_version_banner("gui_app") except Exception: diff --git a/gui/gui_core.py b/gui/gui_core.py index 3927f84..08c4302 100644 --- a/gui/gui_core.py +++ b/gui/gui_core.py @@ -10,7 +10,7 @@ import time from dataclasses import dataclass from typing import Optional -import path_config +from douyin.core import path_config CONFIG_PATH = path_config.get_config_path() diff --git a/gui/web_gui.py b/gui/web_gui.py index a0d41f9..2e34710 100644 --- a/gui/web_gui.py +++ b/gui/web_gui.py @@ -17,7 +17,7 @@ project_root = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) if project_root not in sys.path: sys.path.insert(0, project_root) -import path_config +from douyin.core import path_config BASE_DIR = path_config.PROJECT_ROOT CONFIG_PATH = path_config.get_config_path() @@ -1359,7 +1359,7 @@ class ProcRunner: # 启动时自动截图 if device_id: try: - from Underlying_Operations import underlying_operations + from douyin.core.underlying_operations import underlying_operations ops = underlying_operations() self._append_log(f"[启动] 自动截图: device={device_id}") @@ -2203,7 +2203,7 @@ class Handler(BaseHTTPRequestHandler): body = self._read_json() device_id = str(body.get("device_id") or "").strip() try: - from Underlying_Operations import underlying_operations + from douyin.core.underlying_operations import underlying_operations ops = underlying_operations() result = ops.get_screenshot(device_id, use_service=False) @@ -2249,7 +2249,7 @@ def main() -> int: if __name__ == "__main__": try: - from version import print_version_banner + from douyin.core.version import print_version_banner print_version_banner("web_gui") except Exception: diff --git a/operations/__init__.py b/operations/__init__.py index fac6d3c..32381ad 100644 --- a/operations/__init__.py +++ b/operations/__init__.py @@ -19,7 +19,7 @@ from .screenshot_operations import ( # 从原文件导入以保持向后兼容 # TODO: 逐步迁移后改为从子模块导入 -from Underlying_Operations import ( +from douyin.core.underlying_operations import ( _safe_replace_file, _ensure_parent_dir, _mirror_screenshot_to_external, diff --git a/operations/device_operations.py b/operations/device_operations.py index 9bb955c..f999919 100644 --- a/operations/device_operations.py +++ b/operations/device_operations.py @@ -9,7 +9,7 @@ from typing import Any, Optional # 临时导入:从原文件导入,后续会逐步迁移 # TODO: 迁移完成后,移除此导入并在此文件中实现 -from Underlying_Operations import underlying_operations +from douyin.core.underlying_operations import underlying_operations # 导出设备操作相关方法 # TODO: 实现这些函数后添加到__all__列表中 diff --git a/operations/image_operations.py b/operations/image_operations.py index 15aaddb..ed273d4 100644 --- a/operations/image_operations.py +++ b/operations/image_operations.py @@ -9,7 +9,7 @@ from typing import Any, Optional, Tuple # 临时导入:从原文件导入,后续会逐步迁移 # TODO: 迁移完成后,移除此导入并在此文件中实现 -from Underlying_Operations import underlying_operations +from douyin.core.underlying_operations import underlying_operations # 导出图像处理相关方法 # TODO: 实现这些函数后添加到__all__列表中 diff --git a/operations/ocr_operations.py b/operations/ocr_operations.py index e9bdf2d..028ed20 100644 --- a/operations/ocr_operations.py +++ b/operations/ocr_operations.py @@ -185,7 +185,7 @@ def _ensure_ocr(): def analyse_pic_word(picname, change_color=0, pic_path=None): """文字OCR识别(向后兼容接口)""" # 使用全局复用的 underlying_operations 实例,避免每次调用都初始化 OCR(耗时) - from Underlying_Operations import underlying_operations + from douyin.core.underlying_operations import underlying_operations global _UNDERLYING_OPS_SINGLETON # type: ignore[name-defined] try: _UNDERLYING_OPS_SINGLETON # type: ignore[name-defined] @@ -197,7 +197,7 @@ def analyse_pic_word(picname, change_color=0, pic_path=None): def analyse_pic_digits(picname, change_color=1, pic_path=None): """数字OCR识别(向后兼容接口)""" # 使用全局复用的 underlying_operations 实例,避免每次调用都初始化 OCR(耗时) - from Underlying_Operations import underlying_operations + from douyin.core.underlying_operations import underlying_operations global _UNDERLYING_OPS_SINGLETON # type: ignore[name-defined] try: _UNDERLYING_OPS_SINGLETON # type: ignore[name-defined] @@ -209,7 +209,7 @@ def analyse_pic_digits(picname, change_color=1, pic_path=None): def extract_ocr_content(content=[], return_confidence=False): """提取OCR内容(向后兼容接口)""" # 使用全局复用的 underlying_operations 实例 - from Underlying_Operations import underlying_operations + from douyin.core.underlying_operations import underlying_operations global _UNDERLYING_OPS_SINGLETON # type: ignore[name-defined] try: _UNDERLYING_OPS_SINGLETON # type: ignore[name-defined] diff --git a/operations/screenshot_operations.py b/operations/screenshot_operations.py index 0992494..26d49cc 100644 --- a/operations/screenshot_operations.py +++ b/operations/screenshot_operations.py @@ -13,7 +13,7 @@ import time from datetime import datetime from typing import Optional -from Underlying_Operations import _safe_replace_file, _mirror_screenshot_to_external +from douyin.core.underlying_operations import _safe_replace_file, _mirror_screenshot_to_external # 日志节流:当后台服务不可用并回退到直接截图时,避免每次都打印相同的日志 _last_service_fallback_log_ts: float = 0.0 @@ -87,7 +87,7 @@ class ScreenshotOperations: direct_start = time.time() if path == "pic": try: - import path_config + from douyin.core import path_config out_dir = path_config.get_pic_dir() except Exception: # type: ignore # 回退到旧路径(向后兼容) @@ -305,10 +305,10 @@ class ScreenshotOperations: """ # 搜索目录优先级 try: - import path_config + from douyin.core import path_config pic_dir = path_config.get_pic_dir() except Exception: - import path_config + from douyin.core import path_config pic_dir = path_config.get_pic_dir() search_dirs = [] @@ -340,7 +340,7 @@ class ScreenshotOperations: """裁剪图片:保持与原 fudai1.cut_pic 相同的坐标语义(1080x2400 基准)。""" # 这里应该实现图片裁剪逻辑 # 暂时从原文件导入以保持功能 - from Underlying_Operations import underlying_operations + from douyin.core.underlying_operations import underlying_operations instance = underlying_operations() return instance.cut_pic(left_up, right_down, target, name) @@ -348,7 +348,7 @@ class ScreenshotOperations: """保存奖励图片""" # 这里应该实现奖励图片保存逻辑 # 暂时从原文件导入以保持功能 - from Underlying_Operations import underlying_operations + from douyin.core.underlying_operations import underlying_operations instance = underlying_operations() return instance.save_reward_pic(device_id) diff --git a/operations/screenshot_service.py b/operations/screenshot_service.py index 264154a..67dd842 100644 --- a/operations/screenshot_service.py +++ b/operations/screenshot_service.py @@ -14,7 +14,7 @@ import threading import time from typing import Optional from datetime import datetime -import path_config +from douyin.core import path_config from operations.screenshot_operations import ScreenshotOperations diff --git a/operations/screenshot_service_new.py b/operations/screenshot_service_new.py index 73d22f4..8684781 100644 --- a/operations/screenshot_service_new.py +++ b/operations/screenshot_service_new.py @@ -7,7 +7,7 @@ import threading import time from typing import Optional from datetime import datetime -import path_config +from douyin.core import path_config from operations.screenshot_operations import ScreenshotOperations diff --git a/restore_screenshot_service.py b/restore_screenshot_service.py deleted file mode 100644 index afd91ef..0000000 --- a/restore_screenshot_service.py +++ /dev/null @@ -1,350 +0,0 @@ -#!/usr/bin/env python3 -# -*- coding: utf-8 -*- -""" -恢复screenshot_service.py文件 -""" - -content = '''"""后台截图服务:持续截图,主流程直接读取最新截图 - -功能: -1. 后台持续截图,避免主流程等待 -2. 截图缓存机制,减少重复截图 -3. 智能线程数配置,根据CPU核心数自动调整 -""" - -from __future__ import annotations - -import os -import threading -import time -from typing import Optional -from datetime import datetime -import path_config -from operations.screenshot_operations import ScreenshotOperations - - -class ScreenshotService: - """后台截图服务:持续截图,避免主流程等待""" - - _instance: Optional['ScreenshotService'] = None - _lock = threading.Lock() - - def __init__(self): - self._running: bool = False - self._thread: Optional[threading.Thread] = None - self._screenshot_ops: ScreenshotOperations = ScreenshotOperations() - self._current_device_id: Optional[str] = None - # 修复:初始化为过去时间,确保第一次请求时缓存过期但时间差合理 - self._last_screenshot_time = time.time() - 10.0 # 10秒前,避免巨大时间差 - self._screenshot_interval = 3.5 # 增加间隔到3.5秒,适应实际截图耗时 - self._cache_valid_duration = 4.0 # 增加缓存有效期到4.0秒,避免频繁过期 - self._screenshot_path: Optional[str] = None - self._last_success = False # 最后一次截图是否成功 - - @classmethod - def get_instance(cls) -> 'ScreenshotService': - """获取单例实例""" - if cls._instance is None: - with cls._lock: - if cls._instance is None: - cls._instance = cls() - return cls._instance - - def start(self, device_id: str, interval: float = 1.5): - """启动后台截图服务 - - 参数: - device_id: 设备ID - interval: 截图间隔(秒),默认1.5秒 - """ - with self._lock: - if self._running: - if self._current_device_id == device_id: - return # 已经在运行,且设备ID相同 - self.stop() # 设备ID不同,先停止 - - self._current_device_id = device_id - self._screenshot_interval = max(0.5, interval) # 最小0.5秒 - self._running = True - - # 初始化截图路径 - try: - self._screenshot_path = path_config.get_screenshot_path() - except (ImportError, AttributeError, OSError): - self._screenshot_path = os.path.join("pic", "screenshot.png") - - self._thread = threading.Thread( - target=self._screenshot_loop, - daemon=True, - name="ScreenshotService" - ) - self._thread.start() - # 修复:设置时间戳为过去足够长的时间,确保第一次请求能等到后台截图完成 - self._last_screenshot_time = time.time() - self._cache_valid_duration - 1.0 # 确保缓存过期但不至于太旧 - timetag = datetime.now().strftime("%H:%M:%S") - print(f"[{timetag}] [截图服务] 已启动后台截图服务,设备: {device_id}, 间隔: {interval}秒") - - def stop(self): - """停止后台截图服务""" - with self._lock: - if not self._running: - return - self._running = False - - if self._thread and self._thread.is_alive(): - self._thread.join(timeout=2.0) - timetag = datetime.now().strftime("%H:%M:%S") - print(f"[{timetag}] [截图服务] 已停止后台截图服务") - - def _screenshot_loop(self): - """后台截图循环""" - loop_count = 0 - while self._running: - try: - device_id = self._current_device_id - if not device_id: - time.sleep(0.1) - continue - - loop_count += 1 - timetag = datetime.now().strftime("%H:%M:%S") - screenshot_start = time.time() - - # 执行截图(禁用服务模式,避免递归) - success = self._screenshot_ops.get_screenshot(device_id, use_service=False) # type: ignore[arg-type] - - screenshot_elapsed = (time.time() - screenshot_start) * 1000 - if success: - # 验证文件完整性后再更新时间戳(避免读取到不完整的文件) - if self._screenshot_path and os.path.exists(self._screenshot_path): - try: - file_size = os.path.getsize(self._screenshot_path) - if file_size >= 1024: - with open(self._screenshot_path, 'rb') as f: - header = f.read(4) - if header == b'\\x89PNG': - self._last_screenshot_time = time.time() - self._last_success = True - print(f"[{timetag}] [截图服务] 后台截图完成 #{loop_count},耗时: {screenshot_elapsed:.0f}ms,文件大小: {file_size/1024:.1f}KB") - else: - self._last_success = False - print(f"[{timetag}] [截图服务] 后台截图文件格式错误 #{loop_count},耗时: {screenshot_elapsed:.0f}ms") - else: - self._last_success = False - print(f"[{timetag}] [截图服务] 后台截图文件太小 #{loop_count} ({file_size}B),耗时: {screenshot_elapsed:.0f}ms") - except (OSError, IOError, ValueError) as e: - self._last_success = False - print(f"[{timetag}] [截图服务] 后台截图文件验证失败 #{loop_count}: {e},耗时: {screenshot_elapsed:.0f}ms") - else: - self._last_success = False - print(f"[{timetag}] [截图服务] 后台截图文件不存在 #{loop_count},耗时: {screenshot_elapsed:.0f}ms") - else: - self._last_success = False - print(f"[{timetag}] [截图服务] 后台截图失败 #{loop_count},耗时: {screenshot_elapsed:.0f}ms") - - # 等待间隔时间,确保不小于0.5秒 - remaining_interval = max(0.5, self._screenshot_interval - screenshot_elapsed / 1000) - time.sleep(remaining_interval) - except Exception as e: - try: - timetag = datetime.now().strftime("%H:%M:%S") - print(f"[{timetag}] [截图服务] 后台截图异常: {e}") - import traceback - traceback.print_exc() - except Exception: - pass - time.sleep(1.0) # 异常时等待1秒再继续 - - def get_screenshot(self, device_id: str, force: bool = False) -> bool: - """获取截图(优先使用缓存) - - 参数: - device_id: 设备ID - force: 是否强制重新截图(忽略缓存) - - 返回: - 是否成功获取截图 - """ - request_start = time.time() - timetag = datetime.now().strftime("%H:%M:%S") - - # 如果设备ID不同,需要重新启动服务 - if self._current_device_id != device_id: - print(f"[{timetag}] [截图服务] 设备ID变更,重新启动服务: {device_id}") - self.start(device_id) - # 等待第一次截图完成 - time.sleep(0.1) - - # 检查缓存是否有效 - if not force: - now = time.time() - time_since_last = now - self._last_screenshot_time - - # 修复:添加边界检查,避免负数或异常值 - if time_since_last < 0: - time_since_last = 0 # 避免时钟回拨导致的负数 - elif time_since_last > 86400: # 如果超过24小时,可能是时间戳错误 - time_since_last = 10.0 # 重置为10秒前 - - # 检查缓存是否有效(时间 + 文件存在 + 文件完整性) - if time_since_last < self._cache_valid_duration: - if self._screenshot_path and os.path.exists(self._screenshot_path): - # 验证文件完整性(避免读取到不完整的文件) - # 使用重试机制,等待文件写入完成 - for retry in range(3): - try: - file_size = os.path.getsize(self._screenshot_path) - if file_size >= 1024: # PNG文件至少1KB - # 尝试快速验证文件头(PNG文件头:89 50 4E 47) - with open(self._screenshot_path, 'rb') as f: - header = f.read(4) - if header == b'\\x89PNG': - # 验证文件尾(PNG文件尾:IEND) - # 更宽松的验证:检查文件末尾50字节内是否有IEND - try: - # 读取文件末尾50字节 - read_size = min(50, file_size) - f.seek(-read_size, 2) - footer = f.read(read_size) - if b'IEND' in footer: - elapsed = (time.time() - request_start) * 1000 - print(f"[{timetag}] [截图服务] [OK] 缓存命中,耗时: {elapsed:.1f}ms (距离上次截图: {time_since_last*1000:.0f}ms, 文件大小: {file_size/1024:.1f}KB)") - return True - elif retry < 2: - # 文件可能还在写入,等待一下 - time.sleep(0.1) - continue - else: - print(f"[{timetag}] [截图服务] [WARN] 缓存文件不完整(文件尾验证失败),等待后台截图") - except (OSError, IOError) as e: - if retry < 2: - time.sleep(0.1) - continue - else: - print(f"[{timetag}] [截图服务] [WARN] 缓存文件读取失败: {e},等待后台截图") - else: - print(f"[{timetag}] [截图服务] [WARN] 缓存文件格式错误,等待后台截图") - break - else: - if retry < 2: - time.sleep(0.05) - continue - else: - print(f"[{timetag}] [截图服务] [WARN] 缓存文件太小 ({file_size}B),等待后台截图") - except (OSError, IOError) as e: - if retry < 2: - time.sleep(0.05) - continue - else: - print(f"[{timetag}] [截图服务] [WARN] 缓存文件检查失败: {e},等待后台截图") - except ValueError as e: - print(f"[{timetag}] [截图服务] [WARN] 缓存文件检查异常: {e},等待后台截图") - break - else: - print(f"[{timetag}] [截图服务] [WARN] 缓存文件不存在,等待后台截图") - else: - print(f"[{timetag}] [截图服务] [WARN] 缓存已过期 (距离上次: {time_since_last*1000:.0f}ms > {self._cache_valid_duration*1000:.0f}ms),等待后台截图") - - # 缓存无效或强制刷新 - if force: - print(f"[{timetag}] [截图服务] 强制刷新,忽略缓存") - - # 等待后台截图完成 - if self._running: - wait_start = time.time() - time_since_last_before_wait = time.time() - self._last_screenshot_time - # 修复:添加边界检查 - if time_since_last_before_wait < 0: - time_since_last_before_wait = 0 - elif time_since_last_before_wait > 86400: - time_since_last_before_wait = 10.0 - print(f"[{timetag}] [截图服务] [WAIT] 缓存未命中,等待后台截图 (距离上次: {time_since_last_before_wait*1000:.0f}ms)") - - # 等待最多6秒,让后台线程完成截图(适应较慢的截图操作) - max_wait_time = 6.0 - while time.time() - wait_start < max_wait_time: - if self._last_screenshot_time > wait_start - 0.1: - # 截图已完成,验证文件完整性 - if self._screenshot_path and os.path.exists(self._screenshot_path): - try: - file_size = os.path.getsize(self._screenshot_path) - if file_size >= 1024: - with open(self._screenshot_path, 'rb') as f: - header = f.read(4) - if header == b'\\x89PNG': - # 验证文件尾(更宽松的验证) - read_size = min(50, file_size) - f.seek(-read_size, 2) - footer = f.read(read_size) - if b'IEND' in footer: - wait_elapsed = (time.time() - wait_start) * 1000 - total_elapsed = (time.time() - request_start) * 1000 - status = "[OK]" if self._last_success else "[FAIL]" - print(f"[{timetag}] [截图服务] {status} 后台截图完成,等待耗时: {wait_elapsed:.1f}ms,总耗时: {total_elapsed:.1f}ms,文件大小: {file_size/1024:.1f}KB") - return self._last_success - # 文件尾验证失败,继续等待 - # 文件太小或格式错误,继续等待 - except (OSError, IOError, ValueError): - # 文件验证失败,继续等待 - pass - time.sleep(0.1) - - # 等待超时 - wait_elapsed = (time.time() - wait_start) * 1000 - print(f"[{timetag}] [截图服务] [TIMEOUT] 等待超时 ({wait_elapsed:.1f}ms),回退到直接截图") - - # 如果后台服务未运行或等待超时,直接执行截图(禁用服务模式,避免递归) - direct_start = time.time() - result = self._screenshot_ops.get_screenshot(device_id, use_service=False) # type: ignore[arg-type] - direct_elapsed = (time.time() - direct_start) * 1000 - total_elapsed = (time.time() - request_start) * 1000 - status = "[OK]" if result else "[FAIL]" - print(f"[{timetag}] [截图服务] {status} 直接截图完成,耗时: {direct_elapsed:.0f}ms,总耗时: {total_elapsed:.1f}ms") - return result - - def is_running(self) -> bool: - """检查服务是否正在运行""" - return self._running - - def get_last_screenshot_time(self) -> float: - """获取最后一次截图的时间戳""" - return self._last_screenshot_time - - def get_cache_info(self) -> dict: - """获取缓存信息(用于调试)""" - return { - "running": self._running, - "device_id": self._current_device_id, - "last_screenshot_time": self._last_screenshot_time, - "interval": self._screenshot_interval, - "cache_valid_duration": self._cache_valid_duration, - "last_success": self._last_success, - } - - -def get_optimal_workers() -> int: - """根据CPU核心数获取最优线程数 - - 返回: - 推荐的线程数 - """ - cpu_count = os.cpu_count() or 4 - - # 针对12核CPU的优化配置 - if cpu_count >= 12: - return 10 # 12核:使用10个线程 - elif cpu_count >= 8: - return 8 # 8核:使用8个线程 - elif cpu_count >= 4: - return 6 # 4核:使用6个线程 - elif cpu_count >= 2: - return 3 # 2核:使用3个线程 - else: - return 2 # 单核:使用2个线程(I/O等待) -''' - -# 写入文件 -with open('operations/screenshot_service.py', 'w', encoding='utf-8') as f: - f.write(content) - -print('ScreenshotService file restored successfully') diff --git a/tools/README.md b/tools/README.md index e00e2e1..3afee26 100644 --- a/tools/README.md +++ b/tools/README.md @@ -1,21 +1,38 @@ -tools/scan_coords.py — 坐标/ROI 扫描工具 +# tools/ 工具脚本目录 -用途 +按功能分组组织,与主代码分离。tools/ 不被业务代码 import。 -- 扫描仓库中疑似硬编码坐标或裁剪区域(如 `(100, 200)`、`(x1,y1,x2,y2)`)的代码行。 -- 输出 CSV 到 `tools/coords_report.csv`,便于人工或脚本进一步审查。 +## 目录结构 -用法 +| 子目录 | 用途 | 典型脚本 | +|--------|------|----------| +| `diagnostics/` | 环境/配置/依赖诊断 | `check_system_config.py`、`check_dependencies.py`、`diagnose_runtime_flags.py` | +| `logs/` | 日志分析与查看 | `analyze_step_times.py`、`color_log_viewer.py`、`log_filter.py` | +| `coords/` | 坐标拾取与区域选择 | `pick_coords.py`、`region_selector.py`、`scan_coords.py` | +| `cleanup/` | 代码清理工具 | `cleanup_unused_files.py`、`fix_trailing_whitespace.py` | +| `adb/` | ADB / 输入法相关 | `auto_connect_wifi_adb.py`、`ADBKeyboard.apk` | +| `windows/` | Windows 系统修复脚本 | `fix_start_menu_win11.ps1` 等(与本项目无关,仅备份) | +| `dev/` | 开发辅助 / 运行时探测 | `param_usage_tool.py`、`simulate_swipe_trigger.py`、`merge_configs.py` | + +## 常用入口 ```powershell -python tools/scan_coords.py +# 系统/依赖诊断 +python tools/diagnostics/check_system_config.py +python tools/diagnostics/check_dependencies.py + +# 坐标扫描 +python tools/coords/scan_coords.py + +# 日志分析 +python tools/logs/log_filter.py +python tools/logs/color_log_viewer.py + +# 参数使用追踪 +python tools/dev/param_usage_tool.py show --limit 200 ``` -输出 +## 注意 -- `tools/coords_report.csv` 包含字段:`file,line,match,context`。 - -注意 - -- 本脚本使用简单正则匹配,可能存在误报/漏报,建议在生成报告后人工复核。 -- 可根据需要扩展正则或关键词列表以覆盖更多模式。 \ No newline at end of file +- `windows/` 下的脚本是本机环境的修复工具,与抖音挂机功能无关,保留作为环境备份。 +- `coords/scan_coords.py` 输出 `tools/coords/coords_report.csv`(已 gitignore),人工核查用。 diff --git a/tools/_dump_lines.py b/tools/_dump_lines.py deleted file mode 100644 index e87503a..0000000 --- a/tools/_dump_lines.py +++ /dev/null @@ -1,7 +0,0 @@ -import sys - -p = "douyin/other/douyin_yanghao.py" -with open(p, "rb") as f: - lines = f.read().splitlines() -for i in range(959, 979): - print(f"{i+1:4}: {lines[i]!r}") diff --git a/tools/ADBKeyboard.apk b/tools/adb/ADBKeyboard.apk similarity index 100% rename from tools/ADBKeyboard.apk rename to tools/adb/ADBKeyboard.apk diff --git a/tools/auto_connect_wifi_adb.py b/tools/adb/auto_connect_wifi_adb.py similarity index 100% rename from tools/auto_connect_wifi_adb.py rename to tools/adb/auto_connect_wifi_adb.py diff --git a/tools/cleanup_unused_files.py b/tools/cleanup/cleanup_unused_files.py similarity index 100% rename from tools/cleanup_unused_files.py rename to tools/cleanup/cleanup_unused_files.py diff --git a/tools/fix_trailing_whitespace.py b/tools/cleanup/fix_trailing_whitespace.py similarity index 100% rename from tools/fix_trailing_whitespace.py rename to tools/cleanup/fix_trailing_whitespace.py diff --git a/tools/sanitize_cursor_paths.py b/tools/cleanup/sanitize_cursor_paths.py similarity index 100% rename from tools/sanitize_cursor_paths.py rename to tools/cleanup/sanitize_cursor_paths.py diff --git a/tools/README_Region_Selector.md b/tools/coords/README_Region_Selector.md similarity index 100% rename from tools/README_Region_Selector.md rename to tools/coords/README_Region_Selector.md diff --git a/tools/pick_coords.py b/tools/coords/pick_coords.py similarity index 100% rename from tools/pick_coords.py rename to tools/coords/pick_coords.py diff --git a/tools/region_selector.py b/tools/coords/region_selector.py similarity index 100% rename from tools/region_selector.py rename to tools/coords/region_selector.py diff --git a/tools/scan_coords.py b/tools/coords/scan_coords.py similarity index 100% rename from tools/scan_coords.py rename to tools/coords/scan_coords.py diff --git a/tools/simple_region_selector.py b/tools/coords/simple_region_selector.py similarity index 100% rename from tools/simple_region_selector.py rename to tools/coords/simple_region_selector.py diff --git a/tools/启动区域选择器.bat b/tools/coords/启动区域选择器.bat similarity index 100% rename from tools/启动区域选择器.bat rename to tools/coords/启动区域选择器.bat diff --git a/tools/dump_room_map_test.py b/tools/dev/dump_room_map_test.py similarity index 100% rename from tools/dump_room_map_test.py rename to tools/dev/dump_room_map_test.py diff --git a/tools/generate_param_locations.py b/tools/dev/generate_param_locations.py similarity index 100% rename from tools/generate_param_locations.py rename to tools/dev/generate_param_locations.py diff --git a/tools/install_dependencies.py b/tools/dev/install_dependencies.py similarity index 100% rename from tools/install_dependencies.py rename to tools/dev/install_dependencies.py diff --git a/tools/merge_configs.py b/tools/dev/merge_configs.py similarity index 100% rename from tools/merge_configs.py rename to tools/dev/merge_configs.py diff --git a/tools/param_usage_tool.py b/tools/dev/param_usage_tool.py similarity index 100% rename from tools/param_usage_tool.py rename to tools/dev/param_usage_tool.py diff --git a/tools/simulate_swipe_trigger.py b/tools/dev/simulate_swipe_trigger.py similarity index 100% rename from tools/simulate_swipe_trigger.py rename to tools/dev/simulate_swipe_trigger.py diff --git a/tools/web_gui_config_manifest.json b/tools/dev/web_gui_config_manifest.json similarity index 100% rename from tools/web_gui_config_manifest.json rename to tools/dev/web_gui_config_manifest.json diff --git a/tools/使用说明.txt b/tools/dev/使用说明.txt similarity index 100% rename from tools/使用说明.txt rename to tools/dev/使用说明.txt diff --git a/tools/生成WPS流程图.py b/tools/dev/生成WPS流程图.py similarity index 100% rename from tools/生成WPS流程图.py rename to tools/dev/生成WPS流程图.py diff --git a/tools/check_action_logger.py b/tools/diagnostics/check_action_logger.py similarity index 98% rename from tools/check_action_logger.py rename to tools/diagnostics/check_action_logger.py index ea567f4..569e7f1 100644 --- a/tools/check_action_logger.py +++ b/tools/diagnostics/check_action_logger.py @@ -16,7 +16,7 @@ sys.path.insert(0, str(PROJECT_ROOT)) from douyin.logging import action_logger, douyin_logging_wrapper from douyin.core.douyin_fudai import fudai_analyse -import path_config +from douyin.core import path_config def safe_repr(obj): diff --git a/tools/check_dependencies.py b/tools/diagnostics/check_dependencies.py similarity index 100% rename from tools/check_dependencies.py rename to tools/diagnostics/check_dependencies.py diff --git a/tools/check_gpu_available.py b/tools/diagnostics/check_gpu_available.py similarity index 100% rename from tools/check_gpu_available.py rename to tools/diagnostics/check_gpu_available.py diff --git a/tools/check_gui_params_conflicts.py b/tools/diagnostics/check_gui_params_conflicts.py similarity index 98% rename from tools/check_gui_params_conflicts.py rename to tools/diagnostics/check_gui_params_conflicts.py index 716d8b7..ee74492 100644 --- a/tools/check_gui_params_conflicts.py +++ b/tools/diagnostics/check_gui_params_conflicts.py @@ -16,11 +16,11 @@ if sys.platform == "win32": pass try: - import path_config + from douyin.core import path_config CONFIG_PATH = path_config.get_config_path() except Exception: - import path_config + from douyin.core import path_config CONFIG_PATH = path_config.get_config_path() diff --git a/tools/check_screenshot_optimization.py b/tools/diagnostics/check_screenshot_optimization.py similarity index 100% rename from tools/check_screenshot_optimization.py rename to tools/diagnostics/check_screenshot_optimization.py diff --git a/tools/check_system_config.py b/tools/diagnostics/check_system_config.py similarity index 100% rename from tools/check_system_config.py rename to tools/diagnostics/check_system_config.py diff --git a/tools/check_web_gui_config_sync.py b/tools/diagnostics/check_web_gui_config_sync.py similarity index 100% rename from tools/check_web_gui_config_sync.py rename to tools/diagnostics/check_web_gui_config_sync.py diff --git a/tools/diagnose_runtime_flags.py b/tools/diagnostics/diagnose_runtime_flags.py similarity index 100% rename from tools/diagnose_runtime_flags.py rename to tools/diagnostics/diagnose_runtime_flags.py diff --git a/tools/find_duplicate_excepts.py b/tools/diagnostics/find_duplicate_excepts.py similarity index 100% rename from tools/find_duplicate_excepts.py rename to tools/diagnostics/find_duplicate_excepts.py diff --git a/tools/run_screenshot_diagnostics.py b/tools/diagnostics/run_screenshot_diagnostics.py similarity index 88% rename from tools/run_screenshot_diagnostics.py rename to tools/diagnostics/run_screenshot_diagnostics.py index a2a1fd1..f45000d 100644 --- a/tools/run_screenshot_diagnostics.py +++ b/tools/diagnostics/run_screenshot_diagnostics.py @@ -1,4 +1,4 @@ -from Underlying_Operations import underlying_operations +from douyin.core.underlying_operations import underlying_operations import time op = underlying_operations() diff --git a/tools/verify_gui_back_method.py b/tools/diagnostics/verify_gui_back_method.py similarity index 100% rename from tools/verify_gui_back_method.py rename to tools/diagnostics/verify_gui_back_method.py diff --git a/tools/README_color_log_viewer.md b/tools/logs/README_color_log_viewer.md similarity index 100% rename from tools/README_color_log_viewer.md rename to tools/logs/README_color_log_viewer.md diff --git a/tools/analyze_optimization_effect.py b/tools/logs/analyze_optimization_effect.py similarity index 100% rename from tools/analyze_optimization_effect.py rename to tools/logs/analyze_optimization_effect.py diff --git a/tools/analyze_screenshot_logs.py b/tools/logs/analyze_screenshot_logs.py similarity index 100% rename from tools/analyze_screenshot_logs.py rename to tools/logs/analyze_screenshot_logs.py diff --git a/tools/analyze_step_times.py b/tools/logs/analyze_step_times.py similarity index 100% rename from tools/analyze_step_times.py rename to tools/logs/analyze_step_times.py diff --git a/tools/color_log_viewer.py b/tools/logs/color_log_viewer.py similarity index 100% rename from tools/color_log_viewer.py rename to tools/logs/color_log_viewer.py diff --git a/tools/detailed_time_analysis.py b/tools/logs/detailed_time_analysis.py similarity index 100% rename from tools/detailed_time_analysis.py rename to tools/logs/detailed_time_analysis.py diff --git a/tools/log_filter.py b/tools/logs/log_filter.py similarity index 100% rename from tools/log_filter.py rename to tools/logs/log_filter.py diff --git a/tools/tmp_check_logging.py b/tools/tmp_check_logging.py deleted file mode 100644 index 7d16190..0000000 --- a/tools/tmp_check_logging.py +++ /dev/null @@ -1,37 +0,0 @@ -from douyin.logging import douyin_logging -import logging -import logging.handlers as lh - -# Configure logging using current config -douyin_logging.configure_logging() -root = logging.getLogger() -print("handlers:", [type(h).__name__ for h in root.handlers]) - -for h in root.handlers: - fname = getattr(h, "baseFilename", getattr(h, "filename", None)) - print(type(h).__name__, fname) - # RotatingDatedFileHandler specific - if hasattr(h, "max_bytes"): - print( - " max_bytes =", - getattr(h, "max_bytes", None), - "backup_count =", - getattr(h, "backup_count", None), - ) - # RotatingFileHandler - if isinstance(h, lh.RotatingFileHandler): - print( - " RotatingFileHandler maxBytes =", - getattr(h, "maxBytes", None), - "backupCount =", - getattr(h, "backupCount", None), - ) - if isinstance(h, lh.TimedRotatingFileHandler): - print( - " TimedRotating when =", - getattr(h, "when", None), - "interval =", - getattr(h, "interval", None), - "backupCount =", - getattr(h, "backupCount", None), - ) diff --git a/tools/tmp_threshold_check.py b/tools/tmp_threshold_check.py deleted file mode 100644 index 58745a9..0000000 --- a/tools/tmp_threshold_check.py +++ /dev/null @@ -1,14 +0,0 @@ -from douyin.core.douyin_fudai import fudai_analyse -from path_config import get_like_template_path, get_fav_template_path - -a = fudai_analyse() -print("default threshold", a.yanghao_icon_match_threshold) -like_roi = "pic/roi_test_like_20260104000913_1767456556.png" -fav_roi = "pic/roi_test_fav_20260104000916_1767456559.png" -like_tpl = get_like_template_path() -fav_tpl = get_fav_template_path() -print("Like match (default):", a._match_icon_template(like_roi, like_tpl)) -print("Fav match (default):", a._match_icon_template(fav_roi, fav_tpl)) -a.yanghao_icon_match_threshold = 0.5 -print("Like match (thr=0.5):", a._match_icon_template(like_roi, like_tpl)) -print("Fav match (thr=0.5):", a._match_icon_template(fav_roi, fav_tpl)) diff --git a/tools/dism_restorehealth_from_iso.ps1 b/tools/windows/dism_restorehealth_from_iso.ps1 similarity index 100% rename from tools/dism_restorehealth_from_iso.ps1 rename to tools/windows/dism_restorehealth_from_iso.ps1 diff --git a/tools/fix_start_menu_win11.ps1 b/tools/windows/fix_start_menu_win11.ps1 similarity index 100% rename from tools/fix_start_menu_win11.ps1 rename to tools/windows/fix_start_menu_win11.ps1 diff --git a/tools/fix_start_menu_win11_admin.ps1 b/tools/windows/fix_start_menu_win11_admin.ps1 similarity index 100% rename from tools/fix_start_menu_win11_admin.ps1 rename to tools/windows/fix_start_menu_win11_admin.ps1 diff --git a/tools/restore_start_menu_from_recyclebin.ps1 b/tools/windows/restore_start_menu_from_recyclebin.ps1 similarity index 100% rename from tools/restore_start_menu_from_recyclebin.ps1 rename to tools/windows/restore_start_menu_from_recyclebin.ps1