1
This commit is contained in:
parent
b90b48d489
commit
610d1f368f
@ -599,6 +599,19 @@ class InGameMallController extends BaseAuthedController {
|
||||
foreach ($orderIdArr as $orderId){
|
||||
$orderDb = InGameMall::findByOrderId($orderId);
|
||||
if ($orderDb){
|
||||
switch ($orderDb['order_type']){
|
||||
case InGameMall::HERO_TYPE :{
|
||||
$orderDb['item_info'] = Hero::mallInfo(Hero::findEx($orderDb['goods_uniid']));
|
||||
}
|
||||
break;
|
||||
case InGameMall::CHIP_TYPE :{
|
||||
$orderDb['item_info'] = Chip::toDto(Chip::findEx($orderDb['goods_uniid']));
|
||||
}
|
||||
break;
|
||||
default:{
|
||||
$orderDb['item_info'] = array();
|
||||
}
|
||||
}
|
||||
array_push($list,$orderDb);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user