...
This commit is contained in:
parent
5a3d929faf
commit
c15861ba6a
@ -679,7 +679,7 @@ class ShopController extends BaseAuthedController
|
|||||||
if ($chk) {
|
if ($chk) {
|
||||||
$this->_decItems($costItems);
|
$this->_decItems($costItems);
|
||||||
|
|
||||||
error_log("refreshDailySelection-------" . $address . "---" . $cost);
|
// error_log("refreshDailySelection-------" . $address . "---" . $cost);
|
||||||
$this->_rspData(
|
$this->_rspData(
|
||||||
array(
|
array(
|
||||||
'cost' => $cost,
|
'cost' => $cost,
|
||||||
@ -1327,13 +1327,13 @@ class ShopController extends BaseAuthedController
|
|||||||
$this->_rspErr(2, 'goods_id is invalid');
|
$this->_rspErr(2, 'goods_id is invalid');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
error_log("getChestItems start1 " . json_encode(
|
// error_log("getChestItems start1 " . json_encode(
|
||||||
array(
|
// array(
|
||||||
'goods_id' => $goods_id,
|
// 'goods_id' => $goods_id,
|
||||||
'chestType' => $chestType,
|
// 'chestType' => $chestType,
|
||||||
'items' => $itemStore,
|
// 'items' => $itemStore,
|
||||||
)
|
// )
|
||||||
));
|
// ));
|
||||||
$record = array();
|
$record = array();
|
||||||
foreach ($itemStore as $key => $value) {
|
foreach ($itemStore as $key => $value) {
|
||||||
foreach ($value as $k => $v) {
|
foreach ($value as $k => $v) {
|
||||||
@ -1353,14 +1353,14 @@ class ShopController extends BaseAuthedController
|
|||||||
|
|
||||||
$free_num = $goods['free_num'];
|
$free_num = $goods['free_num'];
|
||||||
// $pending = $this->checkPendingBuyGoodsNormal($address, $goods_id, $shop_id, $id);
|
// $pending = $this->checkPendingBuyGoodsNormal($address, $goods_id, $shop_id, $id);
|
||||||
error_log("getChestItems start " . json_encode(
|
// error_log("getChestItems start " . json_encode(
|
||||||
array(
|
// array(
|
||||||
'goods_id' => $goods_id,
|
// 'goods_id' => $goods_id,
|
||||||
'items' => array_keys($record),
|
// 'items' => array_keys($record),
|
||||||
'free_num' => $free_num,
|
// 'free_num' => $free_num,
|
||||||
'pending' => 0,
|
// 'pending' => 0,
|
||||||
)
|
// )
|
||||||
));
|
// ));
|
||||||
|
|
||||||
$this->_rspData(
|
$this->_rspData(
|
||||||
array(
|
array(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user