This commit is contained in:
azw 2023-07-30 12:42:44 +08:00
parent 64e190056b
commit 8ec2131b82

View File

@ -166,8 +166,8 @@ class ShopController extends BaseAuthedController {
$this->internalAddItem($awardService,
$propertyChgService,
$itemMeta,
$goodsMeta['goods_num'],
0);
$goodsMeta['goods_num']
);
}
$propertyChgService->addUserChg();
$this->_rspData(
@ -365,7 +365,6 @@ class ShopController extends BaseAuthedController {
array(
'items' => array_keys($record),
'free_num' => $free_num,
'pending' => 0,
)
);
}
@ -396,8 +395,8 @@ class ShopController extends BaseAuthedController {
private function internalAddItem($awardService,
$propertyChgService,
$itemMeta,
$count,
$grade = null)
$count
)
{
switch ($itemMeta['type']) {
case mt\Item::HERO_TYPE: