@ -45,7 +45,7 @@ class SquirrelModel extends Orm_Base{
$val['icon'] = $this->getIcon($val['id'])['icon'];
}
//获取繁殖笼幼崽信息
$data['youzailishi'] = empty($NewSquirrel->getModelList($params))?$NewSquirrel->getModelList($params):[];
$data['youzailishi'] = !empty($NewSquirrel->getModelList($params))?$NewSquirrel->getModelList($params):[];
return $data;