thinkPHP同时使用or跟and的where数据库查询
例:
$where['uid'] = array('eq',$uid);
$where['rid'] = array('eq',$rid);
$where['_logic'] = 'or';
$map['_complex'] = $where;
$map['Type'] = $type;
例:
$where['uid'] = array('eq',$uid);
$where['rid'] = array('eq',$rid);
$where['_logic'] = 'or';
$map['_complex'] = $where;
$map['Type'] = $type;