diff --git a/Application/Base/Service/TestingResourceService.class.php b/Application/Base/Service/TestingResourceService.class.php index c26ac2a3e..b9a76df31 100644 --- a/Application/Base/Service/TestingResourceService.class.php +++ b/Application/Base/Service/TestingResourceService.class.php @@ -488,7 +488,7 @@ class TestingResourceService /** * @todo 游戏猫只能每个资源数量只能为1 */ - if ($record['num'] != 1) { + if ($gameSetting['is_enable_num'] == 0 && $record['num'] != 1) { throw new \Exception('该游戏每次申请单项资源数量只能为1'); } }