用join的时候如果有where,需要把where的判断字段加上表名的,是带前缀的表名!$data['tp_one.dell'] = "0";$array['newslist'] = $News->where($data)->join('tp_two ON tp_one.catid = tp_two.id')->select();