$field = "o.id,o.uid,o.order_id,o.combination_id,o.seckill_id,o.bargain_id,FROM_UNIXTIME(b.add_time, '%Y-%m-%d %H:%i') as time,b.number,b.type,FROM_UNIXTIME(b.add_time, '%Y-%m') as time_key";
foreach ($infos as $key => $item) { if ($item['combination_id'] || $item['combination_id'] || $item['combination_id']) { unset($infos[$key]); $result['count']--; } }