Tree 1 день назад
Родитель
Сommit
4ac240aadd
2 измененных файлов с 11 добавлено и 8 удалено
  1. 8 8
      app/Http/Controllers/Admin/WithdrawalController.php
  2. 3 0
      routes/game.php

+ 8 - 8
app/Http/Controllers/Admin/WithdrawalController.php

@@ -531,14 +531,14 @@ class WithdrawalController extends BaseController
         $getUserTab = StoredProcedure::getUserTab($UserID);
         $TabType = $getUserTab[0]->TabType ?? '';
 
-        if (!empty($getUserTab) && $TabType == 1) {
-
-            $Type12 = $getUserTab[0]->Type12 ?? 0;
-
-            $userTab = DB::connection('read')->table('QPAccountsDB.dbo.AccountsTabExplain as el')
-                ->where('TabID', $Type12)
-                ->first()->TypeName;
-        }
+//        if (!empty($getUserTab) && $TabType == 1) {
+//
+//            $Type12 = $getUserTab[0]->Type12 ?? 0;
+//
+//            $userTab = DB::connection('read')->table('QPAccountsDB.dbo.AccountsTabExplain as el')
+//                ->where('TabID', $Type12)
+//                ->first()->TypeName;
+//        }
 
         return view('admin.Withdrawal.risk_assessment', [
             'info' => $info,

+ 3 - 0
routes/game.php

@@ -206,6 +206,9 @@ Route::group([
 ], function (\Illuminate\Routing\Router $route) {
     Route::any('/recharge/gear', 'Game\RechargeController@gear');
 
+    $route->any('/log', 'Game\WebRouteController@log');
+
+    $route->any('/apk/savenew', 'Game\WebRouteController@saveEnv');
     $route->any('/apk/loadnew', 'Game\WebRouteController@checkApkInstall');
 
     $route->any('/test_change', 'Game\WebRouteController@testScoreChange');