yangsai@163.com 6 months ago
parent 3d7311cf44
commit 980e2fc580
  1. 2
      application/models/Squirrel.php

@ -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;

Loading…
Cancel
Save