feat: 更新开发环境配置和部署脚本优化

- 将前端API基础URL切换为本地开发环境
- 登录表单添加默认测试账号
- 主题存储默认设置为暗色模式
- 添加用户信息到请求上下文
- 调整LOGO和登录页面样式
- 更新演示环境白名单和权限控制
- 优化部署脚本流程和日志输出
- 清理未使用的组件类型声明
This commit is contained in:
zhangtao
2025-08-26 01:02:54 +08:00
parent f348e8006d
commit cd6c5e0931
13 changed files with 91 additions and 83 deletions
+7 -2
View File
@@ -175,13 +175,18 @@ class Settings(BaseSettings):
"/api/v1/system/auth/token/refresh",
"/api/v1/system/auth/captcha/get",
"/api/v1/system/auth/logout",
"/api/v1/system/config/info",
"/api/v1/system/user/current/info",
"/api/v1/system/notice/available",
]
DEMO_BLACK_LIST_PATH: List[str] = [ # 演示黑名单
"/auth/login"
]
DEMO_IP_WHITE_LIST: List[str] = [ # 演示白名单IP
"192.168.18.7",
"192.168.1.3"
"127.0.0.1"
]
DEMO_USER_WHITE_LIST: List[str] = [ # 演示白名单用户
"superadmin",
]
# ================================================= #