This commit is contained in:
hujiabin 2023-07-05 14:55:27 +08:00
parent 82cfc37706
commit 68ef2d2840

View File

@ -40,7 +40,9 @@ class HeroController extends BaseAuthedController {
{ {
$heroList = array(); $heroList = array();
Hero::getHeroList(function ($row) use(&$heroList) { Hero::getHeroList(function ($row) use(&$heroList) {
if(!in_array($row['hero_id'],array(30200,30700,31000))){
array_push($heroList, Hero::toDto($row)); array_push($heroList, Hero::toDto($row));
}
}); });
$this->_rspData(array( $this->_rspData(array(
'hero_list' => $heroList 'hero_list' => $heroList