1
This commit is contained in:
parent
64e190056b
commit
8ec2131b82
@ -166,8 +166,8 @@ class ShopController extends BaseAuthedController {
|
|||||||
$this->internalAddItem($awardService,
|
$this->internalAddItem($awardService,
|
||||||
$propertyChgService,
|
$propertyChgService,
|
||||||
$itemMeta,
|
$itemMeta,
|
||||||
$goodsMeta['goods_num'],
|
$goodsMeta['goods_num']
|
||||||
0);
|
);
|
||||||
}
|
}
|
||||||
$propertyChgService->addUserChg();
|
$propertyChgService->addUserChg();
|
||||||
$this->_rspData(
|
$this->_rspData(
|
||||||
@ -365,7 +365,6 @@ class ShopController extends BaseAuthedController {
|
|||||||
array(
|
array(
|
||||||
'items' => array_keys($record),
|
'items' => array_keys($record),
|
||||||
'free_num' => $free_num,
|
'free_num' => $free_num,
|
||||||
'pending' => 0,
|
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@ -396,8 +395,8 @@ class ShopController extends BaseAuthedController {
|
|||||||
private function internalAddItem($awardService,
|
private function internalAddItem($awardService,
|
||||||
$propertyChgService,
|
$propertyChgService,
|
||||||
$itemMeta,
|
$itemMeta,
|
||||||
$count,
|
$count
|
||||||
$grade = null)
|
)
|
||||||
{
|
{
|
||||||
switch ($itemMeta['type']) {
|
switch ($itemMeta['type']) {
|
||||||
case mt\Item::HERO_TYPE:
|
case mt\Item::HERO_TYPE:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user