$arr = $ids['ids'];
$where['id'] = array('in',$arr);
print_r($where);//Array ( [id] => Array ( [0] => in [1] => 5,6,7,8 ) )
$res = $this->venue_subject_model->where($where)->select();
echo $this->venue_subject_model->getLastSql().'<br/>';//SELECT * FROM `lw_venue_subject`
大神帮忙看看我这个in怎么就没起作用呢