From 0b2b0950a94a79a9e49558ba41a9caf1a6a8c86b Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Sat, 2 Apr 2022 20:37:14 +0800 Subject: [PATCH] 1 --- webapp/controller/BaseController.class.php | 2 +- webapp/controller/MarketController.class.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/webapp/controller/BaseController.class.php b/webapp/controller/BaseController.class.php index 7ccfd0d3..aac1bb3e 100644 --- a/webapp/controller/BaseController.class.php +++ b/webapp/controller/BaseController.class.php @@ -99,7 +99,7 @@ class BaseController { 'port' => $mysql_conf['port'], 'user' => $mysql_conf['user'], 'passwd' => $mysql_conf['passwd'], - 'dbname' => 'marketdb2006' + 'dbname' => getXVal($mysql_conf, 'marketdb2006') )); return $this->marketDbConn; } diff --git a/webapp/controller/MarketController.class.php b/webapp/controller/MarketController.class.php index 41da125f..0c3e95e6 100644 --- a/webapp/controller/MarketController.class.php +++ b/webapp/controller/MarketController.class.php @@ -85,7 +85,7 @@ class MarketController extends BaseController { 'item_id' => $meta['item_id'], 'name' => emptyReplace($heroMeta['name'], 'Hill'), '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( array( 'name' => $currencyMeta['name'],