From 4ac40ba53ccb63bf89b32dbc1dfc78a3249d0900 Mon Sep 17 00:00:00 2001 From: songliang Date: Sun, 16 Jul 2023 11:13:28 +0800 Subject: [PATCH] ... --- webapp/controller/ShopController.class.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/webapp/controller/ShopController.class.php b/webapp/controller/ShopController.class.php index 111c8b83..980d484d 100644 --- a/webapp/controller/ShopController.class.php +++ b/webapp/controller/ShopController.class.php @@ -187,7 +187,8 @@ class ShopController extends BaseAuthedController $address = $this->_getAddress(); 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]); if ($goodsList[$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; } } @@ -948,7 +950,7 @@ class ShopController extends BaseAuthedController break; } } - + $price_array = splitStr1($row['price']); $discount_array = splitStr1($row['discount']);