This commit is contained in:
chenbo 2024-01-30 16:14:55 +08:00
parent 40be537791
commit 030e1b3faa
1 changed files with 1 additions and 1 deletions

View File

@ -129,6 +129,6 @@ class AnimalInfoLogic extends BaseLogic
*/ */
public static function detail($params): array public static function detail($params): array
{ {
return AnimalInfo::findOrEmpty($params['id'])->toArray(); return AnimalInfo::with(['fenceHouseAttr'])->findOrEmpty($params['id'])->toArray();
} }
} }