实现叫号播报并调整现场业务规则

需求描述:发布屏在员工叫号后播放语音;同场次手机号被叫号后可重新取号;登录连续失败限制调整为10次。

实现思路:发布屏按新批次去重触发中文语音;重复手机号仅拦截WAITING号码;登录限流使用10次阈值,并补充前后端回归测试与接口说明。
This commit is contained in:
2026-07-31 16:36:55 +08:00
parent d782227a23
commit 78df07e074
7 changed files with 155 additions and 12 deletions

View File

@@ -40,9 +40,11 @@ it never splits or skips a ticket and rejects when the first ticket alone is
larger than the requested target. Each mode has a separate project-level
anti-mistouch maximum.
If a phone already has active tickets, ticket creation returns
If a phone already has waiting tickets in the current queue session, ticket creation returns
`DUPLICATE_PHONE`; repeat with the same request body except
`allow_duplicate: true` and a new idempotency key after the employee confirms.
Once the earlier ticket has been called, the same phone can take a new ticket
without duplicate confirmation.
`GET /api/public/projects` returns projects currently open for visitor
self-service, including each project's allowed party-size range.