1
This commit is contained in:
parent
5531198944
commit
0b2b0950a9
@ -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;
|
||||||
}
|
}
|
||||||
|
@ -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'],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user