From 52a92d56318332a8d68dca564b0b88c9e97f0f1e Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Fri, 30 Jul 2021 17:30:09 +0800 Subject: [PATCH] [BuyHero] --- webapp/controller/NHeroController.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/controller/NHeroController.class.php b/webapp/controller/NHeroController.class.php index dba5b27..152c24e 100644 --- a/webapp/controller/NHeroController.class.php +++ b/webapp/controller/NHeroController.class.php @@ -224,7 +224,7 @@ class NHeroController extends BaseAuthedController { if($playerCfg[$heroID]) { $heroCfg = $playerCfg[$heroID]; - $goodsID = $heroCfg["hero_item"]; + $goodsID = $heroCfg["itemid"]; $goodsItem = mt\NewShop::getShopItemByID($goodsID); $priceNum = $goodsItem["priceNum"];//商品价格 $priceID = $goodsItem["priceID"];//商品价格货币ID