mirror of
https://github.com/fastapiadmin/FastapiAdmin.git
synced 2026-10-15 21:35:34 +00:00
refactor(module): 重构模块路径和数据库配置
- 将前端API路径从`system`和`monitor`重命名为`module_system`和`module_monitor` - 移除MongoDB相关配置和依赖 - 统一数据库类型命名为`mysql`和`postgres` - 修复代码生成模板中的字段命名问题 - 更新依赖项并移除不必要的包 - 优化数据库连接配置 - 添加新的文档和Redoc视图组件 - 修复SQL脚本中的字段注释
This commit is contained in:
Vendored
+1
-9
@@ -30,7 +30,7 @@ DESCRIPTION = "该项目是一个基于python的web服务框架,基于fastapi
|
||||
DEMO_ENABLE = True
|
||||
|
||||
# 数据库配置
|
||||
DATABASE_TYPE = "mysql" # sqlite、mysql、postgresql
|
||||
DATABASE_TYPE = "mysql" # mysql、postgres
|
||||
|
||||
# 数据库配置
|
||||
DATABASE_HOST = "172.18.52.77"
|
||||
@@ -47,14 +47,6 @@ REDIS_USER = ''
|
||||
REDIS_PASSWORD = 'FastApi123abc'
|
||||
REDIS_DB_NAME = 1
|
||||
|
||||
# MongoDB配置
|
||||
MONGO_DB_ENABLE = False
|
||||
MONGO_DB_HOST = "172.18.52.77"
|
||||
MONGO_DB_USER = "root"
|
||||
MONGO_DB_PASSWORD = 'FastApi123abc'
|
||||
MONGO_DB_PORT = 27017
|
||||
MONGO_DB_NAME = "fastapiadmin"
|
||||
|
||||
# 日志配置
|
||||
LOGGER_LEVEL = 'INFO'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user