wip
This commit is contained in:
1 parent
f5fc937311
commit
d81af0b02b
30 files changed
+381
-267
No files matched your search
@@ -2,14 +2,13 @@
|
||||
|
||||
namespace App\Console\Commands\Services\Tasks\Alarm;
|
||||
|
||||
use App\Console\Commands\Nuh;
|
||||
use App\Models\AlarmSetting;
|
||||
|
||||
class AlarmSettings
|
||||
{
|
||||
public static function get($client_bookmaker_id)
|
||||
public static function get($client_bookmaker_id, $sport_id)
|
||||
{
|
||||
$res = AlarmSetting::where('sport_id', Nuh::$options['sport_id'])
|
||||
$res = AlarmSetting::where('sport_id', $sport_id)
|
||||
->where('client_bookmaker_id', $client_bookmaker_id)
|
||||
->where('disabled', 0)
|
||||
->select('multiline_setting_id', 'level_id', 'alarm_threshold')
|
||||
|
||||
Reference in new issue
Block a user