From 18d75d5dabb3ae3dc227a75e1853141ff4b23f77 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Fri, 19 Jul 2024 14:26:47 +0800 Subject: [PATCH] 1 --- webapp/controller/OutAppMintController.class.php | 4 ++++ webapp/controller/OutAppNftController.class.php | 3 +++ 2 files changed, 7 insertions(+) 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,