diff --git a/webapp/controller/BcShopController.class.php b/webapp/controller/BcShopController.class.php index b6012399..569d1aa3 100644 --- a/webapp/controller/BcShopController.class.php +++ b/webapp/controller/BcShopController.class.php @@ -276,7 +276,7 @@ class BcShopController extends BaseController { 'item_id' => $goodsMeta['item_id'], 'name' => $name, 'job' => $job, - //'avatar_url' => 'https://www.cebg.games/res/avatars/' . $itemMeta['nft_image_id'] . '.png', + 'avatar_url' => 'https://www.cebg.games/res/avatars/' . 501 . '.png', 'currency_list' => array( array( 'name' => $currencyMeta['name'], diff --git a/webapp/controller/MarketController.class.php b/webapp/controller/MarketController.class.php index ffb2ccb3..8b71b207 100644 --- a/webapp/controller/MarketController.class.php +++ b/webapp/controller/MarketController.class.php @@ -396,7 +396,7 @@ class MarketController extends BaseController { 'item_id' => $goodsMeta['item_id'], 'name' => $name, 'job' => $job, - //'avatar_url' => 'https://www.cebg.games/res/avatars/' . $itemMeta['nft_image_id'] . '.png', + 'avatar_url' => 'https://www.cebg.games/res/avatars/' . 501 . '.png', 'currency_list' => array( array( 'name' => $currencyMeta['name'], diff --git a/webapp/services/BattleDataService.php b/webapp/services/BattleDataService.php index 6c447d1c..a3cf0d17 100644 --- a/webapp/services/BattleDataService.php +++ b/webapp/services/BattleDataService.php @@ -356,7 +356,7 @@ class BattleDataService extends BaseService { if ($attr && $attr['type'] == 1) { $goldLimit += $attr['val']; } - $newGold = min($goldLimit, $heroDb['today_get_gold']); + $newGold = min($goldLimit, $heroDb['today_get_gold'] + $addGold); Hero::update($heroDb['hero_uniid'], array( 'today_get_gold' => $newGold,