| #797 | $table = &$cate_arr['table']; |
| #798 | $mid = $cate_arr['mid']; |
| #799 | |
| #800 | if(!empty($cate_arr['son_cids']) && is_array($cate_arr['son_cids'])) { |
| #801 | $where = array('cid' => array("IN" => $cate_arr['son_cids'])); // 影响数据库性能 |
| #802 | }else{ |
| #803 | $where = array('cid' => $cid); |
| #804 | } |
| #805 | } |
| #806 | } |