feat: 调整高价值福袋参与阈值,优化预约逻辑以提升用户体验
This commit is contained in:
1 parent
1283645b75
commit
3fbd2b2d85
3 files changed
+14
-12
No files matched your search
@@ -189,7 +189,7 @@ class fudai_analyse:
|
||||
# 高价值阈值(元)
|
||||
self.high_value_fudai_threshold_yuan: float = 500.0
|
||||
# 提前参与秒数:开奖前 N 秒回到该直播间并参与
|
||||
self.high_value_fudai_join_ahead_seconds: int = 300
|
||||
self.high_value_fudai_join_ahead_seconds: int = 100
|
||||
# 从当前位置最多回滑多少次以回到预约直播间
|
||||
self.high_value_fudai_max_swipe_back: int = 35
|
||||
# 同时记录的最大预约数量
|
||||
@@ -2994,7 +2994,7 @@ class fudai_analyse:
|
||||
# 获取"预约参与阈值"配置
|
||||
join_ahead_seconds = int(
|
||||
getattr(
|
||||
self, "high_value_fudai_join_ahead_seconds", 300
|
||||
self, "high_value_fudai_join_ahead_seconds", 100
|
||||
)
|
||||
or 120
|
||||
)
|
||||
@@ -3895,7 +3895,7 @@ class fudai_analyse:
|
||||
if ft > 0:
|
||||
join_ahead = float(
|
||||
getattr(
|
||||
self, "high_value_fudai_join_ahead_seconds", 300
|
||||
self, "high_value_fudai_join_ahead_seconds", 100
|
||||
)
|
||||
or 120
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user