测试资源功能修改
@ -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);