修改bug

master
elf 2 years ago
parent 8c1cc90185
commit 4dc81e3a8d

@ -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');
}
}

Loading…
Cancel
Save