Db类nameOn this pagenameinfo指定数据表的表名源数据:一、控制器中使用示例public function demo(){ $info = Db::name('school') ->find(); pd($info);}二、地址栏访问地址栏访问,输出: