diff --git a/Application/Home/Controller/HomeController.class.php b/Application/Home/Controller/HomeController.class.php index 1cf80de0f..e1f5e6afd 100644 --- a/Application/Home/Controller/HomeController.class.php +++ b/Application/Home/Controller/HomeController.class.php @@ -175,6 +175,10 @@ class HomeController extends Controller public function landingPage() { + if (time() > strtotime('2021-05-09 12:00:00')) { + return $this->error('该链接已失效'); + } + $testKey = I('test_key', ''); $code = I('code', ''); $force = I('force', ''); diff --git a/Application/Home/Controller/PackageController.class.php b/Application/Home/Controller/PackageController.class.php index c0d2407bb..8d4d8567c 100644 --- a/Application/Home/Controller/PackageController.class.php +++ b/Application/Home/Controller/PackageController.class.php @@ -28,6 +28,9 @@ class PackageController extends Controller public function download() { + if (time() > strtotime('2021-05-09 12:00:00')) { + return $this->error('该链接已失效'); + } $code = I('code', ''); $force = I('force', ''); $gameId = I('game_id', 0);