where("status",1)->where("from",$type)->order("sort","asc")->select(); } catch (\Throwable $throwable) { return []; } return $data->isEmpty()?[]:$data->toArray(); } }