From 1f3eaa06dabd9b3836f04b61d2d56d69e8f00bd5 Mon Sep 17 00:00:00 2001 From: ELF <360197197@qq.com> Date: Thu, 12 Nov 2020 10:55:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Base/Service/TestingResourceService.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Application/Base/Service/TestingResourceService.class.php b/Application/Base/Service/TestingResourceService.class.php index 2cde8bc1a..9194c3500 100644 --- a/Application/Base/Service/TestingResourceService.class.php +++ b/Application/Base/Service/TestingResourceService.class.php @@ -517,7 +517,7 @@ class TestingResourceService return $gameResource->getResourceTypes(); } - public function getResources($game, $typeId) + public function getResources($game, $typeId = null) { $gameResource = new GameResource($game); return $gameResource->getResources($typeId);