From 40e545f030e57fafee620820e605b84faf074126 Mon Sep 17 00:00:00 2001 From: songliang Date: Thu, 22 Dec 2022 16:59:33 +0800 Subject: [PATCH] ... --- webapp/controller/MarketController.class.php | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) 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'];