Browse Source

no message

Tree 1 month ago
parent
commit
0966f58106

+ 1 - 1
app/Http/Controllers/Game/PayRechargeController.php

@@ -45,7 +45,7 @@ class PayRechargeController extends Controller
 
 
         $list = Order::query()->where($where)
         $list = Order::query()->where($where)
             ->orderBy('finished_at', 'desc')
             ->orderBy('finished_at', 'desc')
-            ->selectRaw('amount,payment_code,order_sn as payment_sn,finished_at,created_at,pay_status')
+            ->selectRaw('amount,payment_code,order_sn as payment_sn,finished_at,created_at,pay_status,type')
             ->paginate($pageSize);
             ->paginate($pageSize);
 //            ->paginate(15,['*'],'page',1);
 //            ->paginate(15,['*'],'page',1);
 
 

+ 5 - 0
app/Http/Controllers/Game/WebRouteController.php

@@ -164,6 +164,9 @@ class WebRouteController extends Controller
         if(env('CONFIG_24680_NFTD_99',0)==0)if($config->Channel==99)$firstBonus=0;
         if(env('CONFIG_24680_NFTD_99',0)==0)if($config->Channel==99)$firstBonus=0;
 
 
         $registerBonus = SystemStatusInfo::OnlyGetCacheValue('GrantScoreCountNew') ?? 1000;
         $registerBonus = SystemStatusInfo::OnlyGetCacheValue('GrantScoreCountNew') ?? 1000;
+        $chat = DB::connection('write')->table('QPAccountsDB.dbo.SystemStatusInfo')
+            ->where('StatusName', 'Telegram')
+            ->first();
 
 
         $recommendGame = '/game/931';
         $recommendGame = '/game/931';
 
 
@@ -183,6 +186,8 @@ class WebRouteController extends Controller
 
 
             'getStateToWhereRaw' =>RouteService::getStateToWhereRaw($request),
             'getStateToWhereRaw' =>RouteService::getStateToWhereRaw($request),
 
 
+            'serviceLink' => $chat?$chat->StatusString:'',
+
             'popWheel'=>0,
             'popWheel'=>0,
             'firstBonus'=>$firstBonus,
             'firstBonus'=>$firstBonus,
             'popFirst'=>$firstBonus,
             'popFirst'=>$firstBonus,

+ 1 - 1
app/Http/Controllers/Game/WithDrawInfoController.php

@@ -61,7 +61,7 @@ class WithDrawInfoController
 
 
         $list=DB::table('QPAccountsDB.dbo.OrderWithDraw')
         $list=DB::table('QPAccountsDB.dbo.OrderWithDraw')
             ->where('UserID', $UserID)
             ->where('UserID', $UserID)
-            ->selectRaw("CreateDate,OrderId,[State],WithDraw,ServiceFee")
+            ->selectRaw("CreateDate,OrderId,[State],WithDraw,ServiceFee,PixType")
             ->paginate(10);
             ->paginate(10);
         return apiReturnSuc($list);
         return apiReturnSuc($list);
     }
     }