From 1381caaa30933722635620537857de0d67304a30 Mon Sep 17 00:00:00 2001 From: elf <360197197@qq.com> Date: Sat, 5 Nov 2022 21:16:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=91=E6=B5=B7=E5=AF=BB=E4=BB=99=E8=AE=B02?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E8=B5=84=E6=BA=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Service/TestingResourceService.class.php | 1 + Application/Base/Tool/GameResource.class.php | 2 ++ .../Tool/GameResource/Yhxxj2Client.class.php | 17 +++++++++++++++++ .../Home/Controller/HomeController.class.php | 3 +++ 4 files changed, 23 insertions(+) create mode 100644 Application/Base/Tool/GameResource/Yhxxj2Client.class.php diff --git a/Application/Base/Service/TestingResourceService.class.php b/Application/Base/Service/TestingResourceService.class.php index b9a76df31..42e543df2 100644 --- a/Application/Base/Service/TestingResourceService.class.php +++ b/Application/Base/Service/TestingResourceService.class.php @@ -251,6 +251,7 @@ class TestingResourceService 'base_game_id' => $gameId, 'base_quota' => $baseQuota, 'rate' => $rate, + 'has_itf' => 1, ]; $setting = M('testing_game_setting', 'tab_')->where(['base_game_id' => $gameId])->find(); diff --git a/Application/Base/Tool/GameResource.class.php b/Application/Base/Tool/GameResource.class.php index 2dcf11bec..1a0bdf725 100644 --- a/Application/Base/Tool/GameResource.class.php +++ b/Application/Base/Tool/GameResource.class.php @@ -54,6 +54,8 @@ class GameResource 338 => LeyouClient::class, // 混沌天决(苹果版) 363 => YhxxjClient::class, // 云海寻仙记(安卓版) 364 => YhxxjClient::class, // 云海寻仙记(苹果版) + 365 => YhxxjClient::class, // 云海寻仙记2(安卓版) + 366 => YhxxjClient::class, // 云海寻仙记2(苹果版) ]; public function __construct($game) diff --git a/Application/Base/Tool/GameResource/Yhxxj2Client.class.php b/Application/Base/Tool/GameResource/Yhxxj2Client.class.php new file mode 100644 index 000000000..d5891840b --- /dev/null +++ b/Application/Base/Tool/GameResource/Yhxxj2Client.class.php @@ -0,0 +1,17 @@ +assign("serviceQQ", $serviceQQ);