diff --git a/application/models/Squirrel.php b/application/models/Squirrel.php index 72b5c39..bdcf350 100644 --- a/application/models/Squirrel.php +++ b/application/models/Squirrel.php @@ -42,6 +42,7 @@ class SquirrelModel extends Orm_Base{ $val['sex'] = $val['sex']==1?'公':'母'; //获取笼位号 $val['cage'] =$cageModel->getOneInfo($val['cage'])['number']; + $val['icon'] = $this->getIcon($val['id'])['icon']; } //获取繁殖笼幼崽信息 $data['youzailishi'] = $params['type']==2?$NewSquirrel->getModelList($params):[];