Files
douyin_guaji-main/fudai_detail_modules/fudai_detail_utils.py
T
Your Name c67f22f76f feat: Refactor and reorganize project structure with new modules and files
- Deleted obsolete files including test scripts and configuration files to streamline the project.
- Introduced new modules for handling Douyin functionalities, including core operations, logging, and GUI components.
- Updated import paths to reflect the new module structure, enhancing code organization and maintainability.
- Added configuration files and documentation to support the new structure and improve user guidance.
2025-12-28 14:16:40 +08:00

19 lines
338 B
Python

from __future__ import annotations
"""
福袋详情工具函数模块
====================
提供通用的工具函数。
"""
def is_abnormal_time_value(v: float) -> bool:
"""Shim: treat clearly invalid time values as abnormal."""
if v <= 0:
return True
if v > 24 * 3600 * 7:
return True
return False