a0b2a0d03854d3fa43dc36ef00448e728a9317b9
audit 2026-07-02 §role/print/di 报告 P1 #5: - di/create.ts:165, 229 + di/update.ts:133 共 3 处 raw c.get('/system/DataInterface') - 跟其他 webapi 化文件不一致, 后端路径迁移时 raw call 不自动跟随 - webapi/di.ts 缺 getDataInterfaceList 暴露 (web 端有, dacli 没用) 修复: - webapi/di.ts 新加 getDataInterfaceList(params) 暴露 - 镜像 web getDataInterfaceList (page list, 跟 jnpf-web 的 /api/systemData) - di/create.ts + di/update.ts 3 处 c.get 改 getDataInterfaceList - 行为一致: 仍走 /api/system/DataInterface 端点, 但走 webapi 框架 - 后续后端路径变更时 webapi shim 自动跟随, 不需要 raw call 改动 - 提升 di webapi 引用 6/8 → 8/8 (100% 覆盖) 审计: dacli/docs/cmd-review/role-print-di-audit-2026-07-02.md §di 部分
Languages
TypeScript
99.4%
Shell
0.4%
Python
0.2%