mirror of
https://github.com/fastapiadmin/FastapiAdmin.git
synced 2026-10-04 01:10:36 +00:00
本次提交进行了大规模的系统重构: 1. 拆分租户相关模块到platform平台层,重构租户表名与关联关系 2. 迁移日志、工单、插件等模块到对应层级,统一代码结构 3. 重构批量操作接口路径,从/available/setting改为/status/batch 4. 新增批量删除基础模型,统一处理批量操作逻辑 5. 优化导入导出接口,修正路由方法与描述信息 6. 修复循环引用问题,重构依赖注入与类型导入 7. 更新初始化脚本与路由注册,新增平台管理路由 8. 重构岗位模型,新增岗位编码字段与校验 9. 完善部门删除逻辑,新增子部门删除限制 10. 更新初始化数据与配置文件,适配新架构
108 lines
2.9 KiB
JSON
108 lines
2.9 KiB
JSON
[
|
|
{
|
|
"tenant_id": 1,
|
|
"username": "super",
|
|
"password": "$2b$12$e2IJgS/cvHgJ0H3G7Xa08OXoXnk6N/NX3IZRtubBDElA0VLZhkNOa",
|
|
"name": "超级管理员",
|
|
"mobile": "13800138000",
|
|
"email": "super@example.com",
|
|
"gender": "0",
|
|
"avatar": "https://service.fastapiadmin.com/api/v1/static/image/avatar.png",
|
|
"is_superuser": true,
|
|
"last_login": null,
|
|
"gitee_login": null,
|
|
"github_login": null,
|
|
"wx_login": null,
|
|
"qq_login": null,
|
|
"dept_id": 1,
|
|
"status": "0",
|
|
"description": "系统超级管理员",
|
|
"created_id": null,
|
|
"updated_id": null
|
|
},
|
|
{
|
|
"tenant_id": 1,
|
|
"username": "admin",
|
|
"password": "$2b$12$e2IJgS/cvHgJ0H3G7Xa08OXoXnk6N/NX3IZRtubBDElA0VLZhkNOa",
|
|
"name": "管理员",
|
|
"mobile": "13800138001",
|
|
"email": "admin@example.com",
|
|
"gender": "0",
|
|
"avatar": "https://service.fastapiadmin.com/api/v1/static/image/avatar.png",
|
|
"is_superuser": false,
|
|
"last_login": null,
|
|
"gitee_login": null,
|
|
"github_login": null,
|
|
"wx_login": null,
|
|
"qq_login": null,
|
|
"dept_id": 2,
|
|
"status": "0",
|
|
"description": "技术部门管理员",
|
|
"created_id": 1,
|
|
"updated_id": null
|
|
},
|
|
{
|
|
"tenant_id": 1,
|
|
"username": "user",
|
|
"password": "$2b$12$e2IJgS/cvHgJ0H3G7Xa08OXoXnk6N/NX3IZRtubBDElA0VLZhkNOa",
|
|
"name": "普通用户",
|
|
"mobile": "13800138002",
|
|
"email": "user@example.com",
|
|
"gender": "0",
|
|
"avatar": "https://service.fastapiadmin.com/api/v1/static/image/avatar.png",
|
|
"is_superuser": false,
|
|
"last_login": null,
|
|
"gitee_login": null,
|
|
"github_login": null,
|
|
"wx_login": null,
|
|
"qq_login": null,
|
|
"dept_id": 3,
|
|
"status": "0",
|
|
"description": "后端开发工程师",
|
|
"created_id": 1,
|
|
"updated_id": null
|
|
},
|
|
{
|
|
"tenant_id": 1,
|
|
"username": "product",
|
|
"password": "$2b$12$e2IJgS/cvHgJ0H3G7Xa08OXoXnk6N/NX3IZRtubBDElA0VLZhkNOa",
|
|
"name": "产品经理",
|
|
"mobile": "13800138003",
|
|
"email": "product@example.com",
|
|
"gender": "1",
|
|
"avatar": "https://service.fastapiadmin.com/api/v1/static/image/avatar.png",
|
|
"is_superuser": false,
|
|
"last_login": null,
|
|
"gitee_login": null,
|
|
"github_login": null,
|
|
"wx_login": null,
|
|
"qq_login": null,
|
|
"dept_id": 5,
|
|
"status": "0",
|
|
"description": "产品经理",
|
|
"created_id": 1,
|
|
"updated_id": null
|
|
},
|
|
{
|
|
"tenant_id": 1,
|
|
"username": "hr",
|
|
"password": "$2b$12$e2IJgS/cvHgJ0H3G7Xa08OXoXnk6N/NX3IZRtubBDElA0VLZhkNOa",
|
|
"name": "HR专员",
|
|
"mobile": "13800138004",
|
|
"email": "hr@example.com",
|
|
"gender": "1",
|
|
"avatar": "https://service.fastapiadmin.com/api/v1/static/image/avatar.png",
|
|
"is_superuser": false,
|
|
"last_login": null,
|
|
"gitee_login": null,
|
|
"github_login": null,
|
|
"wx_login": null,
|
|
"qq_login": null,
|
|
"dept_id": 6,
|
|
"status": "0",
|
|
"description": "人力资源专员",
|
|
"created_id": 1,
|
|
"updated_id": null
|
|
}
|
|
]
|