方法一:
usort($authDetailArray, function($a, $b) { $al = $a['order']; $bl = $b['order']; if ($al == $bl) return 0; return ($al > $bl) ? -1 : 1; });
方法一:
usort($authDetailArray, function($a, $b) { $al = $a['order']; $bl = $b['order']; if ($al == $bl) return 0; return ($al > $bl) ? -1 : 1; });
claves
知之为不知