This commit is contained in:
songliang 2023-06-30 17:49:50 +08:00
parent 27fc5bf0e4
commit 89f1d8dfd9

View File

@ -1350,6 +1350,13 @@ class ShopController extends BaseAuthedController
}
$chestType = $meta['sub_type'];
$itemStore = mt\ShopChest::getRandomItemListByChestType($chestType);
error_log("getChestItems start1 " . json_encode(
array(
'goods_id' => $goods_id,
'chestType' => $chestType,
'items' => $itemStore,
)
));
$record = array();
foreach ($itemStore as $key => $value) {
foreach ($value as $k => $v) {