From 47df51a9bf8239c01e800dec3f37dcbc59915462 Mon Sep 17 00:00:00 2001 From: "yangsai@163.com" <2624183217@qq.com> Date: Mon, 20 May 2024 14:49:57 +0800 Subject: [PATCH] YS --- application/models/Squirrel.php | 1 + 1 file changed, 1 insertion(+) 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):[];