feat: 扩展奖池、风控与报表能力,新增对账补偿、广播和人工操作接口
This commit is contained in:
@@ -144,6 +144,17 @@ final class PlayCatalogResolver
|
||||
return (int) $generic->cap_amount;
|
||||
}
|
||||
|
||||
$default = RiskCapItem::query()
|
||||
->where('version_id', $riskVersion->id)
|
||||
->whereNull('draw_id')
|
||||
->where('cap_type', 'default')
|
||||
->orderByDesc('id')
|
||||
->first();
|
||||
|
||||
if ($default !== null) {
|
||||
return (int) $default->cap_amount;
|
||||
}
|
||||
|
||||
return 50_000_000_000;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user