Merged
Conversation
added 2 commits
September 8, 2025 22:04
- 演示模式中增加演示白名单IP "117.10.167.220" - 中间件中优先从X-Forwarded-For请求头获取客户端真实IP,优化IP判断逻辑 - 从日志中打印用户名称,方便追踪演示环境操作用户 - 补充IP白名单和路径白名单的判断条件,非白名单用户禁止操作 - 初始化插件中的数据库连接和初始化逻辑调整,改为单独会话完成,提升代码清晰度 - 初始化脚本中更新PostgreSQL序列时仅处理含id字段的模型,避免关联表模型错误 - 修改开发环境配置,切换数据库类型为MySQL,更新相关连接配置,匹配MySQL默认端口及用户信息 - 删除MySQL数据库的完整导出脚本,确保代码库无冗余数据库备份文件
- 修改DATABASE_TYPE为sqlite - 保留MySQL相关端口和用户名配置 - 删除注释的PostgreSQL数据库配置 - 保持Redis配置不变
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.