This commit is contained in:
aozhiwei 2023-08-15 09:53:41 +08:00
commit e63871f960
2 changed files with 25 additions and 3 deletions

View File

@ -0,0 +1,7 @@
# 数据库
结构变更的表
t_first_topup
新增的表
t_orderid

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",
);
}
}
}
}
}