feat(server): 完成 P3 后端API与回归(D2~D9)
- workflow: 任务详情/转审候选/列表分页字段(D5) - reimbursements: 列表API + pay凭证字段/幂等增强(D7) - invoice-pool: 列表/详情API + 上传pending_ocr(D9) - ocr/audit: mock provider + 回归脚本 + regression-all开关(D2/D3) - CI: 新增 ci-minimal / ci-regression 工作流(D4)
这个提交包含在:
@@ -274,7 +274,7 @@ async function runOcrOnce(prisma, config, logger, workerId = `ocr:${process.pid}
|
||||
}
|
||||
|
||||
function startOcrJob(fastify) {
|
||||
if (fastify.config.ocrProvider !== "tencent") {
|
||||
if (!["tencent", "mock"].includes(fastify.config.ocrProvider)) {
|
||||
fastify.log.info({ provider: fastify.config.ocrProvider }, "OCR job disabled");
|
||||
return null;
|
||||
}
|
||||
|
||||
在新工单中引用
屏蔽一个用户