Files
FastapiAdmin/backend/app/scripts/data/system_position.json
T
zhangtao 8cb93d31d1 fix(core): 修正 ID 自增和操作日志请求体参数处理
- 修改基础模型中主键ID的自增参数为 autoincrement=True,确保自增行为正确
- 优化操作日志路由中请求体解析逻辑,增加 JSON 解码异常处理,提升健壮性
- 分别使用 'body' 和 'path_params' 字段存储请求体和路径参数,避免参数冲突
- 调整.env.dev配置,切换数据库类型为 PostgreSQL,更新相关连接配置项
- 清理脚本数据 JSON 文件中的冗余 id 字段,保持数据格式简洁一致
2025-09-06 14:05:55 +08:00

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
}
]