From a1a0ac9653b119907344ab08593e965043b5af55 Mon Sep 17 00:00:00 2001 From: songliang Date: Fri, 30 Jun 2023 10:09:31 +0800 Subject: [PATCH] ... --- webapp/controller/ShopController.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webapp/controller/ShopController.class.php b/webapp/controller/ShopController.class.php index ed26699f..9e91ad32 100644 --- a/webapp/controller/ShopController.class.php +++ b/webapp/controller/ShopController.class.php @@ -413,7 +413,8 @@ class ShopController extends BaseAuthedController $itemMeta = mt\Item::get($row['goods_id']); $propertyChgService = new services\PropertyChgService(); for ($i = 0; $i < $goods_num; $i++) { - $this->internalAddItem($propertyChgService, $itemMeta, $goods_count, 0); + // 既然这种货币是在链上的,那么这里不应该增加任何物品, + // $this->internalAddItem($propertyChgService, $itemMeta, $goods_count, 0); } $awardService = new services\AwardService(); // $awardService->addItem($row['goods_id'], $goods_num);