Ken 2 dní pred
rodič
commit
a9999c093b
1 zmenil súbory, kde vykonal 2 pridanie a 10 odobranie
  1. 2 10
      app/Services/BetService.php

+ 2 - 10
app/Services/BetService.php

@@ -3,23 +3,14 @@
 
 namespace App\Services;
 
-use App\Http\Controllers\admin\GameplayRule;
+use App\Models\PcIssue;
 use App\Models\Rebate;
 use App\Models\User;
-use App\Services\BalanceLogService;
-use App\Services\BaseService;
 use App\Models\Bet;
 use App\Models\Config;
-use App\Services\GameplayRuleService;
-use App\Services\IssueService;
-use App\Services\UserService;
-use App\Services\WalletService;
-use Carbon\Carbon;
 use Illuminate\Support\Facades\App;
 use Illuminate\Support\Facades\DB;
-use Illuminate\Support\Collection;
 use Illuminate\Support\Facades\Cache;
-use Illuminate\Support\Facades\Log;
 use App\Jobs\SendTelegramMessageJob;
 use App\Jobs\SendTelegramGroupMessageJob;
 use Exception;
@@ -388,6 +379,7 @@ class BetService extends BaseService
         if ($betFake) {
             // 期数验证
             $issueInfo = IssueService::model()::where('status', IssueService::model()::STATUS_BETTING)->orderBy('id', 'desc')->first();
+//            $issueInfo = PcIssue::where('status', IssueService::model()::STATUS_BETTING)->orderBy('id', 'desc')->first();
             if ($issueInfo) {
                 $betFakeRandAmount = Config::where('field', 'bet_fake_rand_amount')->first()->val;
                 $betFakeRandAmount = explode(',', $betFakeRandAmount);