| # 数据库配置 |
| SQLURL=mysql+pymysql://username:password@localhost:3306/redbook |
| SQLPORT=3306 |
| SQLNAME=redbook |
| SQLUSER=root |
| SQLPWD=123456 |
| |
| # JWT密钥 |
| JWT_SECRET_KEY=your-jwt-secret-key-here |
| |
| # Flask密钥 |
| SECRET_KEY=your-flask-secret-key-here |
| |
| # 邮件服务配置 |
| # QQ邮箱示例配置 |
| MAIL_SERVER=smtp.qq.com |
| MAIL_PORT=587 |
| MAIL_USE_TLS=true |
| MAIL_USERNAME=1650349938@qq.com |
| MAIL_PASSWORD= |
| MAIL_DEFAULT_SENDER=1650349938@qq.com |
| |
| # Gmail示例配置 |
| # MAIL_SERVER=smtp.gmail.com |
| # MAIL_PORT=587 |
| # MAIL_USE_TLS=true |
| # MAIL_USERNAME=your_email@gmail.com |
| # MAIL_PASSWORD=your_app_password |
| # MAIL_DEFAULT_SENDER=your_email@gmail.com |
| |
| # 163邮箱示例配置 |
| # MAIL_SERVER=smtp.163.com |
| # MAIL_PORT=25 |
| # MAIL_USE_TLS=false |
| # MAIL_USERNAME=your_email@163.com |
| # MAIL_PASSWORD=your_email_password |
| # MAIL_DEFAULT_SENDER=your_email@163.com |