1
This commit is contained in:
parent
5df4bb339b
commit
9509fbe9eb
@ -2,8 +2,10 @@
|
||||
|
||||
require_once("mt/Stacking.php");
|
||||
|
||||
require_once("models/Nft.php");
|
||||
require_once("models/Stacking.php");
|
||||
|
||||
use models\Nft;
|
||||
use models\Statcking;
|
||||
|
||||
class StackingController extends BaseAuthedController {
|
||||
@ -110,12 +112,19 @@ class StackingController extends BaseAuthedController {
|
||||
switch ($type) {
|
||||
case self::PLANET_TYPE:
|
||||
{
|
||||
if (in_array($dbInfo['token_type'], array(
|
||||
))) {
|
||||
|
||||
}
|
||||
}
|
||||
break;
|
||||
case self::BADGE_TYPE:
|
||||
{
|
||||
|
||||
if (in_array($dbInfo['token_type'], array(
|
||||
Nft::HONOR1_TYPE
|
||||
))) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
break;
|
||||
case self::CEC_TYPE:
|
||||
|
Loading…
x
Reference in New Issue
Block a user