{"code":0,"message":"success","data":{"name":"HRMS 人力资源管理系统 API","prefix":"/api","total":220,"modules":[{"key":"dashboard","label":"工作台","count":2},{"key":"employees","label":"员工档案","count":9},{"key":"workflow","label":"入转调离流程","count":0},{"key":"probation","label":"试用期管理","count":11},{"key":"transfer","label":"调动管理","count":8},{"key":"offboarding","label":"离职管理","count":10},{"key":"onboarding","label":"入职管理","count":11},{"key":"archive","label":"档案管理","count":9},{"key":"contract","label":"合同管理","count":10},{"key":"assessment","label":"能力测评","count":9},{"key":"talent","label":"人才盘点","count":11},{"key":"profile","label":"人才画像","count":0},{"key":"performance","label":"绩效管理","count":22},{"key":"salary","label":"薪酬数据","count":23},{"key":"knowledge","label":"知识库","count":11},{"key":"ai","label":"AI智能分析","count":9},{"key":"analysis","label":"AI分析报告","count":5},{"key":"approval","label":"审批中心","count":7},{"key":"report","label":"报表中心","count":7},{"key":"org","label":"组织架构","count":9},{"key":"integration","label":"系统集成","count":11},{"key":"permission","label":"权限管理","count":8},{"key":"settings","label":"系统设置","count":5},{"key":"user","label":"账号管理","count":5}],"endpoints":[{"method":"GET","path":"/health","module":"health","desc":"健康检查（含数据库连通性）","fullPath":"/api/health"},{"method":"GET","path":"/meta","module":"meta","desc":"接口清单与能力概览","fullPath":"/api/meta"},{"method":"GET","path":"/meta/enums","module":"meta","desc":"状态字典（下拉选项取值）","fullPath":"/api/meta/enums"},{"method":"POST","path":"/auth/login","module":"auth","desc":"登录，签发 Bearer Token","fullPath":"/api/auth/login"},{"method":"GET","path":"/auth/me","module":"auth","desc":"当前登录账号信息","fullPath":"/api/auth/me"},{"method":"GET","path":"/auth/permissions","module":"auth","desc":"当前账号各模块权限","fullPath":"/api/auth/permissions"},{"method":"POST","path":"/auth/change-password","module":"auth","desc":"修改密码（旧 token 立即失效）","fullPath":"/api/auth/change-password"},{"method":"POST","path":"/auth/logout","module":"auth","desc":"退出登录（留痕）","fullPath":"/api/auth/logout"},{"method":"GET","path":"/dashboard/overview","module":"dashboard","desc":"工作台：指标卡/待办审批/部门分布/动态/到期提醒","fullPath":"/api/dashboard/overview"},{"method":"GET","path":"/dashboard/activities","module":"dashboard","desc":"近期动态（操作日志）","fullPath":"/api/dashboard/activities"},{"method":"GET","path":"/employees","module":"employees","desc":"员工花名册：关键字/部门/状态/类型筛选 + 分页 + 排序","fullPath":"/api/employees"},{"method":"GET","path":"/employees/stats","module":"employees","desc":"员工统计（在职/试用/部门/学历/类型）","fullPath":"/api/employees/stats"},{"method":"GET","path":"/employees/export","module":"employees","desc":"导出花名册 CSV","fullPath":"/api/employees/export"},{"method":"GET","path":"/employees/:id","module":"employees","desc":"员工档案详情（支持工号）","fullPath":"/api/employees/:id"},{"method":"GET","path":"/employees/:id/profile","module":"employees","desc":"员工 360：档案+合同+档案文件+绩效+测评+画像","fullPath":"/api/employees/:id/profile"},{"method":"POST","path":"/employees","module":"employees","desc":"新增员工（自动取工号/公司代码，自动算司龄年龄）","fullPath":"/api/employees"},{"method":"PATCH","path":"/employees/:id","module":"employees","desc":"修改员工档案","fullPath":"/api/employees/:id"},{"method":"DELETE","path":"/employees/:id","module":"employees","desc":"删除员工（软删除，保留原记录）","fullPath":"/api/employees/:id"},{"method":"POST","path":"/employees/:id/restore","module":"employees","desc":"恢复已删除员工","fullPath":"/api/employees/:id/restore"},{"method":"GET","path":"/departments","module":"org","desc":"部门列表","fullPath":"/api/departments"},{"method":"GET","path":"/departments/tree","module":"org","desc":"组织架构树（含人数汇总）","fullPath":"/api/departments/tree"},{"method":"POST","path":"/departments/sync","module":"org","desc":"同步组织数据（按员工表回写人数）","fullPath":"/api/departments/sync"},{"method":"GET","path":"/departments/:id","module":"org","desc":"部门详情（支持 code）","fullPath":"/api/departments/:id"},{"method":"GET","path":"/departments/:id/employees","module":"org","desc":"部门下员工","fullPath":"/api/departments/:id/employees"},{"method":"POST","path":"/departments","module":"org","desc":"新增部门","fullPath":"/api/departments"},{"method":"PATCH","path":"/departments/:id","module":"org","desc":"修改部门","fullPath":"/api/departments/:id"},{"method":"DELETE","path":"/departments/:id","module":"org","desc":"删除部门（软删除）","fullPath":"/api/departments/:id"},{"method":"POST","path":"/departments/:id/restore","module":"org","desc":"恢复部门","fullPath":"/api/departments/:id/restore"},{"method":"GET","path":"/onboardings","module":"onboarding","desc":"入职申请列表","fullPath":"/api/onboardings"},{"method":"GET","path":"/onboardings/stats","module":"onboarding","desc":"入职统计（本月/进行中/来源）","fullPath":"/api/onboardings/stats"},{"method":"GET","path":"/onboardings/:id","module":"onboarding","desc":"入职申请详情（含任务/欢迎包/审批链）","fullPath":"/api/onboardings/:id"},{"method":"POST","path":"/onboardings","module":"onboarding","desc":"新建入职申请","fullPath":"/api/onboardings"},{"method":"PATCH","path":"/onboardings/:id","module":"onboarding","desc":"修改入职申请","fullPath":"/api/onboardings/:id"},{"method":"DELETE","path":"/onboardings/:id","module":"onboarding","desc":"删除入职申请（软删除）","fullPath":"/api/onboardings/:id"},{"method":"POST","path":"/onboardings/:id/restore","module":"onboarding","desc":"恢复入职申请","fullPath":"/api/onboardings/:id/restore"},{"method":"POST","path":"/onboardings/:id/advance","module":"onboarding","desc":"推进办理进度（5 步）","fullPath":"/api/onboardings/:id/advance"},{"method":"PATCH","path":"/onboardings/:id/tasks","module":"onboarding","desc":"更新任务项状态","fullPath":"/api/onboardings/:id/tasks"},{"method":"POST","path":"/onboardings/:id/welcome-send","module":"onboarding","desc":"发送入职欢迎包","fullPath":"/api/onboardings/:id/welcome-send"},{"method":"POST","path":"/onboardings/:id/complete","module":"onboarding","desc":"完成入职并自动建档","fullPath":"/api/onboardings/:id/complete"},{"method":"GET","path":"/probations","module":"probation","desc":"试用期列表（状态按到期日自动刷新）","fullPath":"/api/probations"},{"method":"GET","path":"/probations/stats","module":"probation","desc":"试用期统计（本月到期/超期/审批中）","fullPath":"/api/probations/stats"},{"method":"GET","path":"/probations/alerts","module":"probation","desc":"到期提醒","fullPath":"/api/probations/alerts"},{"method":"GET","path":"/probations/:id","module":"probation","desc":"试用期详情","fullPath":"/api/probations/:id"},{"method":"POST","path":"/probations","module":"probation","desc":"新增试用期记录","fullPath":"/api/probations"},{"method":"PATCH","path":"/probations/:id","module":"probation","desc":"修改试用期记录","fullPath":"/api/probations/:id"},{"method":"DELETE","path":"/probations/:id","module":"probation","desc":"删除试用期记录（软删除）","fullPath":"/api/probations/:id"},{"method":"POST","path":"/probations/:id/restore","module":"probation","desc":"恢复试用期记录","fullPath":"/api/probations/:id/restore"},{"method":"PATCH","path":"/probations/:id/goals","module":"probation","desc":"更新试用期目标完成情况","fullPath":"/api/probations/:id/goals"},{"method":"POST","path":"/probations/:id/apply","module":"probation","desc":"发起转正（生成审批待办）","fullPath":"/api/probations/:id/apply"},{"method":"POST","path":"/probations/:id/decide","module":"probation","desc":"转正结果确认（转正/延期/辞退）","fullPath":"/api/probations/:id/decide"},{"method":"GET","path":"/transfers","module":"transfer","desc":"调动申请列表","fullPath":"/api/transfers"},{"method":"GET","path":"/transfers/stats","module":"transfer","desc":"调动统计","fullPath":"/api/transfers/stats"},{"method":"GET","path":"/transfers/:id","module":"transfer","desc":"调动详情","fullPath":"/api/transfers/:id"},{"method":"POST","path":"/transfers","module":"transfer","desc":"发起调动申请","fullPath":"/api/transfers"},{"method":"PATCH","path":"/transfers/:id","module":"transfer","desc":"修改调动申请","fullPath":"/api/transfers/:id"},{"method":"DELETE","path":"/transfers/:id","module":"transfer","desc":"删除调动申请（软删除）","fullPath":"/api/transfers/:id"},{"method":"POST","path":"/transfers/:id/restore","module":"transfer","desc":"恢复调动申请","fullPath":"/api/transfers/:id/restore"},{"method":"POST","path":"/transfers/:id/approve","module":"transfer","desc":"调动审批（通过即落员工部门/岗位）","fullPath":"/api/transfers/:id/approve"},{"method":"GET","path":"/offboardings","module":"offboarding","desc":"离职办理列表","fullPath":"/api/offboardings"},{"method":"GET","path":"/offboardings/stats","module":"offboarding","desc":"离职统计（办理中/已办结/类型/原因）","fullPath":"/api/offboardings/stats"},{"method":"GET","path":"/offboardings/:id","module":"offboarding","desc":"离职详情与办理清单","fullPath":"/api/offboardings/:id"},{"method":"POST","path":"/offboardings","module":"offboarding","desc":"发起离职申请","fullPath":"/api/offboardings"},{"method":"PATCH","path":"/offboardings/:id","module":"offboarding","desc":"修改离职申请","fullPath":"/api/offboardings/:id"},{"method":"DELETE","path":"/offboardings/:id","module":"offboarding","desc":"删除离职申请（软删除）","fullPath":"/api/offboardings/:id"},{"method":"POST","path":"/offboardings/:id/restore","module":"offboarding","desc":"恢复离职申请","fullPath":"/api/offboardings/:id/restore"},{"method":"POST","path":"/offboardings/:id/settle","module":"offboarding","desc":"离职结算预估（基本+年假折算+奖金）","fullPath":"/api/offboardings/:id/settle"},{"method":"PATCH","path":"/offboardings/:id/checklist","module":"offboarding","desc":"勾选办理清单项","fullPath":"/api/offboardings/:id/checklist"},{"method":"POST","path":"/offboardings/:id/complete","module":"offboarding","desc":"办结离职（员工状态置已离职）","fullPath":"/api/offboardings/:id/complete"},{"method":"GET","path":"/contracts","module":"contract","desc":"合同列表","fullPath":"/api/contracts"},{"method":"GET","path":"/contracts/stats","module":"contract","desc":"合同统计（有效/到期/待签）","fullPath":"/api/contracts/stats"},{"method":"GET","path":"/contracts/expiring","module":"contract","desc":"到期提醒（默认 30 天）","fullPath":"/api/contracts/expiring"},{"method":"GET","path":"/contracts/summary","module":"contract","desc":"按类型汇总（含续签次数）","fullPath":"/api/contracts/summary"},{"method":"GET","path":"/contracts/:id","module":"contract","desc":"合同详情（支持合同编号）","fullPath":"/api/contracts/:id"},{"method":"POST","path":"/contracts","module":"contract","desc":"新建合同（自动取合同号与状态）","fullPath":"/api/contracts"},{"method":"PATCH","path":"/contracts/:id","module":"contract","desc":"修改合同","fullPath":"/api/contracts/:id"},{"method":"DELETE","path":"/contracts/:id","module":"contract","desc":"删除合同（软删除）","fullPath":"/api/contracts/:id"},{"method":"POST","path":"/contracts/:id/restore","module":"contract","desc":"恢复合同","fullPath":"/api/contracts/:id/restore"},{"method":"POST","path":"/contracts/:id/renew","module":"contract","desc":"续签合同（原合同终止 + 新合同生成）","fullPath":"/api/contracts/:id/renew"},{"method":"GET","path":"/archives","module":"archive","desc":"档案文件列表","fullPath":"/api/archives"},{"method":"GET","path":"/archives/stats","module":"archive","desc":"档案三类统计","fullPath":"/api/archives/stats"},{"method":"GET","path":"/archives/index","module":"archive","desc":"档案索引（按员工聚合完整性）","fullPath":"/api/archives/index"},{"method":"GET","path":"/archives/employees/:name","module":"archive","desc":"某员工全部档案文件","fullPath":"/api/archives/employees/:name"},{"method":"GET","path":"/archives/:id","module":"archive","desc":"档案文件详情","fullPath":"/api/archives/:id"},{"method":"POST","path":"/archives","module":"archive","desc":"登记档案文件（上传元数据）","fullPath":"/api/archives"},{"method":"PATCH","path":"/archives/:id","module":"archive","desc":"修改档案文件","fullPath":"/api/archives/:id"},{"method":"DELETE","path":"/archives/:id","module":"archive","desc":"删除档案文件（软删除）","fullPath":"/api/archives/:id"},{"method":"POST","path":"/archives/:id/restore","module":"archive","desc":"恢复档案文件","fullPath":"/api/archives/:id/restore"},{"method":"GET","path":"/assessments","module":"assessment","desc":"测评任务列表","fullPath":"/api/assessments"},{"method":"GET","path":"/assessments/stats","module":"assessment","desc":"测评统计","fullPath":"/api/assessments/stats"},{"method":"GET","path":"/assessments/:id","module":"assessment","desc":"测评任务详情","fullPath":"/api/assessments/:id"},{"method":"POST","path":"/assessments","module":"assessment","desc":"创建测评任务","fullPath":"/api/assessments"},{"method":"PATCH","path":"/assessments/:id","module":"assessment","desc":"修改测评任务","fullPath":"/api/assessments/:id"},{"method":"DELETE","path":"/assessments/:id","module":"assessment","desc":"删除测评任务（软删除）","fullPath":"/api/assessments/:id"},{"method":"GET","path":"/assessments/:id/results","module":"assessment","desc":"测评结果与完成率","fullPath":"/api/assessments/:id/results"},{"method":"POST","path":"/assessments/:id/results","module":"assessment","desc":"录入/更新测评结果（回写完成率）","fullPath":"/api/assessments/:id/results"},{"method":"POST","path":"/assessments/:id/close","module":"assessment","desc":"结束测评","fullPath":"/api/assessments/:id/close"},{"method":"GET","path":"/talent/ninebox","module":"talent","desc":"人才九宫格分布（3×3）","fullPath":"/api/talent/ninebox"},{"method":"GET","path":"/talent/entries","module":"talent","desc":"盘点记录列表","fullPath":"/api/talent/entries"},{"method":"POST","path":"/talent/entries","module":"talent","desc":"新增盘点记录","fullPath":"/api/talent/entries"},{"method":"PATCH","path":"/talent/entries/:id","module":"talent","desc":"修改盘点记录","fullPath":"/api/talent/entries/:id"},{"method":"DELETE","path":"/talent/entries/:id","module":"talent","desc":"删除盘点记录（软删除）","fullPath":"/api/talent/entries/:id"},{"method":"POST","path":"/talent/regenerate","module":"talent","desc":"按绩效+画像重算九宫格","fullPath":"/api/talent/regenerate"},{"method":"GET","path":"/talent/profiles","module":"talent","desc":"人才画像列表","fullPath":"/api/talent/profiles"},{"method":"GET","path":"/talent/profiles/:employeeName","module":"talent","desc":"人才画像详情（含绩效/测评）","fullPath":"/api/talent/profiles/:employeeName"},{"method":"PUT","path":"/talent/profiles/:employeeName","module":"talent","desc":"新建/更新人才画像","fullPath":"/api/talent/profiles/:employeeName"},{"method":"POST","path":"/talent/profiles/:employeeName/advice","module":"talent","desc":"生成发展建议与标签","fullPath":"/api/talent/profiles/:employeeName/advice"},{"method":"DELETE","path":"/talent/profiles/:employeeName","module":"talent","desc":"删除人才画像","fullPath":"/api/talent/profiles/:employeeName"},{"method":"GET","path":"/performance/overview","module":"performance","desc":"绩效首页指标/进度/分布","fullPath":"/api/performance/overview"},{"method":"GET","path":"/performance/distribution","module":"performance","desc":"绩效等级分布","fullPath":"/api/performance/distribution"},{"method":"GET","path":"/performance/cycles","module":"performance","desc":"考核周期列表","fullPath":"/api/performance/cycles"},{"method":"POST","path":"/performance/cycles","module":"performance","desc":"新建考核周期","fullPath":"/api/performance/cycles"},{"method":"PATCH","path":"/performance/cycles/:id","module":"performance","desc":"修改考核周期","fullPath":"/api/performance/cycles/:id"},{"method":"POST","path":"/performance/cycles/:id/close","module":"performance","desc":"结束当前周期","fullPath":"/api/performance/cycles/:id/close"},{"method":"POST","path":"/performance/cycles/:id/next","module":"performance","desc":"创建下周期","fullPath":"/api/performance/cycles/:id/next"},{"method":"GET","path":"/performance/templates","module":"performance","desc":"考核模板列表","fullPath":"/api/performance/templates"},{"method":"POST","path":"/performance/templates","module":"performance","desc":"新建考核模板","fullPath":"/api/performance/templates"},{"method":"PATCH","path":"/performance/templates/:id","module":"performance","desc":"修改考核模板","fullPath":"/api/performance/templates/:id"},{"method":"DELETE","path":"/performance/templates/:id","module":"performance","desc":"删除考核模板（软删除）","fullPath":"/api/performance/templates/:id"},{"method":"GET","path":"/performance/reviews","module":"performance","desc":"考核评分记录列表","fullPath":"/api/performance/reviews"},{"method":"POST","path":"/performance/reviews","module":"performance","desc":"新建考核记录","fullPath":"/api/performance/reviews"},{"method":"GET","path":"/performance/reviews/:id","module":"performance","desc":"考核记录详情","fullPath":"/api/performance/reviews/:id"},{"method":"PATCH","path":"/performance/reviews/:id","module":"performance","desc":"修改考核记录","fullPath":"/api/performance/reviews/:id"},{"method":"DELETE","path":"/performance/reviews/:id","module":"performance","desc":"删除考核记录（软删除）","fullPath":"/api/performance/reviews/:id"},{"method":"POST","path":"/performance/reviews/:id/score","module":"performance","desc":"提交评分（总分=自评30%+上级70%）","fullPath":"/api/performance/reviews/:id/score"},{"method":"PATCH","path":"/performance/reviews/:id/confirm","module":"performance","desc":"确认绩效结果","fullPath":"/api/performance/reviews/:id/confirm"},{"method":"GET","path":"/performance/interviews","module":"performance","desc":"绩效面谈列表","fullPath":"/api/performance/interviews"},{"method":"POST","path":"/performance/interviews","module":"performance","desc":"新建绩效面谈","fullPath":"/api/performance/interviews"},{"method":"PATCH","path":"/performance/interviews/:id","module":"performance","desc":"修改绩效面谈","fullPath":"/api/performance/interviews/:id"},{"method":"DELETE","path":"/performance/interviews/:id","module":"performance","desc":"删除绩效面谈（软删除）","fullPath":"/api/performance/interviews/:id"},{"method":"GET","path":"/salary/overview","module":"salary","desc":"薪酬汇总卡 + 当期进度 + 部门汇总","fullPath":"/api/salary/overview"},{"method":"GET","path":"/salary/batches","module":"salary","desc":"核算批次列表","fullPath":"/api/salary/batches"},{"method":"POST","path":"/salary/batches","module":"salary","desc":"发起月度核算（同月同范围幂等）","fullPath":"/api/salary/batches"},{"method":"GET","path":"/salary/batches/:id","module":"salary","desc":"批次详情（含明细）","fullPath":"/api/salary/batches/:id"},{"method":"PATCH","path":"/salary/batches/:id","module":"salary","desc":"修改批次","fullPath":"/api/salary/batches/:id"},{"method":"DELETE","path":"/salary/batches/:id","module":"salary","desc":"删除未确认批次","fullPath":"/api/salary/batches/:id"},{"method":"POST","path":"/salary/batches/:id/calculate","module":"salary","desc":"执行核算（逐人计算社保/公积金/个税）","fullPath":"/api/salary/batches/:id/calculate"},{"method":"POST","path":"/salary/batches/:id/confirm","module":"salary","desc":"确认核算结果","fullPath":"/api/salary/batches/:id/confirm"},{"method":"POST","path":"/salary/batches/:id/sync","module":"salary","desc":"同步财务系统（写同步日志）","fullPath":"/api/salary/batches/:id/sync"},{"method":"GET","path":"/salary/batches/:id/summary","module":"salary","desc":"按部门汇总","fullPath":"/api/salary/batches/:id/summary"},{"method":"GET","path":"/salary/batches/:id/items","module":"salary","desc":"薪资明细列表","fullPath":"/api/salary/batches/:id/items"},{"method":"POST","path":"/salary/batches/:id/items","module":"salary","desc":"补录薪资明细（自动计算五险一金个税）","fullPath":"/api/salary/batches/:id/items"},{"method":"PATCH","path":"/salary/items/:id","module":"salary","desc":"调整薪资明细（重算应发/实发）","fullPath":"/api/salary/items/:id"},{"method":"GET","path":"/salary/payslip","module":"salary","desc":"工资单（单人单月）","fullPath":"/api/salary/payslip"},{"method":"GET","path":"/salary/structure","module":"salary","desc":"薪酬结构总览（基本/绩效/津贴占比）","fullPath":"/api/salary/structure"},{"method":"GET","path":"/salary/adjustments","module":"salary","desc":"调薪记录列表","fullPath":"/api/salary/adjustments"},{"method":"POST","path":"/salary/adjustments","module":"salary","desc":"申请调薪","fullPath":"/api/salary/adjustments"},{"method":"PATCH","path":"/salary/adjustments/:id","module":"salary","desc":"修改调薪记录","fullPath":"/api/salary/adjustments/:id"},{"method":"POST","path":"/salary/adjustments/:id/approve","module":"salary","desc":"调薪审批（通过即更新薪酬档案）","fullPath":"/api/salary/adjustments/:id/approve"},{"method":"DELETE","path":"/salary/adjustments/:id","module":"salary","desc":"删除调薪记录（软删除）","fullPath":"/api/salary/adjustments/:id"},{"method":"GET","path":"/salary/social-config","module":"salary","desc":"社保公积金配置","fullPath":"/api/salary/social-config"},{"method":"PUT","path":"/salary/social-config","module":"salary","desc":"保存社保公积金配置","fullPath":"/api/salary/social-config"},{"method":"GET","path":"/salary/tax-preview","module":"salary","desc":"个税试算","fullPath":"/api/salary/tax-preview"},{"method":"GET","path":"/knowledge/folders","module":"knowledge","desc":"知识库文件夹（含文档数）","fullPath":"/api/knowledge/folders"},{"method":"POST","path":"/knowledge/folders","module":"knowledge","desc":"新增文件夹","fullPath":"/api/knowledge/folders"},{"method":"PATCH","path":"/knowledge/folders/:id","module":"knowledge","desc":"重命名/改图标/排序","fullPath":"/api/knowledge/folders/:id"},{"method":"DELETE","path":"/knowledge/folders/:id","module":"knowledge","desc":"删除空文件夹（软删除）","fullPath":"/api/knowledge/folders/:id"},{"method":"GET","path":"/knowledge/docs","module":"knowledge","desc":"文档列表（分类/关键字/分页）","fullPath":"/api/knowledge/docs"},{"method":"GET","path":"/knowledge/docs/:id","module":"knowledge","desc":"文档全文","fullPath":"/api/knowledge/docs/:id"},{"method":"POST","path":"/knowledge/docs","module":"knowledge","desc":"上传文档","fullPath":"/api/knowledge/docs"},{"method":"PATCH","path":"/knowledge/docs/:id","module":"knowledge","desc":"修改文档（含移动分类）","fullPath":"/api/knowledge/docs/:id"},{"method":"DELETE","path":"/knowledge/docs/:id","module":"knowledge","desc":"删除文档（软删除）","fullPath":"/api/knowledge/docs/:id"},{"method":"GET","path":"/knowledge/search","module":"knowledge","desc":"全文检索","fullPath":"/api/knowledge/search"},{"method":"GET","path":"/knowledge/stats","module":"knowledge","desc":"知识库统计","fullPath":"/api/knowledge/stats"},{"method":"GET","path":"/ai/config","module":"ai","desc":"AI 配置（密钥掩码回显）","fullPath":"/api/ai/config"},{"method":"PUT","path":"/ai/config","module":"ai","desc":"保存 DeepSeek 密钥/模型（密文入库）","fullPath":"/api/ai/config"},{"method":"POST","path":"/ai/config/test","module":"ai","desc":"测试 AI 连接","fullPath":"/api/ai/config/test"},{"method":"GET","path":"/ai/sessions","module":"ai","desc":"会话列表","fullPath":"/api/ai/sessions"},{"method":"POST","path":"/ai/sessions","module":"ai","desc":"新建会话","fullPath":"/api/ai/sessions"},{"method":"GET","path":"/ai/sessions/:id","module":"ai","desc":"会话消息","fullPath":"/api/ai/sessions/:id"},{"method":"DELETE","path":"/ai/sessions/:id","module":"ai","desc":"删除会话","fullPath":"/api/ai/sessions/:id"},{"method":"POST","path":"/ai/chat","module":"ai","desc":"提问（DeepSeek，缺密钥时知识库兜底）","fullPath":"/api/ai/chat"},{"method":"GET","path":"/ai/sidebar","module":"ai","desc":"右侧面板：热门问题/员工/集成状态","fullPath":"/api/ai/sidebar"},{"method":"GET","path":"/analysis/preview/:type","module":"analysis","desc":"分析预览：promotion/compliance/talent","fullPath":"/api/analysis/preview/:type"},{"method":"GET","path":"/analysis/reports","module":"analysis","desc":"分析报告列表","fullPath":"/api/analysis/reports"},{"method":"GET","path":"/analysis/reports/:id","module":"analysis","desc":"分析报告详情","fullPath":"/api/analysis/reports/:id"},{"method":"POST","path":"/analysis/reports","module":"analysis","desc":"生成并留存分析报告","fullPath":"/api/analysis/reports"},{"method":"DELETE","path":"/analysis/reports/:id","module":"analysis","desc":"删除分析报告","fullPath":"/api/analysis/reports/:id"},{"method":"GET","path":"/approvals","module":"approval","desc":"审批列表（状态/类型/模块/关键字）","fullPath":"/api/approvals"},{"method":"GET","path":"/approvals/stats","module":"approval","desc":"审批统计（待办/超期/本月完成）","fullPath":"/api/approvals/stats"},{"method":"GET","path":"/approvals/:id","module":"approval","desc":"审批详情（含审批链）","fullPath":"/api/approvals/:id"},{"method":"POST","path":"/approvals","module":"approval","desc":"提交审批单","fullPath":"/api/approvals"},{"method":"POST","path":"/approvals/:id/approve","module":"approval","desc":"通过（自动流转下一节点）","fullPath":"/api/approvals/:id/approve"},{"method":"POST","path":"/approvals/:id/reject","module":"approval","desc":"驳回","fullPath":"/api/approvals/:id/reject"},{"method":"POST","path":"/approvals/:id/withdraw","module":"approval","desc":"撤回","fullPath":"/api/approvals/:id/withdraw"},{"method":"GET","path":"/reports/overview","module":"report","desc":"报表中心汇总","fullPath":"/api/reports/overview"},{"method":"GET","path":"/reports/headcount-trend","module":"report","desc":"入离职趋势","fullPath":"/api/reports/headcount-trend"},{"method":"GET","path":"/reports/turnover-reasons","module":"report","desc":"离职原因分布","fullPath":"/api/reports/turnover-reasons"},{"method":"GET","path":"/reports/education","module":"report","desc":"学历分布","fullPath":"/api/reports/education"},{"method":"GET","path":"/reports/age","module":"report","desc":"年龄分布","fullPath":"/api/reports/age"},{"method":"GET","path":"/reports/tenure","module":"report","desc":"工龄分布","fullPath":"/api/reports/tenure"},{"method":"GET","path":"/reports/export","module":"report","desc":"导出 CSV（employees/salary/contracts）","fullPath":"/api/reports/export"},{"method":"GET","path":"/integrations","module":"integration","desc":"集成系统列表（密文不外泄）","fullPath":"/api/integrations"},{"method":"GET","path":"/integrations/sync-logs","module":"integration","desc":"同步日志","fullPath":"/api/integrations/sync-logs"},{"method":"GET","path":"/integrations/keys","module":"integration","desc":"API 密钥列表（掩码）","fullPath":"/api/integrations/keys"},{"method":"POST","path":"/integrations/keys","module":"integration","desc":"生成新密钥（明文仅返回一次）","fullPath":"/api/integrations/keys"},{"method":"DELETE","path":"/integrations/keys/:id","module":"integration","desc":"删除密钥","fullPath":"/api/integrations/keys/:id"},{"method":"GET","path":"/integrations/:id","module":"integration","desc":"集成详情","fullPath":"/api/integrations/:id"},{"method":"POST","path":"/integrations","module":"integration","desc":"新增集成","fullPath":"/api/integrations"},{"method":"PATCH","path":"/integrations/:id","module":"integration","desc":"修改集成配置","fullPath":"/api/integrations/:id"},{"method":"DELETE","path":"/integrations/:id","module":"integration","desc":"删除集成（软删除）","fullPath":"/api/integrations/:id"},{"method":"POST","path":"/integrations/:id/sync","module":"integration","desc":"立即同步（写日志）","fullPath":"/api/integrations/:id/sync"},{"method":"POST","path":"/integrations/:id/test","module":"integration","desc":"连通性测试","fullPath":"/api/integrations/:id/test"},{"method":"GET","path":"/permissions/roles","module":"permission","desc":"角色列表","fullPath":"/api/permissions/roles"},{"method":"POST","path":"/permissions/roles","module":"permission","desc":"新增角色","fullPath":"/api/permissions/roles"},{"method":"PATCH","path":"/permissions/roles/:id","module":"permission","desc":"修改角色","fullPath":"/api/permissions/roles/:id"},{"method":"DELETE","path":"/permissions/roles/:id","module":"permission","desc":"删除角色（内置角色禁止）","fullPath":"/api/permissions/roles/:id"},{"method":"GET","path":"/permissions/matrix","module":"permission","desc":"功能权限矩阵","fullPath":"/api/permissions/matrix"},{"method":"PUT","path":"/permissions/matrix","module":"permission","desc":"保存权限矩阵（单项或批量）","fullPath":"/api/permissions/matrix"},{"method":"GET","path":"/permissions/modules","module":"permission","desc":"模块与权限级别字典","fullPath":"/api/permissions/modules"},{"method":"GET","path":"/permissions/logs","module":"permission","desc":"操作日志","fullPath":"/api/permissions/logs"},{"method":"GET","path":"/settings","module":"settings","desc":"系统设置（按分组）","fullPath":"/api/settings"},{"method":"GET","path":"/settings/group/:group","module":"settings","desc":"按分组读取设置","fullPath":"/api/settings/group/:group"},{"method":"GET","path":"/settings/:key","module":"settings","desc":"单项设置","fullPath":"/api/settings/:key"},{"method":"PUT","path":"/settings","module":"settings","desc":"批量保存设置","fullPath":"/api/settings"},{"method":"PATCH","path":"/settings/:key","module":"settings","desc":"单项保存设置","fullPath":"/api/settings/:key"},{"method":"GET","path":"/users","module":"user","desc":"后台账号列表","fullPath":"/api/users"},{"method":"POST","path":"/users","module":"user","desc":"新增账号","fullPath":"/api/users"},{"method":"PATCH","path":"/users/:id","module":"user","desc":"修改账号/角色","fullPath":"/api/users/:id"},{"method":"POST","path":"/users/:id/reset-password","module":"user","desc":"重置密码","fullPath":"/api/users/:id/reset-password"},{"method":"DELETE","path":"/users/:id","module":"user","desc":"停用账号（软删除）","fullPath":"/api/users/:id"}]},"requestId":"hrms-7a8b9976-efc6-4399-8a34-e6967381d542","timestamp":"2026-12-04T08:18:29.725Z"}