From 797463a8323aa7e5881368f2f467eb9b9a0b3b14 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Wed, 1 Dec 2021 14:01:57 +0800 Subject: [PATCH] 1 --- webapp/mt/Item.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webapp/mt/Item.php b/webapp/mt/Item.php index 4d8e8424..3e7e3306 100644 --- a/webapp/mt/Item.php +++ b/webapp/mt/Item.php @@ -118,12 +118,12 @@ class Item { 'discount' => count($discount) > 0 ? (int)$discount[0] : 0 ))); } - if ($meta['diamond_price'] > 0) { + if ($meta['diamond'] > 0) { array_push($info['price_info']['cost_list'], array( array( 'item_id' => V_ITEM_DIAMOND, - 'item_num' => $meta['diamond_price'], + 'item_num' => $meta['diamond'], 'discount' => count($discount) > 1 ? (int)$discount[1] : 0 ) ));