mirror of
https://github.com/fastapiadmin/FastapiAdmin.git
synced 2026-09-24 05:26:58 +00:00
- 修改基础模型中主键ID的自增参数为 autoincrement=True,确保自增行为正确 - 优化操作日志路由中请求体解析逻辑,增加 JSON 解码异常处理,提升健壮性 - 分别使用 'body' 和 'path_params' 字段存储请求体和路径参数,避免参数冲突 - 调整.env.dev配置,切换数据库类型为 PostgreSQL,更新相关连接配置项 - 清理脚本数据 JSON 文件中的冗余 id 字段,保持数据格式简洁一致
51 lines
880 B
JSON
51 lines
880 B
JSON
[
|
|
{
|
|
"name": "董事长岗",
|
|
"status": true,
|
|
"order": 1,
|
|
"description": "董事长岗位",
|
|
"creator_id": 1
|
|
},
|
|
{
|
|
"name": "运营岗",
|
|
"status": true,
|
|
"order": 2,
|
|
"description": "运营岗位",
|
|
"creator_id": 1
|
|
},
|
|
{
|
|
"name": "销售岗",
|
|
"status": true,
|
|
"order": 3,
|
|
"description": "销售岗",
|
|
"creator_id": 1
|
|
},
|
|
{
|
|
"name": "人事行政岗",
|
|
"status": true,
|
|
"order": 4,
|
|
"description": "人事行政岗",
|
|
"creator_id": 1
|
|
},
|
|
{
|
|
"name": "开发岗",
|
|
"status": true,
|
|
"order": 5,
|
|
"description": "开发岗",
|
|
"creator_id": 1
|
|
},
|
|
{
|
|
"name": "测试岗",
|
|
"status": true,
|
|
"order": 6,
|
|
"description": "测试岗",
|
|
"creator_id": 1
|
|
},
|
|
{
|
|
"name": "演示岗",
|
|
"status": true,
|
|
"order": 7,
|
|
"description": "演示岗",
|
|
"creator_id": 1
|
|
}
|
|
] |