使用thinkphp3.2进行联合查询,join联合查询:

$list = M('document as d')
->join('tp_admin_column as c on d.cid = c.id')
// ->field('d.id,d.cid,d.title,d.url,d.state,d.addtime,d.arc_sort')
->limit()
->select();
05-16 12:19