diff --git a/webapp/controller/MarketController.class.php b/webapp/controller/MarketController.class.php index 271f5393..30022331 100644 --- a/webapp/controller/MarketController.class.php +++ b/webapp/controller/MarketController.class.php @@ -936,6 +936,23 @@ class MarketController extends BaseController { $this->_rspOk(); } + public function getSupportedCurrencyTypes() { + $types = array(); + if (SERVER_ENV == _ONLINE) { + array_push($types, array( + 'name' => 'online', + 'address' => 'online', + )); + } else { + array_push($types, array( + 'name' => 'test', + 'address' => 'test', + )); + } + $this->_rspData(array( + 'list' => $types, + )); + } private function getNftGameData($nftRowInfo) { $t = $nftRowInfo['token_type'];