mirror of
https://github.com/fastapiadmin/FastapiAdmin.git
synced 2026-09-20 20:39:55 +00:00
- 修改alembic配置以使用异步数据库URI和更新Base类引用 - 新增数据库Schema优化脚本,统一字段长度,添加索引,规范外键策略 - 重构API路由管理,按模块类型分组并统一前缀 - 删除示例、监控及系统各子模块的模型定义,减少冗余代码 - 将mcp_server相关代码迁移到module_ai模块下,规范模块目录结构 - 迁移example控制器至module_application.application模块,并重命名相关服务和参数名 - 优化示例控制器中的依赖和响应结构,统一命名规范
50 lines
1.3 KiB
JSON
50 lines
1.3 KiB
JSON
[
|
|
{
|
|
"id": 1,
|
|
"username": "superadmin",
|
|
"password": "$2b$12$/Df5YczDGF41zCh2F8Xbu.yHTJXGm3tONgsXz1KLUdG0mtpKUOLD2",
|
|
"name": "超级管理员",
|
|
"mobile": "15382112620",
|
|
"email": "948080782@qq.com",
|
|
"gender": "1",
|
|
"avatar": "https://service.fastapiadmin.com/api/v1/static/image/avatar.png",
|
|
"status": true,
|
|
"is_superuser": true,
|
|
"last_login": null,
|
|
"dept_id": 1,
|
|
"description": "超级管理员",
|
|
"creator_id": null
|
|
},
|
|
{
|
|
"id": 2,
|
|
"username": "admin",
|
|
"password": "$2b$12$e2IJgS/cvHgJ0H3G7Xa08OXoXnk6N/NX3IZRtubBDElA0VLZhkNOa",
|
|
"name": "管理员",
|
|
"mobile": "15382112222",
|
|
"email": "admin@qq.com",
|
|
"gender": "0",
|
|
"avatar": "https://service.fastapiadmin.com/api/v1/static/image/avatar.png",
|
|
"status": true,
|
|
"is_superuser": false,
|
|
"last_login": null,
|
|
"dept_id": 1,
|
|
"description": "管理员",
|
|
"creator_id": 1
|
|
},
|
|
{
|
|
"id": 3,
|
|
"username": "demo",
|
|
"password": "$2b$12$e2IJgS/cvHgJ0H3G7Xa08OXoXnk6N/NX3IZRtubBDElA0VLZhkNOa",
|
|
"name": "演示用户",
|
|
"mobile": "15382112121",
|
|
"email": "demo@qq.com",
|
|
"gender": "1",
|
|
"avatar": "https://service.fastapiadmin.com/api/v1/static/image/avatar.png",
|
|
"status": true,
|
|
"is_superuser": false,
|
|
"last_login": null,
|
|
"dept_id": 6,
|
|
"description": "演示用户",
|
|
"creator_id": 1
|
|
}
|
|
] |