时间:2021-07-01 10:21:17 帮助过:26人阅读
$live = D('live');$live->table('br_live')->where(array('newsId'=>$data['newsId']))->save($liveInfo);
$live->table('br_news')->alias('n')->field('n.*,l.*')->join('left join br_live l ON n.newsId = l.newsId')->where(array('n.newsId'=>$data['newsId']))->find();
自己结贴了。。。。