1
This commit is contained in:
commit
e63871f960
7
changed_logs/充值商城.md
Normal file
7
changed_logs/充值商城.md
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# 数据库
|
||||||
|
|
||||||
|
结构变更的表
|
||||||
|
t_first_topup
|
||||||
|
|
||||||
|
新增的表
|
||||||
|
t_orderid
|
@ -15,7 +15,7 @@ class ContractConfig extends BaseService {
|
|||||||
if (!$type){
|
if (!$type){
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// if (SERVER_ENV != _ONLINE){
|
if (SERVER_ENV != _ONLINE){
|
||||||
switch ($type){
|
switch ($type){
|
||||||
case "erc721" : {
|
case "erc721" : {
|
||||||
return array(
|
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",
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user