Laravel 超级好理解的 多条件查询方法
$mark = DB::table('mark'); $mark = $mark->where('fid',$id); $mark = $mark->where('status',1); $mark = $mark->orderby('updated_at','desc'); $mark = $mark->get();
$mark = DB::table('mark'); $mark = $mark->where('fid',$id); $mark = $mark->where('status',1); $mark = $mark->orderby('updated_at','desc'); $mark = $mark->get();