laravel model
$query = DB::table(self::$_table) ->when(!empty($params), function($query) use ($params){ foreach ($params as $column=>$val){ $query->where($column, $
posted on 2024-02-29 14:44 andydaopeng 阅读(3) 评论(0) 编辑 收藏 举报
posted on 2024-02-29 14:44 andydaopeng 阅读(3) 评论(0) 编辑 收藏 举报