This commit is contained in:
aozhiwei 2022-04-02 20:37:14 +08:00
parent 5531198944
commit 0b2b0950a9
2 changed files with 2 additions and 2 deletions

View File

@ -99,7 +99,7 @@ class BaseController {
'port' => $mysql_conf['port'], 'port' => $mysql_conf['port'],
'user' => $mysql_conf['user'], 'user' => $mysql_conf['user'],
'passwd' => $mysql_conf['passwd'], 'passwd' => $mysql_conf['passwd'],
'dbname' => 'marketdb2006' 'dbname' => getXVal($mysql_conf, 'marketdb2006')
)); ));
return $this->marketDbConn; return $this->marketDbConn;
} }

View File

@ -85,7 +85,7 @@ class MarketController extends BaseController {
'item_id' => $meta['item_id'], 'item_id' => $meta['item_id'],
'name' => emptyReplace($heroMeta['name'], 'Hill'), 'name' => emptyReplace($heroMeta['name'], 'Hill'),
'job' => emptyReplace($heroMeta['herotype'], '1'), 'job' => emptyReplace($heroMeta['herotype'], '1'),
'avatar_url' => 'https://www.cebg.games/res/avatars/' . $itemMeta['nft_image_id'] . '.png', //'avatar_url' => 'https://www.cebg.games/res/avatars/' . $itemMeta['nft_image_id'] . '.png',
'currency_list' => array( 'currency_list' => array(
array( array(
'name' => $currencyMeta['name'], 'name' => $currencyMeta['name'],