1
This commit is contained in:
parent
978ddb6502
commit
798f78c82f
@ -282,17 +282,26 @@ class StakingController extends BaseAuthedController {
|
||||
case self::PLANET_TYPE:
|
||||
{
|
||||
if (in_array($dbInfo['token_type'], array(
|
||||
Nft::PLANET_TYPE
|
||||
))) {
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
break;
|
||||
case self::BADGE_TYPE:
|
||||
{
|
||||
if (in_array($dbInfo['token_type'], array(
|
||||
Nft::HONOR1_TYPE
|
||||
))) {
|
||||
return true;
|
||||
if (SERVER_ENV != _ONLINE) {
|
||||
if (in_array($dbInfo['token_type'], array(
|
||||
Nft::HONOR1_TYPE
|
||||
))) {
|
||||
return true;
|
||||
}
|
||||
} else {
|
||||
if (in_array($dbInfo['token_type'], array(
|
||||
Nft::GENESIS_TYPE
|
||||
))) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user