Tree 2 tuần trước cách đây
mục cha
commit
92507086c8
1 tập tin đã thay đổi với 9 bổ sung2 xóa
  1. 9 2
      app/Http/Controllers/Game/WebRouteController.php

+ 9 - 2
app/Http/Controllers/Game/WebRouteController.php

@@ -152,8 +152,13 @@ class WebRouteController extends Controller
         if(env('CONFIG_24680_NFTD_99',0)==0)if($config->Channel==99)$firstBonus=0;
 
         $registerBonus = SystemStatusInfo::OnlyGetCacheValue('GrantScoreCountNew') ?? 1000;
-        $chat = SystemStatusInfo::OnlyGetCacheValue('Telegram') ?? "https://m.me/930365713484502";
 
+        $chat = DB::connection('write')->table('QPAccountsDB.dbo.SystemStatusInfo')
+            ->where('StatusName', 'Telegram')
+            ->first();
+
+
+//        $chat = "https://m.me/930365713484502";
         // 默认推荐游戏
         $defaultGameId = 931;
         $recommendGame = '/game/' . $defaultGameId;
@@ -258,7 +263,9 @@ class WebRouteController extends Controller
 
             'getStateToWhereRaw' =>RouteService::getStateToWhereRaw($request),
 
-            'serviceLink' => $chat,
+//            'serviceLink' => $chat,
+            'serviceLink' => $chat?$chat->StatusString:'https://m.me/930365713484502',
+
             'vipConfig' => VipService::getVipLevelConfig(),
 
             'popWheel'=>0,