update
This commit is contained in:
parent
40be537791
commit
030e1b3faa
|
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue