feat(admin): 统一后台 API 资源鉴权并完善投注风控快照与回补

This commit is contained in:
2026-05-19 09:11:50 +08:00
parent 6ef41cee76
commit 4cf561cd57
26 changed files with 1079 additions and 36 deletions

View File

@@ -36,7 +36,7 @@ final class AdminPlayerTicketItemsIndexController extends Controller
])
->orderByDesc('ticket_items.id');
if ($drawNo !== '') {
if (is_string($drawNo) && $drawNo !== '') {
$query->whereHas('draw', fn ($q) => $q->where('draw_no', $drawNo));
}