This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
importos
classConfig:
"""
配置类,用于存储应用程序的各种配置信息。
"""
# SECRET_KEY 用于 Flask 应用的会话加密和 CSRF 保护
# 首先尝试从环境变量中获取 SECRET_KEY,如果环境变量中未设置,则使用默认值
# 这里将默认值注释掉,使用了一个硬编码的 SECRET_KEY,实际生产中不建议这样做
# SECRET_KEY = os.environ.get('SECRET_KEY') or 'your_secret_key'