php按址传递bug
foreach ($product_info as $key=>&$value){
$value['bookCity'][]=array(
'bookCityCode'=>$book_city_info[$key]['bookCityCode'],
'bookCityName'=>$book_city_info[$key]['bookCityName']
);
$value['productCatType'] = $product_cat_type[$key]['productCatType'];
}
foreach ($product_info as $product_id=>$product){
unset($product_info[$product_id]['product_cat_id']);
foreach ($product as $key=>$value){
if (is_numeric($key)) {
unset($product_info[$product_id][$key]);
}
}
}