This commit is contained in:
songliang 2023-07-16 11:13:28 +08:00
parent 0cb63de9f7
commit 4ac40ba53c

View File

@ -187,7 +187,8 @@ class ShopController extends BaseAuthedController
$address = $this->_getAddress(); $address = $this->_getAddress();
if ($address) { if ($address) {
$goods['pending'] = $this->checkPendingBuyGoodsNormal($address, $goods['goods_id'], $goods['shop_id'], $goods['id']); // $goods['pending'] = $this->checkPendingBuyGoodsNormal($address, $goods['goods_id'], $goods['shop_id'], $goods['id']);
$goods['pending'] = 0;
} }
} }
@ -816,7 +817,8 @@ class ShopController extends BaseAuthedController
$goodsList[$i] = mt\Dailyselection::get($selection['grid_' . $i]); $goodsList[$i] = mt\Dailyselection::get($selection['grid_' . $i]);
if ($goodsList[$i]) { if ($goodsList[$i]) {
$goodsList[$i]['count'] = $selection['count_' . $i]; $goodsList[$i]['count'] = $selection['count_' . $i];
$goodsList[$i]['pending'] = $this->checkPendingBuyGoodsDS($address, $goodsList[$i]['goods_id'], $selection['idx'], $i); // $goodsList[$i]['pending'] = $this->checkPendingBuyGoodsDS($address, $goodsList[$i]['goods_id'], $selection['idx'], $i);
$goodsList[$i]['pending'] = 0;
} }
} }