This commit is contained in:
songliang 2023-07-13 13:34:31 +08:00
parent 5a3d929faf
commit c15861ba6a

View File

@ -679,7 +679,7 @@ class ShopController extends BaseAuthedController
if ($chk) {
$this->_decItems($costItems);
error_log("refreshDailySelection-------" . $address . "---" . $cost);
// error_log("refreshDailySelection-------" . $address . "---" . $cost);
$this->_rspData(
array(
'cost' => $cost,
@ -1327,13 +1327,13 @@ class ShopController extends BaseAuthedController
$this->_rspErr(2, 'goods_id is invalid');
return;
}
error_log("getChestItems start1 " . json_encode(
array(
'goods_id' => $goods_id,
'chestType' => $chestType,
'items' => $itemStore,
)
));
// 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) {
@ -1353,14 +1353,14 @@ class ShopController extends BaseAuthedController
$free_num = $goods['free_num'];
// $pending = $this->checkPendingBuyGoodsNormal($address, $goods_id, $shop_id, $id);
error_log("getChestItems start " . json_encode(
array(
'goods_id' => $goods_id,
'items' => array_keys($record),
'free_num' => $free_num,
'pending' => 0,
)
));
// error_log("getChestItems start " . json_encode(
// array(
// 'goods_id' => $goods_id,
// 'items' => array_keys($record),
// 'free_num' => $free_num,
// 'pending' => 0,
// )
// ));
$this->_rspData(
array(