PPPPPPP пре 1 месец
родитељ
комит
76e2075165

+ 376 - 376
app/Game/Config/IgtData.php

@@ -6,24 +6,24 @@ class IgtData
 {
     // 从 IGT/config/games.php 提取的全局配置(按需使用)
     public static $global = [
-        'mainSiteUrl'      => 'https://testigt.usgamewin.com/',
-        'rgsServer'        => 'https://testigt.usgamewin.com/skb',
-        'rgsCecServer'     => 'https://testigt.usgamewin.com/cec',
-        'flightdeckUrl'    => 'https://testigt.usgamewin.com/flightdeck/gs/flightdeck',
-        'consoleBaseUrl'   => 'https://sigt.usgamewin.com/skins/DV13',
-        'cdnBaseUrl'       => 'https://sigt.usgamewin.com',
-        'skbGatewayPath'   => '/skb/gateway/1.4.0',
-        'platformVersion'  => '1.4.0',
-        'skbGateWayVersion'=> '1.4.0',
-        'buildnumber'      => 'RGS-6.8.0.UF.DEMO.CL429527_96',
-        'requireVersion'   => '1.4.14.2',
-        'widgetUrl'        => 'https://isbwidgeturl',
-        'requestTimeout'   => '999000',
-        'requestRetries'   => '3',
-        'denomamount' => '0.05',
-        'languages'        => ['en','cs','da','de','es','fi','fr-CA','fr','it','no','pt','sv'],
+        'mainSiteUrl'       => 'https://{api}/',
+        'rgsServer'         => 'https://{api}/skb',
+        'rgsCecServer'      => 'https://{api}/cec',
+        'flightdeckUrl'     => 'https://{api}/flightdeck/gs/flightdeck',
+        'consoleBaseUrl'    => 'https://{cdn}/skins/DV13',
+        'cdnBaseUrl'        => 'https://{cdn}',
         //jackpot
-        'jackpotUrl'=>'https://testigt.usgamewin.com',
+        'jackpotUrl'        => 'https://{api}',
+        'skbGatewayPath'    => '/skb/gateway/1.4.0',
+        'platformVersion'   => '1.4.0',
+        'skbGateWayVersion' => '1.4.0',
+        'buildnumber'       => 'RGS-6.8.0.UF.DEMO.CL429527_96',
+        'requireVersion'    => '1.4.14.2',
+        'widgetUrl'         => 'https://isbwidgeturl',
+        'requestTimeout'    => '999000',
+        'requestRetries'    => '3',
+        'denomamount'       => '0.05',
+        'languages'         => ['en', 'cs', 'da', 'de', 'es', 'fi', 'fr-CA', 'fr', 'it', 'no', 'pt', 'sv'],
 
     ];
 
@@ -31,420 +31,420 @@ class IgtData
     public static $games = [
         // Cash Eruption - 默认游戏
         '200-1551-001' => [
-            'gameTitle' => 'Cash Eruption',
-            'game' => 'Cash Eruption',
-            'studio' => 'belgrade',
-            'gameType' => 'S',
-            'gamePath' => '/studios/belgrade/games/CashEruption',  // 相对路径
-            'gameWindowWidth' => '1024',
+            'gameTitle'        => 'Cash Eruption',
+            'game'             => 'Cash Eruption',
+            'studio'           => 'belgrade',
+            'gameType'         => 'S',
+            'gamePath'         => '/studios/belgrade/games/CashEruption',  // 相对路径
+            'gameWindowWidth'  => '1024',
             'gameWindowHeight' => '864',
-            'minbet' => '0.01',
-            'gameVersion' => '1.0.10',
-            'denomid' => '461',
-            'revisionTag' => 'b273c30c-b0ed-4ea1-b660-23021844f934',
-            'assetPack' => 'mobile',  // 默认值,会被自动检测覆盖
-            'gleVersion' => '1.0',
-            'spaceBarSpin' => false,
-            'softDisplay' => false,
-            'turboMode' => false,
-            'speedOption' => true,
-            'slamStop' => 'OFF',
-            'dealerVoice' => 'OFF',
-            'rgPresentation' => true,
+            'minbet'           => '0.01',
+            'gameVersion'      => '1.0.10',
+            'denomid'          => '461',
+            'revisionTag'      => 'b273c30c-b0ed-4ea1-b660-23021844f934',
+            'assetPack'        => 'mobile',  // 默认值,会被自动检测覆盖
+            'gleVersion'       => '1.0',
+            'spaceBarSpin'     => false,
+            'softDisplay'      => false,
+            'turboMode'        => false,
+            'speedOption'      => true,
+            'slamStop'         => 'OFF',
+            'dealerVoice'      => 'OFF',
+            'rgPresentation'   => true,
             // Console路径配置
-            'tCustomPath' => '/console-drop.html?config_path=../Marketing/console.json',
-            'bCustomPath' => '/console-gaff.html',
+            'tCustomPath'      => '/console-drop.html?config_path=../Marketing/console.json',
+            'bCustomPath'      => '/console-gaff.html',
         ],
 
         // Sample Game 2
         '200-1259-001' => [
-            "gameTitle" => "Wheel of Fortune Triple Extreme Spin",
-            "game" => "Wheel of Fortune Triple Extreme Spin",
-            "studio" => "saber",
-            "gameType" => "S",
-            "gamePath" => "/studios/saber/games/WheelOfFortuneTripleExtremeSpinSKB",
-            "gameWindowWidth" => "1024",
+            "gameTitle"        => "Wheel of Fortune Triple Extreme Spin",
+            "game"             => "Wheel of Fortune Triple Extreme Spin",
+            "studio"           => "saber",
+            "gameType"         => "S",
+            "gamePath"         => "/studios/saber/games/WheelOfFortuneTripleExtremeSpinSKB",
+            "gameWindowWidth"  => "1024",
             "gameWindowHeight" => "864",
-            "minbet" => "0.01",
-            "gameVersion" => "1.0.9",
-            "denomid" => "461",
-            "revisionTag" => "b273c30c-b0ed-4ea1-b660-23021844f934",
-            "assetPack" => "mobile",
-            "gleVersion" => "3.0",
-            "spaceBarSpin" => false,
-            "softDisplay" => false,
-            "turboMode" => false,
-            "speedOption" => true,
-            "slamStop" => "OFF",
-            "dealerVoice" => "OFF",
-            "rgPresentation" => true,
-            "tCustomPath" => "/console-drop.html?config_path=../Marketing/console.json",
-            "bCustomPath" => "/console-gaff.html"
+            "minbet"           => "0.01",
+            "gameVersion"      => "1.0.9",
+            "denomid"          => "461",
+            "revisionTag"      => "b273c30c-b0ed-4ea1-b660-23021844f934",
+            "assetPack"        => "mobile",
+            "gleVersion"       => "3.0",
+            "spaceBarSpin"     => false,
+            "softDisplay"      => false,
+            "turboMode"        => false,
+            "speedOption"      => true,
+            "slamStop"         => "OFF",
+            "dealerVoice"      => "OFF",
+            "rgPresentation"   => true,
+            "tCustomPath"      => "/console-drop.html?config_path=../Marketing/console.json",
+            "bCustomPath"      => "/console-gaff.html"
         ],
         '200-1609-002' => [
-            "gameTitle" => "Wheel of Fortune Gold Spin Triple Red Hot 7s",
-            "game" => "Wheel of Fortune Gold Spin Triple Red Hot 7s",
-            "studio" => "onseo",
-            "gameType" => "S",
-            "gamePath" => "/studios/onseo/games/WheelOfFortuneGoldSpinTripleRedHot7s/",
-            "gameWindowWidth" => "1440",
+            "gameTitle"        => "Wheel of Fortune Gold Spin Triple Red Hot 7s",
+            "game"             => "Wheel of Fortune Gold Spin Triple Red Hot 7s",
+            "studio"           => "onseo",
+            "gameType"         => "S",
+            "gamePath"         => "/studios/onseo/games/WheelOfFortuneGoldSpinTripleRedHot7s/",
+            "gameWindowWidth"  => "1440",
             "gameWindowHeight" => "906",
-            "minbet" => "0.01",
-            "gameVersion" => "1.0.0",
-            "denomid" => "461",
-            "revisionTag" => "b273c30c-b0ed-4ea1-b660-23021844f934",
-            "assetPack" => "mobile",
-            "gleVersion" => "",
-            "spaceBarSpin" => false,
-            "softDisplay" => false,
-            "turboMode" => false,
-            "speedOption" => true,
-            "slamStop" => "OFF",
-            "dealerVoice" => "OFF",
-            "rgPresentation" => true,
-            "tCustomPath" => "/console-drop.html?config_path=../Marketing/console.json",
-            "bCustomPath" => "/console-gaff.html"
+            "minbet"           => "0.01",
+            "gameVersion"      => "1.0.0",
+            "denomid"          => "461",
+            "revisionTag"      => "b273c30c-b0ed-4ea1-b660-23021844f934",
+            "assetPack"        => "mobile",
+            "gleVersion"       => "",
+            "spaceBarSpin"     => false,
+            "softDisplay"      => false,
+            "turboMode"        => false,
+            "speedOption"      => true,
+            "slamStop"         => "OFF",
+            "dealerVoice"      => "OFF",
+            "rgPresentation"   => true,
+            "tCustomPath"      => "/console-drop.html?config_path=../Marketing/console.json",
+            "bCustomPath"      => "/console-gaff.html"
         ],
         '200-1443-011' => [
-            "gameTitle" => "MegaJackpots Wheel of Fortune On Air",
-            "game" => "MegaJackpots Wheel of Fortune On Air",
-            "studio" => "interactive",
-            "gameType" => "S",
-            "gamePath" => "/studios/interactive/games/MegaJackpotsWheelOfFortune",
-            "gameWindowWidth" => "1024",
+            "gameTitle"        => "MegaJackpots Wheel of Fortune On Air",
+            "game"             => "MegaJackpots Wheel of Fortune On Air",
+            "studio"           => "interactive",
+            "gameType"         => "S",
+            "gamePath"         => "/studios/interactive/games/MegaJackpotsWheelOfFortune",
+            "gameWindowWidth"  => "1024",
             "gameWindowHeight" => "800",
-            "minbet" => "0.01",
-            "gameVersion" => "1.0.10",
-            "denomid" => "2489",
-            "revisionTag" => "b6d55c7e-75c2-4be9-a27d-6820adde6c99",
-            "assetPack" => "mobile",
-            "gleVersion" => "1.0",
-            "spaceBarSpin" => false,
-            "softDisplay" => false,
-            "turboMode" => false,
-            "speedOption" => true,
-            "slamStop" => "OFF",
-            "dealerVoice" => "OFF",
-            "rgPresentation" => true,
-            "tCustomPath" => "/console-drop.html",
-            "bCustomPath" => "/console-gaff.html",
-            "jackpotMeterPath"=>"/jackpotmeter/ws/meter/M01-04-442",
-            "jackpotWinsPath"=>"/jackpotmeter/ws/meter/wins/M01-04-442",
+            "minbet"           => "0.01",
+            "gameVersion"      => "1.0.10",
+            "denomid"          => "2489",
+            "revisionTag"      => "b6d55c7e-75c2-4be9-a27d-6820adde6c99",
+            "assetPack"        => "mobile",
+            "gleVersion"       => "1.0",
+            "spaceBarSpin"     => false,
+            "softDisplay"      => false,
+            "turboMode"        => false,
+            "speedOption"      => true,
+            "slamStop"         => "OFF",
+            "dealerVoice"      => "OFF",
+            "rgPresentation"   => true,
+            "tCustomPath"      => "/console-drop.html",
+            "bCustomPath"      => "/console-gaff.html",
+            "jackpotMeterPath" => "/jackpotmeter/ws/meter/M01-04-442",
+            "jackpotWinsPath"  => "/jackpotmeter/ws/meter/wins/M01-04-442",
         ],
         '200-1219-001' => [
-            "gameTitle" => "Double Diamond",
-            "game" => "Double Diamond",
-            "studio" => "saber",
-            "gameType" => "S",
-            "gamePath" => "/studios/saber/games/DoubleDiamondSKB",
-            "gameWindowWidth" => "1024",
+            "gameTitle"        => "Double Diamond",
+            "game"             => "Double Diamond",
+            "studio"           => "saber",
+            "gameType"         => "S",
+            "gamePath"         => "/studios/saber/games/DoubleDiamondSKB",
+            "gameWindowWidth"  => "1024",
             "gameWindowHeight" => "864",
-            "minbet" => "0.01",
-            "gameVersion" => "1.0.4",
-            "denomid" => "461",
-            "revisionTag" => "b273c30c-b0ed-4ea1-b660-23021844f934",
-            "assetPack" => "mobile",
-            "gleVersion" => "2.0",
-            "spaceBarSpin" => false,
-            "softDisplay" => false,
-            "turboMode" => false,
-            "speedOption" => true,
-            "slamStop" => "OFF",
-            "dealerVoice" => "OFF",
-            "rgPresentation" => true,
-            "tCustomPath" => "/console-drop.html?config_path=../Marketing/console.json",
-            "bCustomPath" => "/console-gaff.html"
+            "minbet"           => "0.01",
+            "gameVersion"      => "1.0.4",
+            "denomid"          => "461",
+            "revisionTag"      => "b273c30c-b0ed-4ea1-b660-23021844f934",
+            "assetPack"        => "mobile",
+            "gleVersion"       => "2.0",
+            "spaceBarSpin"     => false,
+            "softDisplay"      => false,
+            "turboMode"        => false,
+            "speedOption"      => true,
+            "slamStop"         => "OFF",
+            "dealerVoice"      => "OFF",
+            "rgPresentation"   => true,
+            "tCustomPath"      => "/console-drop.html?config_path=../Marketing/console.json",
+            "bCustomPath"      => "/console-gaff.html"
         ],
         '200-1342-001' => [
-            "gameTitle" => "Smash The Pig",
-            "game" => "Smash The Pig",
-            "studio" => "belgrade",
-            "gameType" => "S",
-            "gamePath" => "/studios/belgrade/games/SmashThePig",
-            "gameWindowWidth" => "1024",
+            "gameTitle"        => "Smash The Pig",
+            "game"             => "Smash The Pig",
+            "studio"           => "belgrade",
+            "gameType"         => "S",
+            "gamePath"         => "/studios/belgrade/games/SmashThePig",
+            "gameWindowWidth"  => "1024",
             "gameWindowHeight" => "864",
-            "minbet" => "0.01",
-            "gameVersion" => "1.0.7",
-            "denomid" => "461",
-            "revisionTag" => "b273c30c-b0ed-4ea1-b660-23021844f934",
-            "assetPack" => "mobile",
-            "gleVersion" => "1.0",
-            "spaceBarSpin" => false,
-            "softDisplay" => false,
-            "turboMode" => false,
-            "speedOption" => true,
-            "slamStop" => "OFF",
-            "dealerVoice" => "OFF",
-            "rgPresentation" => true,
-            "tCustomPath" => "/console-drop.html?config_path=../Marketing/console.json",
-            "bCustomPath" => "/console-gaff.html"
+            "minbet"           => "0.01",
+            "gameVersion"      => "1.0.7",
+            "denomid"          => "461",
+            "revisionTag"      => "b273c30c-b0ed-4ea1-b660-23021844f934",
+            "assetPack"        => "mobile",
+            "gleVersion"       => "1.0",
+            "spaceBarSpin"     => false,
+            "softDisplay"      => false,
+            "turboMode"        => false,
+            "speedOption"      => true,
+            "slamStop"         => "OFF",
+            "dealerVoice"      => "OFF",
+            "rgPresentation"   => true,
+            "tCustomPath"      => "/console-drop.html?config_path=../Marketing/console.json",
+            "bCustomPath"      => "/console-gaff.html"
         ],
         '200-1666-001' => [
-            "gameTitle" => "MegaJackpots Da Vinci Diamonds",
-            "game" => "MegaJackpots Da Vinci Diamonds",
-            "studio" => "interactive",
-            "gameType" => "S",
-            "gamePath" => "/studios/interactive/games/MegaJackpotsDavinciDiamonds/",
-            "gameWindowWidth" => "1440",
+            "gameTitle"        => "MegaJackpots Da Vinci Diamonds",
+            "game"             => "MegaJackpots Da Vinci Diamonds",
+            "studio"           => "interactive",
+            "gameType"         => "S",
+            "gamePath"         => "/studios/interactive/games/MegaJackpotsDavinciDiamonds/",
+            "gameWindowWidth"  => "1440",
             "gameWindowHeight" => "906",
-            "minbet" => "0.01",
-            "gameVersion" => "1.0.0",
-            "denomid" => "461",
-            "revisionTag" => "b273c30c-b0ed-4ea1-b660-23021844f934",
-            "assetPack" => "mobile",
-            "gleVersion" => "4.0",
-            "spaceBarSpin" => false,
-            "softDisplay" => false,
-            "turboMode" => false,
-            "speedOption" => true,
-            "slamStop" => "OFF",
-            "dealerVoice" => "OFF",
-            "rgPresentation" => true,
-            "tCustomPath" => "/console-drop.html?config_path=../Marketing/console.json",
-            "bCustomPath" => "/console-gaff.html",
-            "jackpotMeterPath"=>"/jackpotmeter/ws/meter/M01-01-1",
-            "jackpotWinsPath"=>"/jackpotmeter/ws/meter/wins/M01-01-1",
+            "minbet"           => "0.01",
+            "gameVersion"      => "1.0.0",
+            "denomid"          => "461",
+            "revisionTag"      => "b273c30c-b0ed-4ea1-b660-23021844f934",
+            "assetPack"        => "mobile",
+            "gleVersion"       => "4.0",
+            "spaceBarSpin"     => false,
+            "softDisplay"      => false,
+            "turboMode"        => false,
+            "speedOption"      => true,
+            "slamStop"         => "OFF",
+            "dealerVoice"      => "OFF",
+            "rgPresentation"   => true,
+            "tCustomPath"      => "/console-drop.html?config_path=../Marketing/console.json",
+            "bCustomPath"      => "/console-gaff.html",
+            "jackpotMeterPath" => "/jackpotmeter/ws/meter/M01-01-1",
+            "jackpotWinsPath"  => "/jackpotmeter/ws/meter/wins/M01-01-1",
         ],
         '200-1196-001' => [
-            "gameTitle" => "Wolf Run",
-            "game" => "Wolf Run",
-            "studio" => "crdc",
-            "gameType" => "S",
-            "gamePath" => "/studios/crdc/games/WolfRun/",
-            "gameWindowWidth" => "1024",
+            "gameTitle"        => "Wolf Run",
+            "game"             => "Wolf Run",
+            "studio"           => "crdc",
+            "gameType"         => "S",
+            "gamePath"         => "/studios/crdc/games/WolfRun/",
+            "gameWindowWidth"  => "1024",
             "gameWindowHeight" => "864",
-            "minbet" => "0.01",
-            "gameVersion" => "1.0.8",
-            "denomid" => "461",
-            "revisionTag" => "b273c30c-b0ed-4ea1-b660-23021844f934",
-            "assetPack" => "mobile",
-            "gleVersion" => "4.0",
-            "spaceBarSpin" => false,
-            "softDisplay" => false,
-            "turboMode" => false,
-            "speedOption" => true,
-            "slamStop" => "OFF",
-            "dealerVoice" => "OFF",
-            "rgPresentation" => true,
-            "tCustomPath" => "/console-drop.html?config_path=../Marketing/console.json",
-            "bCustomPath" => "/console-gaff.html"
+            "minbet"           => "0.01",
+            "gameVersion"      => "1.0.8",
+            "denomid"          => "461",
+            "revisionTag"      => "b273c30c-b0ed-4ea1-b660-23021844f934",
+            "assetPack"        => "mobile",
+            "gleVersion"       => "4.0",
+            "spaceBarSpin"     => false,
+            "softDisplay"      => false,
+            "turboMode"        => false,
+            "speedOption"      => true,
+            "slamStop"         => "OFF",
+            "dealerVoice"      => "OFF",
+            "rgPresentation"   => true,
+            "tCustomPath"      => "/console-drop.html?config_path=../Marketing/console.json",
+            "bCustomPath"      => "/console-gaff.html"
         ],
         '200-1173-001' => [
-            "gameTitle" => "Cleopatra",
-            "game" => "Cleopatra",
-            "studio" => "crdc",
-            "gameType" => "S",
-            "gamePath" => "/studios/crdc/games/CleopatraSKB/",
-            "gameWindowWidth" => "1024",
+            "gameTitle"        => "Cleopatra",
+            "game"             => "Cleopatra",
+            "studio"           => "crdc",
+            "gameType"         => "S",
+            "gamePath"         => "/studios/crdc/games/CleopatraSKB/",
+            "gameWindowWidth"  => "1024",
             "gameWindowHeight" => "864",
-            "minbet" => "0.01",
-            "gameVersion" => "1.1.2",
-            "denomid" => "461",
-            "revisionTag" => "b273c30c-b0ed-4ea1-b660-23021844f934",
-            "assetPack" => "mobile",
-            "gleVersion" => "6.0",
-            "spaceBarSpin" => false,
-            "softDisplay" => false,
-            "turboMode" => false,
-            "speedOption" => true,
-            "slamStop" => "OFF",
-            "dealerVoice" => "OFF",
-            "rgPresentation" => true,
-            "tCustomPath" => "/console-drop.html?config_path=../Marketing/console.json",
-            "bCustomPath" => "/console-gaff.html"
+            "minbet"           => "0.01",
+            "gameVersion"      => "1.1.2",
+            "denomid"          => "461",
+            "revisionTag"      => "b273c30c-b0ed-4ea1-b660-23021844f934",
+            "assetPack"        => "mobile",
+            "gleVersion"       => "6.0",
+            "spaceBarSpin"     => false,
+            "softDisplay"      => false,
+            "turboMode"        => false,
+            "speedOption"      => true,
+            "slamStop"         => "OFF",
+            "dealerVoice"      => "OFF",
+            "rgPresentation"   => true,
+            "tCustomPath"      => "/console-drop.html?config_path=../Marketing/console.json",
+            "bCustomPath"      => "/console-gaff.html"
         ],
         '200-1674-001' => [
-            "gameTitle" => "Fort Knox Cats",
-            "game" => "Fort Knox Cats",
-            "studio" => "interactive",
-            "gameType" => "S",
-            "gamePath" => "/studios/interactive/games/FortKnoxCatsCt/",
-            "gameWindowWidth" => "1440",
+            "gameTitle"        => "Fort Knox Cats",
+            "game"             => "Fort Knox Cats",
+            "studio"           => "interactive",
+            "gameType"         => "S",
+            "gamePath"         => "/studios/interactive/games/FortKnoxCatsCt/",
+            "gameWindowWidth"  => "1440",
             "gameWindowHeight" => "906",
-            "minbet" => "0.01",
-            "gameVersion" => "1.0.2",
-            "denomid" => "461",
-            "revisionTag" => "b273c30c-b0ed-4ea1-b660-23021844f934",
-            "assetPack" => "mobile",
-            "gleVersion" => "1.0",
-            "spaceBarSpin" => false,
-            "softDisplay" => false,
-            "turboMode" => false,
-            "speedOption" => true,
-            "slamStop" => "OFF",
-            "dealerVoice" => "OFF",
-            "rgPresentation" => true,
-            "tCustomPath" => "/console-drop.html?config_path=../Marketing/console.json",
-            "bCustomPath" => "/console-gaff.html",
-            "jackpotMeterPath"=>"/jackpotmeter/ws/meter/L01-27-302",
-            "jackpotWinsPath"=>"/jackpotmeter/ws/meter/wins/L01-27-302",
+            "minbet"           => "0.01",
+            "gameVersion"      => "1.0.2",
+            "denomid"          => "461",
+            "revisionTag"      => "b273c30c-b0ed-4ea1-b660-23021844f934",
+            "assetPack"        => "mobile",
+            "gleVersion"       => "1.0",
+            "spaceBarSpin"     => false,
+            "softDisplay"      => false,
+            "turboMode"        => false,
+            "speedOption"      => true,
+            "slamStop"         => "OFF",
+            "dealerVoice"      => "OFF",
+            "rgPresentation"   => true,
+            "tCustomPath"      => "/console-drop.html?config_path=../Marketing/console.json",
+            "bCustomPath"      => "/console-gaff.html",
+            "jackpotMeterPath" => "/jackpotmeter/ws/meter/L01-27-302",
+            "jackpotWinsPath"  => "/jackpotmeter/ws/meter/wins/L01-27-302",
         ],
         '200-1645-001' => [
-            "gameTitle" => "Prosperity Link Wan Shi Ru Yi",
-            "game" => "Prosperity Link Wan Shi Ru Yi",
-            "studio" => "interactive",
-            "gameType" => "S",
-            "gamePath" => "/studios/interactive/games/ProsperityLinkWanShiRuYi/",
-            "gameWindowWidth" => "1440",
+            "gameTitle"        => "Prosperity Link Wan Shi Ru Yi",
+            "game"             => "Prosperity Link Wan Shi Ru Yi",
+            "studio"           => "interactive",
+            "gameType"         => "S",
+            "gamePath"         => "/studios/interactive/games/ProsperityLinkWanShiRuYi/",
+            "gameWindowWidth"  => "1440",
             "gameWindowHeight" => "906",
-            "minbet" => "0.01",
-            "gameVersion" => "1.1.1",
-            "denomid" => "461",
-            "revisionTag" => "b273c30c-b0ed-4ea1-b660-23021844f934",
-            "assetPack" => "mobile",
-            "gleVersion" => "2.0",
-            "spaceBarSpin" => false,
-            "softDisplay" => false,
-            "turboMode" => false,
-            "speedOption" => true,
-            "slamStop" => "OFF",
-            "dealerVoice" => "OFF",
-            "rgPresentation" => true,
-            "tCustomPath" => "/console-drop.html?config_path=../Marketing/console.json",
-            "bCustomPath" => "/console-gaff.html",
-            "jackpotMeterPath"=>"/jackpotmeter/ws/meter/L01-33-282",
-            "jackpotWinsPath"=>"/jackpotmeter/ws/meter/wins/L01-33-282",
+            "minbet"           => "0.01",
+            "gameVersion"      => "1.1.1",
+            "denomid"          => "461",
+            "revisionTag"      => "b273c30c-b0ed-4ea1-b660-23021844f934",
+            "assetPack"        => "mobile",
+            "gleVersion"       => "2.0",
+            "spaceBarSpin"     => false,
+            "softDisplay"      => false,
+            "turboMode"        => false,
+            "speedOption"      => true,
+            "slamStop"         => "OFF",
+            "dealerVoice"      => "OFF",
+            "rgPresentation"   => true,
+            "tCustomPath"      => "/console-drop.html?config_path=../Marketing/console.json",
+            "bCustomPath"      => "/console-gaff.html",
+            "jackpotMeterPath" => "/jackpotmeter/ws/meter/L01-33-282",
+            "jackpotWinsPath"  => "/jackpotmeter/ws/meter/wins/L01-33-282",
         ],
         '200-1662-001' => [
-            "gameTitle" => "Prosperity Link Cai Yun Heng Tong",
-            "game" => "Prosperity Link Cai Yun Heng Tong",
-            "studio" => "interactive",
-            "gameType" => "S",
-            "gamePath" => "/studios/interactive/games/ProsperityLinkCaiYunHengTong/",
-            "gameWindowWidth" => "1440",
+            "gameTitle"        => "Prosperity Link Cai Yun Heng Tong",
+            "game"             => "Prosperity Link Cai Yun Heng Tong",
+            "studio"           => "interactive",
+            "gameType"         => "S",
+            "gamePath"         => "/studios/interactive/games/ProsperityLinkCaiYunHengTong/",
+            "gameWindowWidth"  => "1440",
             "gameWindowHeight" => "906",
-            "minbet" => "0.01",
-            "gameVersion" => "1.1.1",
-            "denomid" => "461",
-            "revisionTag" => "b273c30c-b0ed-4ea1-b660-23021844f934",
-            "assetPack" => "mobile",
-            "gleVersion" => "2.0",
-            "spaceBarSpin" => false,
-            "softDisplay" => false,
-            "turboMode" => false,
-            "speedOption" => true,
-            "slamStop" => "OFF",
-            "dealerVoice" => "OFF",
-            "rgPresentation" => true,
-            "tCustomPath" => "/console-drop.html?config_path=../Marketing/console.json",
-            "bCustomPath" => "/console-gaff.html",
-            "jackpotMeterPath"=>"/jackpotmeter/ws/meter/L01-33-282",
-            "jackpotWinsPath"=>"/jackpotmeter/ws/meter/wins/L01-33-282",
+            "minbet"           => "0.01",
+            "gameVersion"      => "1.1.1",
+            "denomid"          => "461",
+            "revisionTag"      => "b273c30c-b0ed-4ea1-b660-23021844f934",
+            "assetPack"        => "mobile",
+            "gleVersion"       => "2.0",
+            "spaceBarSpin"     => false,
+            "softDisplay"      => false,
+            "turboMode"        => false,
+            "speedOption"      => true,
+            "slamStop"         => "OFF",
+            "dealerVoice"      => "OFF",
+            "rgPresentation"   => true,
+            "tCustomPath"      => "/console-drop.html?config_path=../Marketing/console.json",
+            "bCustomPath"      => "/console-gaff.html",
+            "jackpotMeterPath" => "/jackpotmeter/ws/meter/L01-33-282",
+            "jackpotWinsPath"  => "/jackpotmeter/ws/meter/wins/L01-33-282",
         ],
         '200-1682-001' => [
-            "gameTitle" => "MegaJackpots Ocean Spirit",
-            "game" => "MegaJackpots Ocean Spirit",
-            "studio" => "onseo",
-            "gameType" => "S",
-            "gamePath" => "/studios/onseo/games/MegaJackpotsOceanSpirit/",
-            "gameWindowWidth" => "1440",
+            "gameTitle"        => "MegaJackpots Ocean Spirit",
+            "game"             => "MegaJackpots Ocean Spirit",
+            "studio"           => "onseo",
+            "gameType"         => "S",
+            "gamePath"         => "/studios/onseo/games/MegaJackpotsOceanSpirit/",
+            "gameWindowWidth"  => "1440",
             "gameWindowHeight" => "906",
-            "minbet" => "0.01",
-            "gameVersion" => "1.0.1",
-            "denomid" => "461",
-            "revisionTag" => "b273c30c-b0ed-4ea1-b660-23021844f934",
-            "assetPack" => "mobile",
-            "gleVersion" => "2.0",
-            "spaceBarSpin" => false,
-            "softDisplay" => false,
-            "turboMode" => false,
-            "speedOption" => true,
-            "slamStop" => "OFF",
-            "dealerVoice" => "OFF",
-            "rgPresentation" => true,
-            "tCustomPath" => "/console-drop.html?config_path=../Marketing/console.json",
-            "bCustomPath" => "/console-gaff.html",
-            "jackpotMeterPath"=>"/jackpotmeter/ws/meter/M01-01-1",
-            "jackpotWinsPath"=>"/jackpotmeter/ws/meter/wins/M01-01-1",
+            "minbet"           => "0.01",
+            "gameVersion"      => "1.0.1",
+            "denomid"          => "461",
+            "revisionTag"      => "b273c30c-b0ed-4ea1-b660-23021844f934",
+            "assetPack"        => "mobile",
+            "gleVersion"       => "2.0",
+            "spaceBarSpin"     => false,
+            "softDisplay"      => false,
+            "turboMode"        => false,
+            "speedOption"      => true,
+            "slamStop"         => "OFF",
+            "dealerVoice"      => "OFF",
+            "rgPresentation"   => true,
+            "tCustomPath"      => "/console-drop.html?config_path=../Marketing/console.json",
+            "bCustomPath"      => "/console-gaff.html",
+            "jackpotMeterPath" => "/jackpotmeter/ws/meter/M01-01-1",
+            "jackpotWinsPath"  => "/jackpotmeter/ws/meter/wins/M01-01-1",
         ],
         '200-1724-001' => [
-            "gameTitle" => "Cash Eruption High Stakes",
-            "game" => "Cash Eruption High Stakes",
-            "studio" => "interactive",
-            "gameType" => "S",
-            "gamePath" => "/studios/interactive/games/CashEruptionHighLimit",
-            "gameWindowWidth" => "1440",
+            "gameTitle"        => "Cash Eruption High Stakes",
+            "game"             => "Cash Eruption High Stakes",
+            "studio"           => "interactive",
+            "gameType"         => "S",
+            "gamePath"         => "/studios/interactive/games/CashEruptionHighLimit",
+            "gameWindowWidth"  => "1440",
             "gameWindowHeight" => "906",
-            "minbet" => "0.01",
-            "gameVersion" => "1.0.1",
-            "denomid" => "461",
-            "revisionTag" => "b273c30c-b0ed-4ea1-b660-23021844f934",
-            "assetPack" => "mobile",
-            "gleVersion" => "1.0",
-            "spaceBarSpin" => false,
-            "softDisplay" => false,
-            "turboMode" => false,
-            "speedOption" => true,
-            "slamStop" => "OFF",
-            "dealerVoice" => "OFF",
-            "rgPresentation" => true,
-            "tCustomPath" => "/console-drop.html?config_path=../Marketing/console.json",
-            "bCustomPath" => "/console-gaff.html"
+            "minbet"           => "0.01",
+            "gameVersion"      => "1.0.1",
+            "denomid"          => "461",
+            "revisionTag"      => "b273c30c-b0ed-4ea1-b660-23021844f934",
+            "assetPack"        => "mobile",
+            "gleVersion"       => "1.0",
+            "spaceBarSpin"     => false,
+            "softDisplay"      => false,
+            "turboMode"        => false,
+            "speedOption"      => true,
+            "slamStop"         => "OFF",
+            "dealerVoice"      => "OFF",
+            "rgPresentation"   => true,
+            "tCustomPath"      => "/console-drop.html?config_path=../Marketing/console.json",
+            "bCustomPath"      => "/console-gaff.html"
         ],
         '200-1696-001' => [
-            "gameTitle" => "Book Of Unseen",
-            "game" => "Book Of Unseen",
-            "studio" => "interactive",
-            "gameType" => "S",
-            "gamePath" => "/studios/interactive/games/BookOfUnseenBonusBuy/",
-            "gameWindowWidth" => "1440",
+            "gameTitle"        => "Book Of Unseen",
+            "game"             => "Book Of Unseen",
+            "studio"           => "interactive",
+            "gameType"         => "S",
+            "gamePath"         => "/studios/interactive/games/BookOfUnseenBonusBuy/",
+            "gameWindowWidth"  => "1440",
             "gameWindowHeight" => "906",
-            "minbet" => "0.01",
-            "gameVersion" => "1.0.2",
-            "denomid" => "461",
-            "revisionTag" => "b273c30c-b0ed-4ea1-b660-23021844f934",
-            "assetPack" => "mobile",
-            "gleVersion" => "2.0",
-            "spaceBarSpin" => false,
-            "softDisplay" => false,
-            "turboMode" => false,
-            "speedOption" => true,
-            "slamStop" => "OFF",
-            "dealerVoice" => "OFF",
-            "rgPresentation" => true,
-            "tCustomPath" => "/console-drop.html?config_path=../Marketing/console.json",
-            "bCustomPath" => "/console-gaff.html"
+            "minbet"           => "0.01",
+            "gameVersion"      => "1.0.2",
+            "denomid"          => "461",
+            "revisionTag"      => "b273c30c-b0ed-4ea1-b660-23021844f934",
+            "assetPack"        => "mobile",
+            "gleVersion"       => "2.0",
+            "spaceBarSpin"     => false,
+            "softDisplay"      => false,
+            "turboMode"        => false,
+            "speedOption"      => true,
+            "slamStop"         => "OFF",
+            "dealerVoice"      => "OFF",
+            "rgPresentation"   => true,
+            "tCustomPath"      => "/console-drop.html?config_path=../Marketing/console.json",
+            "bCustomPath"      => "/console-gaff.html"
         ],
         '200-1664-001' => [
-            "gameTitle" => "Mystery Of The Lamp Treasure Oasis",
-            "game" => "Mystery Of The Lamp Treasure Oasis",
-            "studio" => "interactive",
-            "gameType" => "S",
-            "gamePath" => "/studios/interactive/games/MysteryOfTheLampTreasureOasis/",
-            "gameWindowWidth" => "1440",
+            "gameTitle"        => "Mystery Of The Lamp Treasure Oasis",
+            "game"             => "Mystery Of The Lamp Treasure Oasis",
+            "studio"           => "interactive",
+            "gameType"         => "S",
+            "gamePath"         => "/studios/interactive/games/MysteryOfTheLampTreasureOasis/",
+            "gameWindowWidth"  => "1440",
             "gameWindowHeight" => "906",
-            "minbet" => "0.01",
-            "gameVersion" => "1.0.2",
-            "denomid" => "461",
-            "revisionTag" => "b273c30c-b0ed-4ea1-b660-23021844f934",
-            "assetPack" => "mobile",
-            "gleVersion" => "2.0",
-            "spaceBarSpin" => false,
-            "softDisplay" => false,
-            "turboMode" => false,
-            "speedOption" => true,
-            "slamStop" => "OFF",
-            "dealerVoice" => "OFF",
-            "rgPresentation" => true,
-            "tCustomPath" => "/console-drop.html?config_path=../Marketing/console.json",
-            "bCustomPath" => "/console-gaff.html"
+            "minbet"           => "0.01",
+            "gameVersion"      => "1.0.2",
+            "denomid"          => "461",
+            "revisionTag"      => "b273c30c-b0ed-4ea1-b660-23021844f934",
+            "assetPack"        => "mobile",
+            "gleVersion"       => "2.0",
+            "spaceBarSpin"     => false,
+            "softDisplay"      => false,
+            "turboMode"        => false,
+            "speedOption"      => true,
+            "slamStop"         => "OFF",
+            "dealerVoice"      => "OFF",
+            "rgPresentation"   => true,
+            "tCustomPath"      => "/console-drop.html?config_path=../Marketing/console.json",
+            "bCustomPath"      => "/console-gaff.html"
         ]
     ];
 
     // 语言字典(如需在后端提供 IGT 文案,可按需暴露)
     public static $languages = [
-        'en' => true,
-        'cs' => true,
-        'da' => true,
-        'de' => true,
-        'es' => true,
-        'fi' => true,
+        'en'    => true,
+        'cs'    => true,
+        'da'    => true,
+        'de'    => true,
+        'es'    => true,
+        'fi'    => true,
         'fr-CA' => true,
-        'fr' => true,
-        'it' => true,
-        'no' => true,
-        'pt' => true,
-        'sv' => true,
+        'fr'    => true,
+        'it'    => true,
+        'no'    => true,
+        'pt'    => true,
+        'sv'    => true,
     ];
 }
 

+ 27 - 0
app/Http/Controllers/Game/IgtSimController.php

@@ -126,6 +126,33 @@ class IgtSimController extends Controller
 
 
         $global = IgtData::$global;
+
+        /// 'mainSiteUrl'       => 'https://testigt.usgamewin.com/',
+        //        'rgsServer'         => 'https://testigt.usgamewin.com/skb',
+        //        'rgsCecServer'      => 'https://testigt.usgamewin.com/cec',
+        //        'flightdeckUrl'     => 'https://testigt.usgamewin.com/flightdeck/gs/flightdeck',
+        //        'consoleBaseUrl'    => 'https://sigt.usgamewin.com/skins/DV13',
+        //        'cdnBaseUrl'        => 'https://sigt.usgamewin.com',
+        //        //jackpot
+        //        'jackpotUrl'        => 'https://testigt.usgamewin.com',
+
+        $configurls=json_decode(env('CONFIG_GAMES'),true);
+        $configurl=$configurls['igt'];
+
+        $apiurl=$configurl['api'];
+        $cdnurl=$configurl['source'];
+
+        foreach ($global as $key => $value) {
+
+            if(is_string($value))if(strstr($value,'{api}')){
+                $global[$key]=str_replace('{api}',$apiurl,$value);
+            }else if(strstr($value,'{cdn}')){
+                $global[$key]=str_replace('{cdn}',$cdnurl,$value);
+            }
+        }
+
+
+
         $games = json_decode(file_get_contents(base_path('app/Game/Config/IGTgamesConfig.json')), true);
 
 

+ 17 - 17
app/Http/Controllers/Game/JiliSimController.php

@@ -111,10 +111,15 @@ class JiliSimController extends Controller
         }
         $lang=$supportLang[$lang];
 
-        $cdnserver = 'https://sjj.pgn-nmu2nd.com';
+        $configurls=json_decode(env('CONFIG_GAMES'),true);
+        $configurl=$configurls['jili'];
+
+
+
+        $cdnserver = 'https://'.$configurl['source'];
         $LogonPass='123';
         $sign = GlobalUserInfo::genGuuidSign((object)compact('GlobalUID','LogonPass'));
-        $or = $this->convertString(env('JILI_GAME_DOMAIN','jj.pgn-nmu2nd.com'));
+        $or = $this->convertString($configurl['api']);
 
         $data=['UserID'=>ServerService::GlobalToUserID($GlobalUID)];
 
@@ -141,17 +146,7 @@ location.href='$url';
         $UserID = $request->UserID;
         $config = ServerService::GetGlobalServerInfoByCode(ServerService::GetLocalSign());
 
-        $api = [
-                   'Bangladesh'=> "bdapi.pgn-nmu2nd.com",
-                   'Pakistan'  => "pkapi.pgn-nmu2nd.com",
-                   'OrgBrazil' => "orgbr.pgn-nmu2nd.com",
-                   'Brazil'    => "brapi.pgn-nmu2nd.com",
-                   'Europe'    => "euapi.pgn-nmu2nd.com",
-                   'Russia'    => "ruapi.pgn-nmu2nd.com",
-                   'Mexico'    => "mxapi.pgn-nmu2nd.com",
-                   'Singapore' => "sgapi.pgn-nmu2nd.com",
-                   'Latin'     => "saapi.pgn-nmu2nd.com",
-               ][$config['Subsite']];
+        $api = env('APP_URL');
 
         try {
             file_get_contents("https://$api/game-api/000/v2/removePlayer/Get?UserID=$UserID");
@@ -206,12 +201,17 @@ location.href='$url';
         }
         $lang=$supportLang[$lang];
 
-        $cdnserver = 'https://sjj.pgn-nmu2nd.com';
+
+
+        $configurls=json_decode(env('CONFIG_GAMES'),true);
+        $configurl=$configurls['jili'];
+
+
+
+        $cdnserver = 'https://'.$configurl['source'];
         $LogonPass='123';
         $sign = GlobalUserInfo::genGuuidSign((object)compact('GlobalUID','LogonPass'));
-        $or = $this->convertString(env('JILI_GAME_DOMAIN','jj.pgn-nmu2nd.com'));
-//        $api = $this->convertString('orgbr.pgn-nmu2nd.com');
-//        $api = $this->convertString('api.pgn-nmu2nd.com');
+        $or = $this->convertString($configurl['api']);
 
         $data=['UserID'=>ServerService::GlobalToUserID($GlobalUID)];
 

+ 6 - 3
app/Http/Controllers/Game/PPSimController.php

@@ -93,9 +93,12 @@ class PPSimController extends Controller
         $gamecode=$gid;
         $short2=substr($gamecode, 0, 2);
 
-        $host='testpp.usgamewin.com';
-        $api_url='https://testpp.usgamewin.com';
-        $cdn_url='https://spp.usgamewin.com';
+        $configurls=json_decode(env('CONFIG_GAMES'),true);
+        $configurl=$configurls['pp'];
+
+        $host=$configurl['api'];
+        $api_url='https://'.$host;
+        $cdn_url='https://'.$configurl['source'];
         $web_url=env('APP_URL');
         if($userid==80001131){
             $host='test.pgn-nmu2nd.com';

+ 14 - 4
app/Http/Controllers/Game/PgSimController.php

@@ -60,11 +60,17 @@ class PgSimController extends Controller
         if (!in_array($lang, $supportLang)) {
             $lang = 'en';
         }
-        $cdnserver = 'https://static4.pgn-nmu2nd.com';
+
+        $configurls=json_decode(env('CONFIG_GAMES'),true);
+        $configurl=$configurls['pg'];
+
+        $host=$configurl['api'];
+
+        $cdnserver = 'https://'.$configurl['source'];
         $sign = GlobalUserInfo::genGuuidSign($user);
-        $or = $this->convertString('static4.pgn-nmu2nd.com');
+        $or = $this->convertString($configurl['source']);
 
-        $api = $this->GetApiSite();
+        $api = $host;
 //        $api = $this->convertString($this->GetApiSite());
 //        $api = $this->convertString('api.pgn-nmu2nd.com');
 
@@ -940,7 +946,11 @@ document.addEventListener("touchmove", (e) => {
 
     private function GetApiSite($GlobalUID=null)
     {
-        return "testgame.usgamewin.com";
+
+        $configurls=json_decode(env('CONFIG_GAMES'),true);
+        $configurl=$configurls['pg'];
+
+        return $configurl['api'];
     }
     public function VerifySession(Request $request)
     {