From 0105fafcb39349f9e1e687b32b25641899424eb0 Mon Sep 17 00:00:00 2001 From: ELF <360197197@qq.com> Date: Fri, 28 Feb 2020 10:05:33 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E8=90=BD=E5=9C=B0=E9=A1=B5useragent?= =?UTF-8?q?=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Home/Controller/HomeController.class.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Application/Home/Controller/HomeController.class.php b/Application/Home/Controller/HomeController.class.php index 51d0fb551..ffac24eea 100644 --- a/Application/Home/Controller/HomeController.class.php +++ b/Application/Home/Controller/HomeController.class.php @@ -141,6 +141,7 @@ class HomeController extends Controller public function landingPage() { + $testKey = I('test_key', ''); $code = I('code', ''); $gameId = I('gid', 0); $promoteId = I('pid', 0); @@ -170,6 +171,16 @@ class HomeController extends Controller $isIOS = Request::isIOS(); $isAndroid = Request::isAndroid(); $isIOS13 = Request::isIOS13(); + + if ($testKey != '') { + $tempDataDir = RUNTIME_PATH . 'Data'; + if(!is_dir($tempDataDir)) { + @mkdir($tempDataDir); + } + $testStr = date('Y-m-d H:i:s') . ' - ' . $testKey . ' - ' . Request::getUserAgent(); + file_put_contents($tempDataDir . '/langding_page.log', $testStr, FILE_APPEND); + } + $columns = [ 'id', 'sdk_version', From 3ef3e8e8198d26493bdfba50ee29c9e16cf6ad87 Mon Sep 17 00:00:00 2001 From: ELF <360197197@qq.com> Date: Fri, 28 Feb 2020 10:13:57 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E8=90=BD=E5=9C=B0=E9=A1=B5useragent?= =?UTF-8?q?=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Home/Controller/HomeController.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Application/Home/Controller/HomeController.class.php b/Application/Home/Controller/HomeController.class.php index ffac24eea..7077e3e01 100644 --- a/Application/Home/Controller/HomeController.class.php +++ b/Application/Home/Controller/HomeController.class.php @@ -177,7 +177,7 @@ class HomeController extends Controller if(!is_dir($tempDataDir)) { @mkdir($tempDataDir); } - $testStr = date('Y-m-d H:i:s') . ' - ' . $testKey . ' - ' . Request::getUserAgent(); + $testStr = date('Y-m-d H:i:s') . ' - ' . $testKey . ' - ' . Request::getUserAgent() . PHP_EOL; file_put_contents($tempDataDir . '/langding_page.log', $testStr, FILE_APPEND); } From cd8d6d5a76c50637c4ff0e63cd07889c7807b525 Mon Sep 17 00:00:00 2001 From: ELF <360197197@qq.com> Date: Fri, 28 Feb 2020 11:27:51 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E8=B0=83=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Home/View/default/Home/landingPage.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Application/Home/View/default/Home/landingPage.html b/Application/Home/View/default/Home/landingPage.html index 26c895614..c9cefe6d0 100644 --- a/Application/Home/View/default/Home/landingPage.html +++ b/Application/Home/View/default/Home/landingPage.html @@ -557,7 +557,7 @@ background:rgba(0,0,0,0.6); z-index: 999;display: none;">
- 点击安装游戏 + 点击安装游戏 上一步 @@ -795,7 +795,7 @@ var PhoneObj = { { $(".mode").show(); $('.mounting').show(); - $('#beta-url').attr('href', $('[name=betaUrl]').val()) + // $('#beta-url').attr('href', $('[name=betaUrl]').val()) } $("#loginBtn").on("click",function() {