diff --git a/webapp/controller/OutAppMintController.class.php b/webapp/controller/OutAppMintController.class.php index 5c76ebb8..e021ab52 100644 --- a/webapp/controller/OutAppMintController.class.php +++ b/webapp/controller/OutAppMintController.class.php @@ -34,6 +34,10 @@ class OutAppMintController extends BaseController { myself()->_rspErr(1, 'hero not found'); return; } + if ($heroDb['quality'] <= 1) { + myself()->_rspErr(1, 'hero is N quality'); + return; + } /* if (!$heroDb['seal_type']) { myself()->_rspErr(1, 'hero no seal'); diff --git a/webapp/controller/OutAppNftController.class.php b/webapp/controller/OutAppNftController.class.php index a3a4d730..0b1783e2 100644 --- a/webapp/controller/OutAppNftController.class.php +++ b/webapp/controller/OutAppNftController.class.php @@ -467,6 +467,9 @@ class OutAppNftController extends BaseController { 'rows' => array() ); foreach ($rows as $row) { + if ($row['quality'] <= 1) { + continue; + } $info = array( 'uniid' => '', 'net_id' => 0,