tp3中子查询 逻辑条件是or
直接用写sql最快
$map['_string'] = 'status=1 AND score>10';
//子查询条件字段不同 $condition['platform'] = 'swap'; $sub['nickname'] = array('like', '%' . $name . '%'); $sub['phone'] = array('like', '%' . $name . '%'); $sub['_logic'] = 'or'; $condition['_complex'] = $sub;