This commit is contained in:
aozhiwei 2022-04-07 13:39:48 +08:00
parent 5b4659db65
commit d032340c85
3 changed files with 3 additions and 3 deletions

View File

@ -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'],

View File

@ -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'],

View File

@ -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,