refactor: 统一将creator_id重命名为created_id并优化模型关系

feat: 新增系统租户和用户初始化数据

style: 优化代码注释和格式

fix: 修复数据权限检查逻辑中的created_id字段判断

perf: 移除不必要的模型关系以提升性能

docs: 更新初始化数据的描述信息

chore: 清理废弃文件和冗余代码
This commit is contained in:
zhangtao
2025-11-24 01:02:27 +08:00
parent 9a39a64faf
commit c0d32a7eec
59 changed files with 581 additions and 867 deletions
+26
View File
@@ -0,0 +1,26 @@
[
{
"username": "admin",
"password": "$2b$12$e2IJgS/cvHgJ0H3G7Xa08OXoXnk6N/NX3IZRtubBDElA0VLZhkNOa",
"name": "超级管理员",
"mobile": null,
"email": null,
"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,
"user_type": "0",
"salt": "123456",
"dept_id": 1,
"status": true,
"description": "超级管理员",
"tenant_id": 1,
"customer_id": null,
"created_id": null,
"updated_id": null
}
]