$category = empty($category) ? [] : collection($category)->toArray();
thinkphp5 对象转数组
最新推荐文章于 2023-10-20 09:15:37 发布
$category = empty($category) ? [] : collection($category)->toArray();