fix: 统一注单待开奖状态并收敛报表任务返回字段
This commit is contained in:
@@ -61,7 +61,7 @@ final class TicketDrawMyMatchController extends Controller
|
||||
$itemIds = TicketItem::query()
|
||||
->where('draw_id', $draw->id)
|
||||
->where('player_id', $player->id)
|
||||
->whereIn('status', ['success', 'settled_win', 'settled_lose'])
|
||||
->whereIn('status', ['pending_draw', 'settled_win', 'settled_lose'])
|
||||
->pluck('id');
|
||||
|
||||
$hasBets = $itemIds->isNotEmpty();
|
||||
|
||||
Reference in New Issue
Block a user