From 580a2d35d1e72a602ada16070c990f186a829bf8 Mon Sep 17 00:00:00 2001 From: azw Date: Sun, 30 Jul 2023 09:23:33 +0800 Subject: [PATCH] 1 --- webapp/controller/ShopController.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/controller/ShopController.class.php b/webapp/controller/ShopController.class.php index a5f63723..7da0ee8e 100644 --- a/webapp/controller/ShopController.class.php +++ b/webapp/controller/ShopController.class.php @@ -129,7 +129,7 @@ class ShopController extends BaseAuthedController { } $costItemId = $this->getCostItemIdByTokenType($tokenType); - $costItems = $this->makeCostItems($costItemId, $goodsNum * $need_price); + $costItems = $this->makeCostItems($costItemId, $goodsNum * $needPrice); if (!in_array( $tokenType, array(