...
This commit is contained in:
parent
2e94814b36
commit
40e545f030
@ -936,6 +936,23 @@ class MarketController extends BaseController {
|
|||||||
$this->_rspOk();
|
$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) {
|
private function getNftGameData($nftRowInfo) {
|
||||||
$t = $nftRowInfo['token_type'];
|
$t = $nftRowInfo['token_type'];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user