This commit is contained in:
aozhiwei 2023-08-14 19:42:27 +08:00
parent 565a7374d1
commit bc118f0e79

View File

@ -15,7 +15,7 @@ class ContractConfig extends BaseService {
if (!$type){
return;
}
// if (SERVER_ENV != _ONLINE){
if (SERVER_ENV != _ONLINE){
switch ($type){
case "erc721" : {
return array(
@ -31,7 +31,22 @@ class ContractConfig extends BaseService {
);
}
}
// }
} else {
switch ($type){
case "erc721" : {
return array(
"hero" => "0x79fc2a4216A1e595DBD09D13c4B4bD3B095d5bb2",
"gun" => "",
"chip" => "0x551838d7754157D13e7D945b8a37bBD6Ad50dDC7",
);
}
case "erc20" : {
return array(
"CEC" => "",
"CEG" => "0x741482aE1480E552735E44Ff3A733448AcBbeD8d",
);
}
}
}
}
}