mirror of
https://github.com/fastapiadmin/FastapiAdmin.git
synced 2026-09-24 05:26:58 +00:00
This commit upgrades the project's Python base version from 3.10 to 3.12, updates all related dependency versions, replaces bcrypt password hashing with pbkdf2-sha256, refactors the UA parsing library, removes unused dependencies, and fixes related exception handling code.
152 lines
4.4 KiB
JSON
152 lines
4.4 KiB
JSON
[
|
|
{
|
|
"tenant_id": 1,
|
|
"username": "super",
|
|
"password": "$pbkdf2-sha256$600000$XX20aO1v73xS0JnoewXNtw==$PEaVHV1N5L7PfYQw2lCAQOc4hAEyCiwsGR48/jgVBjU=",
|
|
"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": "$pbkdf2-sha256$600000$XX20aO1v73xS0JnoewXNtw==$PEaVHV1N5L7PfYQw2lCAQOc4hAEyCiwsGR48/jgVBjU=",
|
|
"name": "管理员",
|
|
"mobile": "13800138001",
|
|
"email": "admin@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": 2,
|
|
"status": 0,
|
|
"description": "技术部门管理员",
|
|
"created_id": 1,
|
|
"updated_id": null
|
|
},
|
|
{
|
|
"tenant_id": 1,
|
|
"username": "user",
|
|
"password": "$pbkdf2-sha256$600000$XX20aO1v73xS0JnoewXNtw==$PEaVHV1N5L7PfYQw2lCAQOc4hAEyCiwsGR48/jgVBjU=",
|
|
"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": "$pbkdf2-sha256$600000$XX20aO1v73xS0JnoewXNtw==$PEaVHV1N5L7PfYQw2lCAQOc4hAEyCiwsGR48/jgVBjU=",
|
|
"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": "$pbkdf2-sha256$600000$XX20aO1v73xS0JnoewXNtw==$PEaVHV1N5L7PfYQw2lCAQOc4hAEyCiwsGR48/jgVBjU=",
|
|
"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
|
|
},
|
|
{
|
|
"tenant_id": 3,
|
|
"username": "zhang_admin",
|
|
"password": "$pbkdf2-sha256$600000$E8jfd18sWu7N9DWsx/nYKg==$9DNKCv+dm1QDvYXwpQlZH6e7trYp1WCPdsvSyzXwuo0=",
|
|
"name": "张明",
|
|
"mobile": "13800001001",
|
|
"email": "zhang@star-tech.dev",
|
|
"status": 0,
|
|
"is_superuser": false,
|
|
"description": "星辰科技管理员"
|
|
},
|
|
{
|
|
"tenant_id": 3,
|
|
"username": "wang_dev",
|
|
"password": "$pbkdf2-sha256$600000$E8jfd18sWu7N9DWsx/nYKg==$9DNKCv+dm1QDvYXwpQlZH6e7trYp1WCPdsvSyzXwuo0=",
|
|
"name": "王华",
|
|
"mobile": "13800001002",
|
|
"email": "wang@star-tech.dev",
|
|
"status": 0,
|
|
"is_superuser": false,
|
|
"description": "星辰科技研发工程师"
|
|
},
|
|
{
|
|
"tenant_id": 4,
|
|
"username": "li_admin",
|
|
"password": "$pbkdf2-sha256$600000$E8jfd18sWu7N9DWsx/nYKg==$9DNKCv+dm1QDvYXwpQlZH6e7trYp1WCPdsvSyzXwuo0=",
|
|
"name": "李芳",
|
|
"mobile": "13800002001",
|
|
"email": "li@inno.work",
|
|
"status": 0,
|
|
"is_superuser": false,
|
|
"description": "创新工坊创始人"
|
|
},
|
|
{
|
|
"tenant_id": 4,
|
|
"username": "zhao_eng",
|
|
"password": "$pbkdf2-sha256$600000$E8jfd18sWu7N9DWsx/nYKg==$9DNKCv+dm1QDvYXwpQlZH6e7trYp1WCPdsvSyzXwuo0=",
|
|
"name": "赵强",
|
|
"mobile": "13800002002",
|
|
"email": "zhao@inno.work",
|
|
"status": 0,
|
|
"is_superuser": false,
|
|
"description": "创新工坊技术合伙人"
|
|
}
|
|
]
|