From 68ef2d2840fa8f3b0f0e86d879147f29e691d557 Mon Sep 17 00:00:00 2001 From: hujiabin <519660157@qq.com> Date: Wed, 5 Jul 2023 14:55:27 +0800 Subject: [PATCH] 1 --- webapp/controller/HeroController.class.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/webapp/controller/HeroController.class.php b/webapp/controller/HeroController.class.php index 6fa6b1b9..6e0d16af 100644 --- a/webapp/controller/HeroController.class.php +++ b/webapp/controller/HeroController.class.php @@ -40,7 +40,9 @@ class HeroController extends BaseAuthedController { { $heroList = array(); Hero::getHeroList(function ($row) use(&$heroList) { - array_push($heroList, Hero::toDto($row)); + if(!in_array($row['hero_id'],array(30200,30700,31000))){ + array_push($heroList, Hero::toDto($row)); + } }); $this->_rspData(array( 'hero_list' => $heroList