$process = (int)$_POST['process']; switch ($process) { case 0: // 全部 $where['_string'] = ' (`sale_way` = 1 AND `status` in (-2,-1,1,2,3,4)) OR ( `sale_way` = 2 AND `status` in (-2,-1,3,4)) '; break; case 1: // 交易中 $where['_string'] = ' (`sale_way` =…