一、简单的二维数组去重
<?php
$tmp = array();$result = array();foreach($aData as $key => $val){ $tmp[$key] = json_encode($val);}unset($val);$final = array_unique($tmp);foreach($final as $key => $val){ $result[$key] = json_decode($val, true);}