...
This commit is contained in:
parent
ffd8dbccda
commit
67152a0ec2
@ -940,6 +940,10 @@ class MarketController extends BaseController {
|
|||||||
public function getSupportedCurrencyTypes() {
|
public function getSupportedCurrencyTypes() {
|
||||||
$types = array();
|
$types = array();
|
||||||
if (SERVER_ENV == _ONLINE) {
|
if (SERVER_ENV == _ONLINE) {
|
||||||
|
array_push($types, array(
|
||||||
|
'name' => 'USDT',
|
||||||
|
'address' => '0x514609B71340E149Cb81A80A953D07A7Fe41bd4F',
|
||||||
|
));
|
||||||
array_push($types, array(
|
array_push($types, array(
|
||||||
'name' => 'CEC',
|
'name' => 'CEC',
|
||||||
'address' => '0x9561C133DD8580860B6b7E504bC5Aa500f0f06a7',
|
'address' => '0x9561C133DD8580860B6b7E504bC5Aa500f0f06a7',
|
||||||
@ -949,6 +953,10 @@ class MarketController extends BaseController {
|
|||||||
'address' => '0x59d3631c86BbE35EF041872d502F218A39FBa150',
|
'address' => '0x59d3631c86BbE35EF041872d502F218A39FBa150',
|
||||||
));
|
));
|
||||||
} else {
|
} else {
|
||||||
|
array_push($types, array(
|
||||||
|
'name' => 'USDT',
|
||||||
|
'address' => '0x514609B71340E149Cb81A80A953D07A7Fe41bd4F',
|
||||||
|
));
|
||||||
array_push($types, array(
|
array_push($types, array(
|
||||||
'name' => 'D CEC',
|
'name' => 'D CEC',
|
||||||
'address' => '0x9561C133DD8580860B6b7E504bC5Aa500f0f06a7',
|
'address' => '0x9561C133DD8580860B6b7E504bC5Aa500f0f06a7',
|
||||||
@ -985,7 +993,6 @@ class MarketController extends BaseController {
|
|||||||
return array('unknown' => 'unknown game data type, cannot find data');
|
return array('unknown' => 'unknown game data type, cannot find data');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
private function appendChipsInfo($detail) {
|
private function appendChipsInfo($detail) {
|
||||||
$detail['chips_info'] = array();
|
$detail['chips_info'] = array();
|
||||||
if (!empty($detail['chip_ids'])) {
|
if (!empty($detail['chip_ids'])) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user