$id])->order('sort ASC,id ASC')->select(); return count($list) > 0 ? $list->toArray() : []; } /** * 获取单个最低价格 */ public static function getminEventPrice($id = 0) { return self::where(['event_id' => $id])->order('event_number ASC')->find(); } }