This commit is contained in:
songliang 2023-07-13 11:00:31 +08:00
parent ce7e060eb3
commit ff2f04c8c4

View File

@ -1794,7 +1794,7 @@ class ShopController extends BaseAuthedController
return $costItems; return $costItems;
} }
private function internalAddItem($propertyChgService, $itemMeta, $count, $sysAdd, $grade) private function internalAddItem($propertyChgService, $itemMeta, $count, $sysAdd, $grade = null)
{ {
switch ($itemMeta['type']) { switch ($itemMeta['type']) {
case mt\Item::HERO_TYPE: { case mt\Item::HERO_TYPE: {